Install using pip install crypko.py.
Provides a simple wrapper around the Crypko platform allowing users to search for crypko, purchase crypko, fuse crypko, etc.
More features are slowly being added as I work on them. If any part of this stops working because the Crypko platform has been updated, let me know and I’ll try and fix it.
Basic usage:
>>> import crypko
>>> api = crypko.API()
>>> num, results = api.search(owner_addr='0xCa39E90CeC69838e73CC4F24Ec5077daC44B47d6', attributes='glasses')
>>> num
116
>>> next(resuls)
<crypko.objects.Crypko object at 0x7f01d9ded240>
>>> print(next(results))
Crypko #168993 SALE
>>> c = next(results)
>>> c.image
'https://img.crypko.ai/daisy/9753747176b22ea4fdb120f308073c35930c38a6_lg.jpg'
>>> c.details.matron
<crypko.objects.Crypko object at 0x7f1d39348e10>
>>> c.details.owner.username
'Bottersnike'
Examples:
Examples can be found in crypko/examples.
Release files for crypko.py 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| crypko.py-0.0.4.tar.gz | 12.4 kB | Details |
Release files / crypko.py-0.0.4.tar.gz
| Download URL | crypko.py-0.0.4.tar.gz |
|---|---|
| Size | 12.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ae6cb7955f891365bffc697e12e365b23fa4347592f5558a242508f7980b00d8
|
|
BLAKE2b-256 checksum How to use checksums |
09c8acfdda9011d93f21ee48ce5dd92816ea73d67b4f3712786e4f9788d52a0f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |