Skip to content

Releases: TransposeData/transpose-python-sdk

v2.0.2

02 Aug 20:22
3eab317

Choose a tag to compare

Transpose Banner

Transpose Python SDK v2.0.2

A modern python wrapper for the Transpose API Suite.

Installation

To install the python SDK from PyPi, you can run the following command:

pip install transpose-data==2.0.2

Full Changelog

  • Remove include_burned_nfts parameter from nft.nfts_by_name, nft.nfts_by_token_id, nft.nfts_by_contract_address and nft.nfts_by_date_minted
  • Fix broken example link

v2.0.1

01 Aug 21:59
2dddcbb

Choose a tag to compare

Transpose Banner

Transpose Python SDK v2.0.1

A modern python wrapper for the Transpose API Suite.

Installation

To install the python SDK from PyPi, you can run the following command:

pip install transpose-data==2.0.1

Full Changelog

  • Rename token.swaps_by_token to token.swaps_by_contract_address for consistency.

v2.0.0

01 Aug 19:08
d6274e7

Choose a tag to compare

Transpose Banner

Transpose Python SDK v2.0.0

A modern python wrapper for the Transpose API Suite.

Installation

To install the python SDK from PyPi, you can run the following command:

pip install transpose-data==2.0.0

Full Changelog

High-Level

  • Live Data: Data across the entire API suite is now fully live. In alpha, all data was delayed by 10 blocks (around ~3 minutes). In beta, we’re now handling block reorganization and can provide accurate historical and live data within seconds of new blocks being added to the network.
  • Paths: Instead of specifying api.transpose.io/v0/nft/nfts-by-date-minted, you will only need to do api.transpose.io/nft/nfts-by-date-minted. That said, this change will be backwards compatible so your old code will still work.

CDN

  • Removing the Transpose CDN (Content Delivery Network) in its entirety. This includes NFT images and media, collection icons, and token icons. Our CDN saw little use in comparison to the rest of the API suite. As such, in the short term, we will stop maintaining the CDN. In the long term, if there is demand for such data, we will revisit this effort with a dedicated team.

Block API

  • Overhauling the Account data model to include the following fields: address, type, last_active_timestamp, created_timestamp, and creator. The eth_balance field can still be access in the Token API with the Native Token endpoints.
  • Removing the category, method_id, and method_args fields in the Transaction data model.
  • Removing the raw_block_data_url field in the Block data model.
  • Removing the blocks-by-hash endpoint in the Block endpoints.
  • Removing the contract-executions-by-account, contract-executions-by-contract, and contract-executions-by-contract-method endpoints in the Transaction endpoints.
  • Adding the transactions-by-account endpoint in the Transaction endpoints.
  • Removing all Internal Transaction endpoints, including internal-transactions-by-transaction, internal-transactions-by-block, and internal-transactions-by-date.
  • Adding the contracts-by-creator endpoint to the Accounts endpoints to allow users to retrieve all contracts deployed by a certain account.

ENS API

  • The primary-ens-records-by-account has been renamed to ens-records-by-account.
  • Removing the ens-records-by-node, ens-records-by-resolver, and ens-transfers-by-node endpoints.

NFT API

  • Removing the approved_address field in the NFT Info data model.
  • Removing the nfts-by-approved-account endpoint in the NFT Info endpoints.
  • Removing all Operator endpoints, including operators-by-contract-address and operators-by-account.
  • Removing all Approval Activity endpoints, including nft-approvals, nft-approvals-by-contract-address, nft-approvals-by-token-id, nft-approvals-by-account, operator-approvals, operator-approvals-by-contract-address, and operator-approvals-by-account.
  • Removing confirmed parameter from all Sale Activity endpoints — data will be live with full handling of block reorganization.

Token API

  • Removing all Operator endpoints, including operators-by-contract-address and operators-by-account.
  • Removing all Approval Activity endpoints, including operator-approvals, operator-approvals-by-contract-address, and operator-approvals-by-account.
  • Removing confirmed parameter from all Swap Activity endpoints — data will be live with full handling of block reorganization.

v1.3.2

26 Jul 21:31
4bf3929

Choose a tag to compare

Transpose Banner

Transpose Python SDK v1.3.2

A modern python wrapper for the Transpose API Suite.

Installation

To install the python SDK from PyPi, you can run the following command:

pip install transpose-data==1.3.2

Full Changelog

  • Add fuzzy parameter on [token.tokens_by_name, token.tokens_by_symbol, nft.collections_by_name, nft.collections_by_symbol, and nft.nfts_by_name].
    • This parameter allows you to toggle between an exact string search or fuzzy search. (default: false)
  • Update seq_id on ENS endpoints to meta_block_number

v1.3.1

13 Jul 16:27
0316e36

Choose a tag to compare

Transpose Banner

Transpose Python SDK v1.3.1

A modern python wrapper for the Transpose API Suite.

Installation

To install the python SDK from PyPi, you can run the following command:

pip install transpose-data==1.3.1

Full Changelog

  • add confirmed field to DEX swap endpoints.
  • rename amount_in and amount_out to quantity_in and quantity_out for DEX swap models.

v1.3.0

11 Jul 17:45
34126d9

Choose a tag to compare

Transpose Banner

Transpose Python SDK v1.3.0

A modern python wrapper for the Transpose API Suite.

Installation

To install the python SDK from PyPi, you can run the following command:

pip install transpose-data==1.3.0

Full Changelog

  • Addition of DEX token swap endpoints
    • token.swaps
    • token.swaps_by_account
    • token.swaps_by_token
    • token.swaps_by_pair
  • Ability to convert list of API resposes to dicts
    • Example: api.swaps().to_dict()

v1.2.1

28 Jun 17:33
4a74800

Choose a tag to compare

Transpose Banner

Transpose Python SDK v1.2.1

A modern python wrapper for the Transpose API Suite.

Installation

To install the python SDK from PyPi, you can run the following command:

pip install transpose-data==1.2.1

Full Changelog

  • Remove heavy dependencies from default installation
    • Dependencies only required when importing transpose.extras.
    • Added a dependency error assists in installing needed packages.
    • The new package is ~500Mb lighter than v1.2.0
  • Static typing fixes
  • Conversion of API responses to dicts can now be done by calling to_dict() or __dict__ on the response.
  • For example, api.nft.sales().to_dict() will return a list of dicts, rather than a list of NFTSales objects.

1.2.0

26 Jun 18:38
5ad0472

Choose a tag to compare

Transpose Banner

Transpose Python SDK v1.2.0

A modern python wrapper for the Transpose API Suite.

Installation

To install the python SDK from PyPi, you can run the following command:

pip install transpose-data==1.2.0

Full Changelog

  • Add pricing endpoints to the nft class, which offer pricing data for NFT sales across the most popular exchanges.
    • nft.sales()
    • nft.sales_by_contract_address()
    • nft.sales_by_token_id()
    • nft.sales_by_account()

v1.1.3

20 Jun 01:00
305a1ac

Choose a tag to compare

Transpose Banner

Transpose Python SDK v1.1.3

A modern python wrapper for the Transpose API Suite.

Installation

To install the python SDK from PyPi, you can run the following command:

pip install transpose-data==1.1.3

Full Changelog

  • Fix pagination demo
  • Remove depreciated .previous() pagination endpoints.

v1.1.2

16 Jun 15:03
a342fc8

Choose a tag to compare

Transpose Banner

Transpose Python SDK v1.1.2

A modern python wrapper for the Transpose API Suite.

Installation

To install the python SDK from PyPi, you can run the following command:

pip install transpose-data==1.1.2

Full Changelog

  • Ability to cast CDNResponses to Pillow images.
  • Minor bug fixes