A basic python wrapper for gohighlevel
Project description
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!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
GHLPy-0.0.3.tar.gz
(4.0 kB
view hashes)
Built Distribution
GHLPy-0.0.3-py3-none-any.whl
(4.1 kB
view hashes)