Skip to main content

Juungle python package

Project description

juungle-python

Python package to access Juungle.net API

Requirements

$ python -m pip -r requirements.txt

User credentials for Juungle.net

Create a file user-config.ini:

LOGIN_USERNAME="username"
LOGIN_PASSWORD="password"

Usage

List all WAIFUs nfts that are being sale for 0.01 BCH or less

from juungle.nfts import NFTs

nfts = NFTs()

nfts.available_to_buy = True
nfts.purchased = False
nfts.token_group = 'WAIFU'

nfts.get_nfts()

for nft in nfts.list_nfts:
    if nft.price_bch <= 0.01:
        print(nft.token_name)

Tokens Group IDs

Because tokens/group name are not unique we have to use the HEX id that can be found at the simpleledger.info.

Juungle-python package provides a list of IDs just to make easier of the most common toekns:

Token Name Token ID
WAIFU a2987562a405648a6c5622ed6c205fca6169faa8afeb96a994b48010bd186a66

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

juungle-0.3.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

juungle-0.3-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file juungle-0.3.tar.gz.

File metadata

  • Download URL: juungle-0.3.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.9

File hashes

Hashes for juungle-0.3.tar.gz
Algorithm Hash digest
SHA256 4ced74624a33bc682255aded55fbc0b37fcc5fba34761c2d1b40ed1f0033e347
MD5 36b1e29dd32a783ec23a2897d1ccd616
BLAKE2b-256 5e83f9697022008355d5e670c31182a35a2e2a3eb2e66259d04212867de5d292

See more details on using hashes here.

File details

Details for the file juungle-0.3-py3-none-any.whl.

File metadata

  • Download URL: juungle-0.3-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.9

File hashes

Hashes for juungle-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 76e0970e9887c01e0deb7d5a42f996d6358fc827bf4c953e51cb8e51966e0fdb
MD5 4240e71b238863a5b0cf3b9e680b051f
BLAKE2b-256 e100bd3db1c76775a09a635f7221d4bfc1ee57739417d9532b199da335286691

See more details on using hashes here.

Supported by

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