Skip to main content

A basic wrapper around the Crypko platform.

Project description

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.

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

crypko.py-0.0.4.tar.gz (12.4 kB view details)

Uploaded Source

File details

Details for the file crypko.py-0.0.4.tar.gz.

File metadata

  • Download URL: crypko.py-0.0.4.tar.gz
  • Upload date:
  • Size: 12.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for crypko.py-0.0.4.tar.gz
Algorithm Hash digest
SHA256 ae6cb7955f891365bffc697e12e365b23fa4347592f5558a242508f7980b00d8
MD5 db5c8fc234e040da6578241bd347cf33
BLAKE2b-256 09c8acfdda9011d93f21ee48ce5dd92816ea73d67b4f3712786e4f9788d52a0f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page