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-1.1.1.tar.gz (16.5 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyholaclient-1.1.1.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-1.1.1.tar.gz
Algorithm Hash digest
SHA256 3ef5d131f5068eaf1688edeaa114f3d49ab6e006e4b1ec1ec02a3321b7700815
MD5 d3c4ec8d9f744a5f6f38e218f06d7316
BLAKE2b-256 7c2dce50446da3a08299bf37006b98027972f36ef98e010cdb3922e3f27b4fa3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyholaclient-1.1.1-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-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 877863b3cd6158c8cdb9d2806228887b7a08f67bc4c6df0953397dcb678eb452
MD5 8a8b97e12bdf9fe04db199d17eed6065
BLAKE2b-256 653ce99b71af4072987207b9ad04877ec050559ce193ed8dffbd0a20304cebec

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