A GHL Python wrapper for personal use, doesn't contain all the methods as of now. May not be stable xd
Available at PyPI
pip install GHLpy
Used runtime: Python 3.8
requests
json
'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
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)
Well, this was just for personal use, but if you wish to contribute, you are welcome to make PRs
To be updated
Have Fun!