book.io / fetchfox
Collection of API services to fetch information from several blockchains.
Supported Blockchains
Algorand
import os
from fetchfox.blockchains import Algorand
algorand = Algorand()
# Brave New World
creator_address = "6WII6ES4H6UW7G7T7RJX63CUNPKJEPEGQ3PTYVVU3JHJ652W34GCJV5OVY"
for asset in algorand.get_collection_assets(collection_id=creator_address):
print(asset)
Cardano
import os
from fetchfox.blockchains import Cardano
gomaestroorg_api_key = os.getenv("GOMAESTROORG_API_KEY")
cardano = Cardano(
gomaestroorg_api_key=gomaestroorg_api_key,
)
# Gutenberg Bible
policy_id = "477cec772adb1466b301fb8161f505aa66ed1ee8d69d3e7984256a43"
for asset in cardano.get_collection_assets(collection_id=policy_id):
print(asset)
API Keys
EVM (Coinbase, Ethereum and Polygon)
import os
from fetchfox.blockchains import Coinbase, Ethereum, Polygon
moralisio_api_key = os.getenv("MORALIS_API_KEY")
openseaio_api_key = os.getenv("OPENSEA_API_KEY")
# Coinbase
coinbase = Coinbase(
moralisio_api_key=moralisio_api_key,
openseaio_api_key=openseaio_api_key,
)
# Artificial Intelligence for Dummies
contract_address = "0x8c1f34bcb76449cebf042cfe8293cd8265ae6802"
for asset in coinbase.get_collection_assets(collection_id=contract_address):
print(asset)
# Ethereum
ethereum = Ethereum(
moralisio_api_key=moralisio_api_key,
openseaio_api_key=openseaio_api_key,
)
# Alice in Wonderland
contract_address = "0x919da7fef646226f88f70305201de392ff365059"
for asset in ethereum.get_collection_assets(collection_id=contract_address):
print(asset)
# Polygon
polygon = Polygon(
moralisio_api_key=moralisio_api_key,
openseaio_api_key=openseaio_api_key,
)
# Art of War
contract_address = "0xb56010e0500e4f163758881603b8083996ae47ec"
for asset in polygon.get_collection_assets(collection_id=contract_address):
print(asset)
API Keys
Release files for bookio-fetchfox 6.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| bookio_fetchfox-6.0.2.tar.gz | 97.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bookio_fetchfox-6.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 231.6 kB
Release files / bookio_fetchfox-6.0.2.tar.gz
| Download URL | bookio_fetchfox-6.0.2.tar.gz |
|---|---|
| Size | 97.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6c0289e26af26c17a61c27322712370966f41662e8475b8b267b3cc4fdb35bd7
|
|
BLAKE2b-256 checksum How to use checksums |
da056c030413dc8e9d3b4967d2af48b739741f0f84c8a1cebb6f10b461928833
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.2 CPython/3.9.23 Linux/6.11.0-1018-azure
|
Release files / bookio_fetchfox-6.0.2-py3-none-any.whl
| Download URL | bookio_fetchfox-6.0.2-py3-none-any.whl |
|---|---|
| Size | 134.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f997ecd2fcd0855576652abf27f4688a43571e069d47e18fe237eb61d15d50fa
|
|
BLAKE2b-256 checksum How to use checksums |
eeb30d5e4088d234c4143baf62778e1ad82c8de13ce6e5dc53a5eaf6c7e78a7d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.2 CPython/3.9.23 Linux/6.11.0-1018-azure
|