API wrapper for Highlevel written in Python
Project description
highlevel-python
highlevel-python is an API wrapper for highlevel, written in Python.
This library uses Oauth2 for authentication.
Installing
pip install highlevel-python
Usage
from highlevel.client import Client
client = Client(client_id, client_secret, redirect_uri=redirect_uri)
To obtain and set an access token, follow this instructions:
- Get authorization URL
url = client.authorization_url(state=None)
# This call generates the url necessary to display the pop-up window to perform oauth authentication
# param state(code) is required for direct request for oauth, for local test isn't necessary
- Get access token using code
token = client.get_access_token(code)
# "code" is the same response code after login with oauth with the above url.
- Refresh access token using refresh_token
token = client.refresh_access_token(refresh_token)
# "refresh_token" is the token refresh in response after login with oauth with the above url.
Postman Collection
You can find a Postman Collection with API routes and responses in:
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
Built Distribution
File details
Details for the file highlevel_python-0.1.4.tar.gz
.
File metadata
- Download URL: highlevel_python-0.1.4.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4ac601060f64179f1b913c44f6bdd8876e56d1f28f18535a82778d883bc9edb |
|
MD5 | 8799781312e7aebd2919d0fb52fbaf6c |
|
BLAKE2b-256 | 6a4fdf4f789f70815c66f7da3fb73eb7d00978bcddf629bbbe89e1ceb5664766 |
File details
Details for the file highlevel_python-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: highlevel_python-0.1.4-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 377283ab23d206dec1905d57e69ce47711f4f963a8190242d745b593cdf3a2ae |
|
MD5 | ad5f348fa0afba239e07208b2e931525 |
|
BLAKE2b-256 | 32df204004acbb1c489519773e25bd914309a753946c2947642a779b3c609074 |