Skip to content

A basic Python wrapper for GoHighLevel, currently Appointments+Calendar+Contacts

License

Notifications You must be signed in to change notification settings

Quanta-of-solitude/GHLPy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GHL v1 Python Wrapper

A GHL Python wrapper for personal use, doesn't contain all the methods as of now. May not be stable xd


Table of Content


Installation


Available at PyPI

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!