{"id":17919228,"url":"https://github.com/fastestmolasses/pyopensea","last_synced_at":"2025-03-24T00:31:27.668Z","repository":{"id":48066082,"uuid":"516472113","full_name":"FastestMolasses/PyOpenSea","owner":"FastestMolasses","description":"Python SDK for the Opensea API","archived":false,"fork":false,"pushed_at":"2023-02-05T14:04:18.000Z","size":38,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-10-13T12:42:59.532Z","etag":null,"topics":["api","blockchain","crypto","nft","opensea","python","sdk","stream"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FastestMolasses.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-07-21T17:57:51.000Z","updated_at":"2024-01-09T11:12:33.000Z","dependencies_parsed_at":"2023-01-31T23:46:32.365Z","dependency_job_id":null,"html_url":"https://github.com/FastestMolasses/PyOpenSea","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FastestMolasses%2FPyOpenSea","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FastestMolasses%2FPyOpenSea/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FastestMolasses%2FPyOpenSea/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FastestMolasses%2FPyOpenSea/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FastestMolasses","download_url":"https://codeload.github.com/FastestMolasses/PyOpenSea/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221925390,"owners_count":16902687,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","blockchain","crypto","nft","opensea","python","sdk","stream"],"created_at":"2024-10-28T20:15:34.463Z","updated_at":"2024-10-28T20:15:35.104Z","avatar_url":"https://github.com/FastestMolasses.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Python SDK for the OpenSea API\n\n[![PyPI version](https://badge.fury.io/py/py-opensea-sdk.svg)](https://badge.fury.io/py/py-opensea-sdk)\n![python](https://github.com/FastestMolasses/PyOpenSea/actions/workflows/main.yaml/badge.svg)\n\nAn unofficial Python SDK for the [OpenSea API](https://docs.opensea.io/reference/api-overview).\n\n## Features\n\n-   Typing\n-   All endpoints supported\n-   Optional API key\n-   WebSocket support\n\n## Installation\n\nRequirements: Python 3.9+\n\n```bash\npip install py-opensea-sdk\n```\n\n### Upgrade\n\n```bash\npip install py-opensea-sdk -U\n```\n\n## Usage\n\n```python\nfrom pyopensea import OpenSeaAPI\n\n# Create API instance\napi = OpenSeaAPI('OPTIONAL-API-KEY')\n\n# Examples\napi.assets(owner='0x20481b79a4F03b624D214d23aDf5bF5f33bEB4aA')\n\napi.contract('0x8a90cab2b38dba80c64b7734e58ee1db38b8992e')\n\napi.listings('0x8a90cab2b38dba80c64b7734e58ee1db38b8992e', tokenID=10)\n\napi.offers('0x8a90cab2b38dba80c64b7734e58ee1db38b8992e', tokenID=10, limit=5)\n\napi.orders()\n\nfrom datetime import datetime\n# Note: datetime objects are automatically converted to the UTC timezone\napi.orders('0x8a90cab2b38dba80c64b7734e58ee1db38b8992e',\n           listedAfter=datetime(2022, 7, 5))\n\napi.events(occurredAfter=1658423412, occurredBefore=1658425412,\n           limit=1, eventType='successful')\n# Note: datetime objects are automatically converted to the UTC timezone\napi.events(occurredAfter=datetime(2022, 7, 3), occurredBefore=datetime(2022, 7, 5),\n           limit=1, eventType='successful')\n\n# And more api endpoints supported...\n```\n\n## Contributing\n\n1. Fork it (\u003chttps://github.com/FastestMolasses/PyOpensea/fork\u003e)\n2. Create your feature branch (`git checkout -b feature/fooBar`)\n3. Commit your changes (`git commit -am 'Add some fooBar'`)\n4. Push to the branch (`git push origin feature/fooBar`)\n5. Create a new Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffastestmolasses%2Fpyopensea","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffastestmolasses%2Fpyopensea","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffastestmolasses%2Fpyopensea/lists"}