wrapper library for opensea api
Project description
Opensea API
An API wrapper library for opensea api.
Installation
pip3 install opensea
Usage
form opensea import Assets
assets = Assets()
# This will return a list of assets which you can iterate and get the needed data
asset_list = assets.get_assets(limit=10,verified_only=False)
asset = asset_list[0] # Get the first asset obejct from the list
print(asset.name)
print(asset.description)
print(asset.asset_url)
print(asset.get_floor_price()) # Floor price of the collection
Example
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
opensea-0.1.4.tar.gz
(3.1 kB
view details)
Built Distribution
File details
Details for the file opensea-0.1.4.tar.gz
.
File metadata
- Download URL: opensea-0.1.4.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d53735a8fd89e203f1eec8242c97c2b05945e65035dbfccfcd2a5cd3ad8563b0 |
|
MD5 | b548178f5b367a8edc8086c6123cca8d |
|
BLAKE2b-256 | 2b6a84d3a868345525b15a9f5460a61f1c5e2c9fbf2026def3472076e449754a |
File details
Details for the file opensea-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: opensea-0.1.4-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a488851c5d12efb2dbccd2acee38ba1fc6fb884040d0f14602832fa790d0b82 |
|
MD5 | 4f182db52facec306e1fef0882bcf23b |
|
BLAKE2b-256 | 3455601b860bdca075048e94a14c42318e51ae165ea9ef6e966e4416e2cd7786 |