GHL v1 Python Wrapper
A GHL Python wrapper for persomal use, doesn't contain all the methods as of now.
Table of Content
Installation
pip install GHLpy
### Requirements --- > Used runtime: Python 3.8
requests
json
Available methods
'add_contactTag', 'bookAppointment', 'contact_appointments', 'create_contactByName', 'delete_appointmentById', 'endpoint', 'get_appointmentById', 'get_calendarBookedSlots', 'get_calendarFreeSlots', 'get_calendars', 'headers', 'lookup_contactByEmail', 'lookup_contactById', 'remove_contactTag', 'token', 'update_appointmentById', 'update_appointmentStatusById'
There is no documentation as of now for this package, you can use help() to get information
from GHL import GHLPy
print(help(GHLPy))
The official API Reference for GHL v1 Endpoint is extensive and detailed as well. It can be found here
Example
To get information on calendars associated:
from GHL import GHLPy
client = GHLPy("mytoken")
r = client.get_calendars(type="service") #type="teams" Default: services
print(r)
Contribute
Well, this was just for personal use, but if you wish to contribute, you are welcome to make PRs
To be updated
Have Fun!
Release files for GHLPy 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| GHLPy-0.0.3.tar.gz | 4.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| GHLPy-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.2 kB
Release files / GHLPy-0.0.3.tar.gz
| Download URL | GHLPy-0.0.3.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d32ca6bf3782134b292df789af33109ac491035b38af39cdd0e15440e84d7257
|
|
BLAKE2b-256 checksum How to use checksums |
c5e1b5a7706d78ddfe95656144b67264301edbafeb5d4595945c5346ca00bcc5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.10
|
Release files / GHLPy-0.0.3-py3-none-any.whl
| Download URL | GHLPy-0.0.3-py3-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3c6f5ceb112885164a9dabc8f1179fc4cf4f93f1ea4bb465fc932dbced088c5c
|
|
BLAKE2b-256 checksum How to use checksums |
26857da7039530140a994223248b891642e5bcac78b03aba6328487cd0095766
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.10
|