{"id":19640160,"url":"https://github.com/gearplug/highlevel-python","last_synced_at":"2025-02-26T22:44:26.570Z","repository":{"id":214494697,"uuid":"736398449","full_name":"GearPlug/highlevel-python","owner":"GearPlug","description":null,"archived":false,"fork":false,"pushed_at":"2024-04-30T19:37:47.000Z","size":10,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-01-09T18:55:54.628Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GearPlug.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-27T19:47:26.000Z","updated_at":"2024-11-09T04:53:49.000Z","dependencies_parsed_at":"2024-04-30T20:46:07.045Z","dependency_job_id":"b24a644c-36fd-4b50-bead-e6ec444a4fb5","html_url":"https://github.com/GearPlug/highlevel-python","commit_stats":null,"previous_names":["gearplug/highlevel-python"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GearPlug%2Fhighlevel-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GearPlug%2Fhighlevel-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GearPlug%2Fhighlevel-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GearPlug%2Fhighlevel-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GearPlug","download_url":"https://codeload.github.com/GearPlug/highlevel-python/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240947651,"owners_count":19883030,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-11T14:04:50.944Z","updated_at":"2025-02-26T22:44:26.544Z","avatar_url":"https://github.com/GearPlug.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# highlevel-python\n![](https://img.shields.io/badge/version-0.1.3-success) ![](https://img.shields.io/badge/Python-3.8%20|%203.9%20|%203.10%20|%203.11-4B8BBE?logo=python\u0026logoColor=white)  \n\n*highlevel-python* is an API wrapper for highlevel, written in Python.  \nThis library uses Oauth2 for authentication.\n## Installing\n```\npip install highlevel-python\n```\n### Usage\n```python\nfrom highlevel.client import Client\nclient = Client(client_id, client_secret, redirect_uri=redirect_uri)\n```\nTo obtain and set an access token, follow this instructions:\n\n1. **Get authorization URL**\n```python\nurl = client.authorization_url(state=None)\n# This call generates the url necessary to display the pop-up window to perform oauth authentication\n# param state(code) is required for direct request for oauth, for local test isn't necessary\n```\n2. **Get access token using code**\n```python\ntoken = client.get_access_token(code)\n# \"code\" is the same response code after login with oauth with the above url.\n```\n\n3. **Refresh access token using refresh_token**\n```python\ntoken = client.refresh_access_token(refresh_token)\n# \"refresh_token\" is the token refresh in response after login with oauth with the above url.\n```\n\n### Postman Collection\n\nYou can find a Postman Collection with API routes and responses in:\n\nhttps://interstellar-desert-735390.postman.co/workspace/My-Workspace~0f763140-1ebb-48f5-8410-120620bf6c0c/collection/30746140-04303b39-b1da-42de-aee2-5ac4ffbda658?action=share\u0026creator=30746140\u0026active-environment=30746140-00ac4392-b9f1-4d92-86d7-710ce7a58ca6\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgearplug%2Fhighlevel-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgearplug%2Fhighlevel-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgearplug%2Fhighlevel-python/lists"}