Skip to main content

A python module for bitclout

Project description

BitClout.py

A python package for bitclout.

Developed by ItsAditya

Examples of How To Use BitClout.py

Getting $CLOUT price

from bitclout import *
print(getCloutPrice())

Getting user(s) info through publicKey(s)

from bitclout import *
import json
with open("userInfo.json", "w") as file:
    listOfPublicKeys = ["BC1YLjJVhcVAi5UCYZ2aTNwRMtqvzQar4zbymr7fyinu8MsWLx2A1g1"] # you can pass multiple public key of users
    json.dump(getUserStateless(listOfPublicKeys))

Getting user info through BitClout username

from bitclout import *
import json
with open("userInfo.json", "w") as file:
    username = "ItsAditya" 
    json.dump(getSingleProfile(username))

Getting users who are blocked by a profile

from bitclout import *
import json
with open("blockedUsers.json", "w") as file:
    publicKey = "BC1YLhBLE1834FBJbQ9JU23JbPanNYMkUsdpJZrFVqNGsCe7YadYiUg" # well, that's my (@ItsAditya) public key :)
    json.dump(getUsersBlocked(publicKey))

More docs coming soon!

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

bitclout-0.0.2.tar.gz (2.0 kB view hashes)

Uploaded Source

Built Distribution

bitclout-0.0.2-py3-none-any.whl (2.5 kB view hashes)

Uploaded Python 3

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