{"id":24452624,"url":"https://github.com/hyperonecom/h1-client-python","last_synced_at":"2026-04-28T14:33:47.203Z","repository":{"id":86313594,"uuid":"319309525","full_name":"hyperonecom/h1-client-python","owner":"hyperonecom","description":null,"archived":false,"fork":false,"pushed_at":"2021-03-29T00:05:42.000Z","size":1290,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2026-03-29T21:50:12.938Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hyperonecom.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":"docs/SupportMessage.md","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-12-07T12:14:46.000Z","updated_at":"2021-03-29T00:05:45.000Z","dependencies_parsed_at":"2023-03-13T09:47:29.524Z","dependency_job_id":null,"html_url":"https://github.com/hyperonecom/h1-client-python","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hyperonecom/h1-client-python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperonecom%2Fh1-client-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperonecom%2Fh1-client-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperonecom%2Fh1-client-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperonecom%2Fh1-client-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hyperonecom","download_url":"https://codeload.github.com/hyperonecom/h1-client-python/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperonecom%2Fh1-client-python/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32385159,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T11:25:28.583Z","status":"ssl_error","status_checked_at":"2026-04-28T11:25:05.435Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2025-01-21T01:16:12.219Z","updated_at":"2026-04-28T14:33:47.198Z","avatar_url":"https://github.com/hyperonecom.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# h1-client-python\n\nh1-client-python is an automatically generated library used to interact with\n[HyperOne API](https://www.hyperone.com/tools/api/).\n\n## Installation\n\nYou are able to get this library using [pip](https://pypi.org/project/pip/).\n\n### Installation using pip\n\n```shell\npip install \u003clibrary name\u003e\n```\n\n## Usage\n\nThe recommended way to use this package is to use it along with \u003c credentials library link \u003e library.\nTo to that install \u003c credentials library name \u003e using [pip](https://pypi.org/project/pip/):\n\n```shell\nlibrary installation description\n```\n\nThen import it and use it as a token provider in your code:\n\n```python\nfrom credentials import get_passport_credentials_helper\nfrom h1 import ApiClient, Configuration\n\nprovider = get_passport_credentials_helper() # you can optionally pass passport file location\ncfg = Configuration()\ncfg.access_token = cfg.access_token_function = lambda: provider.get_token(\n        \"https://api.hyperone.com/v2\")\napi_client = ApiClient(cfg)\n```\n\nYou can acquire more knoweledge about \u003c credentials library \u003e library on [its GitHub page](https://github.com/hyperonecom/h1-credentials-helper-python).\n\nConfiguration object allows you to use choosen API client.\n\nExample:\n\n```python\nfrom credentials import get_passport_credentials_helper\nfrom h1 import Configuration, ApiClient\nfrom h1.api.iam_project_api import IamProjectApi\n\nprovider = get_passport_credentials_helper()\ncfg = Configuration()\ncfg.access_token = provider.get_token(\"https://api.hyperone.com/v2\")\napi_client = ApiClient(cfg)\n\nproject_api = IamProjectApi(api_client)\niam_projects = project_api.iam_project_list()\nprint(iam_projects)\n```\n\n### \"Prefer\" header\n\nSome operations on API may be time-consuming. In this case server\nmay return [HTTP Status 202](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/202)\nwith `x-event-id` header containing request ID, and handle the operation asynchronously.\nIf you want to avoid this behavior, you can send `prefer` header [RFC7240](https://tools.ietf.org/html/rfc7240)\nwith your request, which will cause returning the operation result as response to this request.\n\nTo use this header from sdk simply pass `header_name` and `header_value` properties when\ncreating `ApiClient` object:\n\n```python\napi_client = ApiClient(cfg, header_name=\"prefer\", header_value=\"respond-async,wait=86400\")\n```\n\nFull example:\n\n```python\nfrom h1 import Configuration, ApiClient\nfrom h1.api.iam_project_api import IamProjectApi\n\ncfg = Configuration()\napi_client = ApiClient(cfg, header_name=\"prefer\", header_value=\"respond-async,wait=86400\")\n\nproject_api = IamProjectApi(api_client)\niam_projects = project_api.iam_project_list()\nprint(iam_projects)\n```\n\nYou can get more information about `prefer` usage in HyperOne API\n[in its documentation](https://www.hyperone.com/tools/api/concepts/headers.html#naglowek-prefer).\n\n## Documentation\n\nFor full documentation of this library check [docs directory](docs/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyperonecom%2Fh1-client-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhyperonecom%2Fh1-client-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyperonecom%2Fh1-client-python/lists"}