bookio-fetchfox


Namebookio-fetchfox JSON
Version 5.1.4 PyPI version JSON
download
home_pagehttps://github.com/book-io/fetchfox
SummaryCollection of API services to fetch information from several blockchains.
upload_time2025-01-15 12:27:04
maintainerNone
docs_urlNone
authorFede
requires_python<4.0,>=3.8
licenseMIT
keywords book.io stuff.io blockchain crypto algorand cardano ethereum polygon
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # book.io / fetchfox

> Collection of API services to fetch information from several blockchains.

![](https://s2.coinmarketcap.com/static/img/coins/64x64/4030.png)
![](https://s2.coinmarketcap.com/static/img/coins/64x64/2010.png)
![](https://s2.coinmarketcap.com/static/img/coins/64x64/1027.png)
![](https://s2.coinmarketcap.com/static/img/coins/64x64/3890.png)


## Supported Blockchains

### Algorand

```python
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](https://algonode.cloud))
* get_assets ([algonode.cloud](https://algonode.cloud))
* get_holdings ([algonode.cloud](https://algonode.cloud))
* get_snapshot ([algonode.cloud](https://algonode.cloud))
* get_listings ([randgallery.com](https://randgallery.com) / [algoxnft.com](https://algoxnft.com))
* get_floor ([randgallery.com](https://randgallery.com) / [algoxnft.com](https://algoxnft.com))
* get_sales ([nftexplorer.app¹](https://nftexplorer.app))


### Cardano

```python
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

* get_asset ([gomaestro.org²](https://gomaestro.org))
* get_assets ([gomaestro.org²](https://gomaestro.org))
* get_holdings ([gomaestro.org²](https://bgomaestro.org))
* get_snapshot ([gomaestro.org²](https://gomaestro.org))
* get_listings ([jpg.store](https://jpg.store))
* get_floor ([jpg.store](https://jpg.store))
* get_sales ([jpg.store](https://jpg.store))


### EVM (Ethereum and Polygon)

```python
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

* get_asset ([moralis.io³](https://moralis.io))
* get_assets ([moralis.io³](https://moralis.io))
* get_holdings ([moralis.io³](https://moralis.io))
* get_snapshot ([moralis.io³](https://moralis.io))
* get_listings ([opensea.io⁴](https://opensea.io))
* get_floor ([opensea.io⁴](https://opensea.io))
* get_sales ([opensea.io⁴](https://opensea.io))


> ¹ **nftexplorer.app** this api has been deprecated.
> 
> ² **gomaestro.org** services require an [api key](https://www.gomaestro.org/pricing).
> 
> ³ **moralis.io** services require an [api key](https://moralis.io/pricing).
> 
> ⁴ **opensea.io** some services also require an [api key](https://docs.opensea.io/reference/api-keys). 

---

![fetch, the fox](https://i.imgur.com/fm6mqzS.png)
> fetch, the fox


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/book-io/fetchfox",
    "name": "bookio-fetchfox",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.8",
    "maintainer_email": null,
    "keywords": "book.io, stuff.io, blockchain, crypto, algorand, cardano, ethereum, polygon",
    "author": "Fede",
    "author_email": "fede@book.io",
    "download_url": "https://files.pythonhosted.org/packages/45/46/462ac3b67d6b378b9519c25d6e23fccfbb1dc4f229aa9a9f91a4e3f1b75d/bookio_fetchfox-5.1.4.tar.gz",
    "platform": null,
    "description": "# book.io / fetchfox\n\n> Collection of API services to fetch information from several blockchains.\n\n![](https://s2.coinmarketcap.com/static/img/coins/64x64/4030.png)\n![](https://s2.coinmarketcap.com/static/img/coins/64x64/2010.png)\n![](https://s2.coinmarketcap.com/static/img/coins/64x64/1027.png)\n![](https://s2.coinmarketcap.com/static/img/coins/64x64/3890.png)\n\n\n## Supported Blockchains\n\n### Algorand\n\n```python\nimport os\nfrom fetchfox.blockchains import Algorand\n\nalgorand = Algorand()\n\n# Brave New World\ncreator_address = \"6WII6ES4H6UW7G7T7RJX63CUNPKJEPEGQ3PTYVVU3JHJ652W34GCJV5OVY\"\n\nfor asset in algorand.get_assets(creator_address):\n    print(asset)\n```\n\n#### Services\n\n* get_asset ([algonode.cloud](https://algonode.cloud))\n* get_assets ([algonode.cloud](https://algonode.cloud))\n* get_holdings ([algonode.cloud](https://algonode.cloud))\n* get_snapshot ([algonode.cloud](https://algonode.cloud))\n* get_listings ([randgallery.com](https://randgallery.com) / [algoxnft.com](https://algoxnft.com))\n* get_floor ([randgallery.com](https://randgallery.com) / [algoxnft.com](https://algoxnft.com))\n* get_sales ([nftexplorer.app\u00b9](https://nftexplorer.app))\n\n\n### Cardano\n\n```python\nimport os\nfrom fetchfox.blockchains import Cardano\n\ncardano = Cardano(\n    gomaestroorg_api_key=os.getenv(\"GOMAESTROORG_API_KEY\"),\n)\n\n# Gutenberg Bible\npolicy_id = \"477cec772adb1466b301fb8161f505aa66ed1ee8d69d3e7984256a43\"\n\nfor asset in cardano.get_collection_assets(policy_id):\n    print(asset)\n```\n\n#### Services\n\n* get_asset ([gomaestro.org\u00b2](https://gomaestro.org))\n* get_assets ([gomaestro.org\u00b2](https://gomaestro.org))\n* get_holdings ([gomaestro.org\u00b2](https://bgomaestro.org))\n* get_snapshot ([gomaestro.org\u00b2](https://gomaestro.org))\n* get_listings ([jpg.store](https://jpg.store))\n* get_floor ([jpg.store](https://jpg.store))\n* get_sales ([jpg.store](https://jpg.store))\n\n\n### EVM (Ethereum and Polygon)\n\n```python\nimport os\nfrom fetchfox.blockchains import Ethereum, Polygon\n\nethereum = Ethereum(\n    geckodriver_path=os.getenv(\"GECKODRIVER_PATH\"),\n    moralisio_api_key=os.getenv(\"MORALIS_API_KEY\"),\n    openseaio_api_key=os.getenv(\"OPENSEA_API_KEY\"),\n)\n\npolygon = Polygon(\n    geckodriver_path=os.getenv(\"GECKODRIVER_PATH\"),\n    moralisio_api_key=os.getenv(\"MORALIS_API_KEY\"),\n    openseaio_api_key=os.getenv(\"OPENSEA_API_KEY\"),\n)\n\n\n# Alice in Wonderland\ncontract_address = \"0x919da7fef646226f88f70305201de392ff365059\"\n\nfor asset in ethereum.get_assets(contract_address):\n    print(asset)\n\n# Art of War\ncontract_address = \"0xb56010e0500e4f163758881603b8083996ae47ec\"\n\nfor asset in polygon.get_assets(contract_address):\n    print(asset)\n```\n\n#### Services\n\n* get_asset ([moralis.io\u00b3](https://moralis.io))\n* get_assets ([moralis.io\u00b3](https://moralis.io))\n* get_holdings ([moralis.io\u00b3](https://moralis.io))\n* get_snapshot ([moralis.io\u00b3](https://moralis.io))\n* get_listings ([opensea.io\u2074](https://opensea.io))\n* get_floor ([opensea.io\u2074](https://opensea.io))\n* get_sales ([opensea.io\u2074](https://opensea.io))\n\n\n> \u00b9 **nftexplorer.app** this api has been deprecated.\n> \n> \u00b2 **gomaestro.org** services require an [api key](https://www.gomaestro.org/pricing).\n> \n> \u00b3 **moralis.io** services require an [api key](https://moralis.io/pricing).\n> \n> \u2074 **opensea.io** some services also require an [api key](https://docs.opensea.io/reference/api-keys). \n\n---\n\n![fetch, the fox](https://i.imgur.com/fm6mqzS.png)\n> fetch, the fox\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Collection of API services to fetch information from several blockchains.",
    "version": "5.1.4",
    "project_urls": {
        "Documentation": "https://github.com/book-io/fetchfox/blob/main/README.md",
        "Homepage": "https://github.com/book-io/fetchfox"
    },
    "split_keywords": [
        "book.io",
        " stuff.io",
        " blockchain",
        " crypto",
        " algorand",
        " cardano",
        " ethereum",
        " polygon"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "464968d213f4a34d46160a8881ddfbadddf783884e1b4a41e3cc5e0a9d5020d8",
                "md5": "2bf0705b4a7cd1a5fe4617288acb9a7d",
                "sha256": "d8629e459b479469e2b848b6f30b18b1d494dd74393c000c6784f55504093238"
            },
            "downloads": -1,
            "filename": "bookio_fetchfox-5.1.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "2bf0705b4a7cd1a5fe4617288acb9a7d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.8",
            "size": 133035,
            "upload_time": "2025-01-15T12:27:03",
            "upload_time_iso_8601": "2025-01-15T12:27:03.015846Z",
            "url": "https://files.pythonhosted.org/packages/46/49/68d213f4a34d46160a8881ddfbadddf783884e1b4a41e3cc5e0a9d5020d8/bookio_fetchfox-5.1.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4546462ac3b67d6b378b9519c25d6e23fccfbb1dc4f229aa9a9f91a4e3f1b75d",
                "md5": "2562cfd2fc4ed6dcba558e3573bb5768",
                "sha256": "86503c9f65eaea39cd252f4eb1cc556e40310098a8537a037be7c590e2901551"
            },
            "downloads": -1,
            "filename": "bookio_fetchfox-5.1.4.tar.gz",
            "has_sig": false,
            "md5_digest": "2562cfd2fc4ed6dcba558e3573bb5768",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.8",
            "size": 96518,
            "upload_time": "2025-01-15T12:27:04",
            "upload_time_iso_8601": "2025-01-15T12:27:04.326862Z",
            "url": "https://files.pythonhosted.org/packages/45/46/462ac3b67d6b378b9519c25d6e23fccfbb1dc4f229aa9a9f91a4e3f1b75d/bookio_fetchfox-5.1.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-01-15 12:27:04",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "book-io",
    "github_project": "fetchfox",
    "github_not_found": true,
    "lcname": "bookio-fetchfox"
}
        
Elapsed time: 0.43075s