Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bookio-fetchfox

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bookio-fetchfox

Collection of API services to fetch information from several blockchains.

  • 4.1.5
  • PyPI
  • Socket score

Maintainers
1

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_assets(creator_address):
    print(asset)
Services
  • get_asset (algonode.cloud)
  • get_assets (algonode.cloud)
  • get_holdings (algonode.cloud)
  • get_snapshot (algonode.cloud)
  • get_campaigns (book.io)
  • get_listings (randgallery.com / algoxnft.com)
  • get_floor (randgallery.com / algoxnft.com)
  • get_sales (nftexplorer.app¹)

Cardano

import os
from fetchfox.blockchains import Cardano

cardano = Cardano(
    gomaestroorg_api_key=os.getenv("GOMAESTROORG_API_KEY"),
)

# Gutenberg Bible
policy_id = "477cec772adb1466b301fb8161f505aa66ed1ee8d69d3e7984256a43"

for asset in cardano.get_collection_assets(policy_id):
    print(asset)
Services

EVM (Ethereum and Polygon)

import os
from fetchfox.blockchains import Ethereum, Polygon

ethereum = Ethereum(
    geckodriver_path=os.getenv("GECKODRIVER_PATH"),
    moralisio_api_key=os.getenv("MORALIS_API_KEY"),
    openseaio_api_key=os.getenv("OPENSEA_API_KEY"),
)

polygon = Polygon(
    geckodriver_path=os.getenv("GECKODRIVER_PATH"),
    moralisio_api_key=os.getenv("MORALIS_API_KEY"),
    openseaio_api_key=os.getenv("OPENSEA_API_KEY"),
)


# Alice in Wonderland
contract_address = "0x919da7fef646226f88f70305201de392ff365059"

for asset in ethereum.get_assets(contract_address):
    print(asset)

# Art of War
contract_address = "0xb56010e0500e4f163758881603b8083996ae47ec"

for asset in polygon.get_assets(contract_address):
    print(asset)
Services

¹ nftexplorer.app this api has been deprecated.

² gomaestro.org services require an api key.

³ moralis.io services require an api key.

opensea.io some services also require an api key.


fetch, the fox

fetch, the fox

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc