bookio-fetchfox


Namebookio-fetchfox JSON
Version 5.0.6 PyPI version JSON
download
home_pagehttps://github.com/book-io/fetchfox
SummaryCollection of API services to fetch information from several blockchains.
upload_time2024-12-17 19:55: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/50/19/4d017ed0759ff3905c5e060c0fa54406db29c321e852de9564798f678108/bookio_fetchfox-5.0.6.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.0.6",
    "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": "798750a061b12a9141dd43096678771923aed7739a76fe5690d146485b3d7e7c",
                "md5": "22ab707255918d2724f0469c94687c7c",
                "sha256": "bfab0ba09b15ea71b61cbf1b31ccbbe7ae7516aafa208d69ad075d001b7f654e"
            },
            "downloads": -1,
            "filename": "bookio_fetchfox-5.0.6-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "22ab707255918d2724f0469c94687c7c",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.8",
            "size": 134778,
            "upload_time": "2024-12-17T19:55:02",
            "upload_time_iso_8601": "2024-12-17T19:55:02.421466Z",
            "url": "https://files.pythonhosted.org/packages/79/87/50a061b12a9141dd43096678771923aed7739a76fe5690d146485b3d7e7c/bookio_fetchfox-5.0.6-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "50194d017ed0759ff3905c5e060c0fa54406db29c321e852de9564798f678108",
                "md5": "0aa084450888f141cb29e7b479e7eef5",
                "sha256": "43f3a678632e6cb1eb5b0da6fb86f9cb4efc3404abb4e5dcf32be942de42f0d8"
            },
            "downloads": -1,
            "filename": "bookio_fetchfox-5.0.6.tar.gz",
            "has_sig": false,
            "md5_digest": "0aa084450888f141cb29e7b479e7eef5",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.8",
            "size": 97714,
            "upload_time": "2024-12-17T19:55:04",
            "upload_time_iso_8601": "2024-12-17T19:55:04.906100Z",
            "url": "https://files.pythonhosted.org/packages/50/19/4d017ed0759ff3905c5e060c0fa54406db29c321e852de9564798f678108/bookio_fetchfox-5.0.6.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-17 19:55: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.41267s