Releases: TransposeData/transpose-python-sdk
v2.0.2
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_nftsparameter fromnft.nfts_by_name,nft.nfts_by_token_id,nft.nfts_by_contract_addressandnft.nfts_by_date_minted - Fix broken example link
v2.0.1
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_tokentotoken.swaps_by_contract_addressfor consistency.
v2.0.0
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 doapi.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, andcreator. Theeth_balancefield can still be access in the Token API with the Native Token endpoints. - Removing the
category,method_id, andmethod_argsfields in the Transaction data model. - Removing the
raw_block_data_urlfield in the Block data model. - Removing the
blocks-by-hashendpoint in the Block endpoints. - Removing the
contract-executions-by-account,contract-executions-by-contract, andcontract-executions-by-contract-methodendpoints in the Transaction endpoints. - Adding the
transactions-by-accountendpoint in the Transaction endpoints. - Removing all Internal Transaction endpoints, including
internal-transactions-by-transaction,internal-transactions-by-block, andinternal-transactions-by-date. - Adding the
contracts-by-creatorendpoint to the Accounts endpoints to allow users to retrieve all contracts deployed by a certain account.
ENS API
- The
primary-ens-records-by-accounthas been renamed toens-records-by-account. - Removing the
ens-records-by-node,ens-records-by-resolver, andens-transfers-by-nodeendpoints.
NFT API
- Removing the
approved_addressfield in the NFT Info data model. - Removing the
nfts-by-approved-accountendpoint in the NFT Info endpoints. - Removing all Operator endpoints, including
operators-by-contract-addressandoperators-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, andoperator-approvals-by-account. - Removing
confirmedparameter 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-addressandoperators-by-account. - Removing all Approval Activity endpoints, including
operator-approvals,operator-approvals-by-contract-address, andoperator-approvals-by-account. - Removing
confirmedparameter from all Swap Activity endpoints — data will be live with full handling of block reorganization.
v1.3.2
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
fuzzyparameter on [token.tokens_by_name,token.tokens_by_symbol,nft.collections_by_name,nft.collections_by_symbol, andnft.nfts_by_name].- This parameter allows you to toggle between an exact string search or fuzzy search. (default:
false)
- This parameter allows you to toggle between an exact string search or fuzzy search. (default:
- Update
seq_idon ENS endpoints tometa_block_number
v1.3.1
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
confirmedfield to DEX swap endpoints. - rename
amount_inandamount_outtoquantity_inandquantity_outfor DEX swap models.
v1.3.0
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.swapstoken.swaps_by_accounttoken.swaps_by_tokentoken.swaps_by_pair
- Ability to convert list of API resposes to dicts
- Example:
api.swaps().to_dict()
- Example:
v1.2.1
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 ofNFTSalesobjects.
1.2.0
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
nftclass, 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()
