Skip to main content

An API Wrapper for HolaClient

Project description

PyHolaClient

A HolaClient API Wrapper using Python!

Upload Python Package

Special Thanks to The HolaClient Team!

Installation To install just run

pip install pyholaclient

Usage

Setting up Client

from pyholaclient import HolaClient

client = HolaClient("https://foo.bar", "foo")

Getting User's HCID

from pyholaclient import HolaClient

client = HolaClient("https://foo.bar", "foo")
hcid = client.user_hcid(1000000000000000) # <= Discord ID
print(hcid)

Getting User Info

from pyholaclient import HolaClient

client = HolaClient("https://foo.bar", "foo")
hcid = 1000
user = client.user_info(hcid)

print(user.email)
print(user.first_name)
print(user.last_name)
print(user.username)
print(user.id)
print(user.root_admin) # <== True if Admin
# And many more (Read pyholaclient/Classes/user.py)

There are many more

But for the sake of simplicity. Head to our Docs (WIP)

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

pyholaclient-0.1.7.tar.gz (16.5 kB view details)

Uploaded Source

Built Distribution

pyholaclient-0.1.7-py3-none-any.whl (15.8 kB view details)

Uploaded Python 3

File details

Details for the file pyholaclient-0.1.7.tar.gz.

File metadata

  • Download URL: pyholaclient-0.1.7.tar.gz
  • Upload date:
  • Size: 16.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for pyholaclient-0.1.7.tar.gz
Algorithm Hash digest
SHA256 48f0a7f02f3a73784fd05ba710dc3b9e371abd3e156a9de23e2a74cd54346378
MD5 f82646bb55dfba048438d062b51aae8b
BLAKE2b-256 78bdd5dc9c6ff99e1970fa48905403e73af63c6b2df6296516ba2ba7b7e5f84b

See more details on using hashes here.

File details

Details for the file pyholaclient-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: pyholaclient-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 15.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for pyholaclient-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 83ba9d90384b7367b763abc727787bdfffe29acf2db8e33672b865fae346ac45
MD5 c86d6a15ffc1a6c05fdfc9e4bbf45219
BLAKE2b-256 bef059b2b7ab14ceac45a9ec0130a0c4b6daf4900068de615cdb03009f3645b1

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