{"id":18633263,"url":"https://github.com/sstallion/sensorpush-api","last_synced_at":"2025-08-26T01:18:12.911Z","repository":{"id":254209174,"uuid":"822908521","full_name":"sstallion/sensorpush-api","owner":"sstallion","description":"SensorPush Public API for Python","archived":false,"fork":false,"pushed_at":"2025-06-10T20:06:22.000Z","size":114,"stargazers_count":1,"open_issues_count":1,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-24T19:43:29.256Z","etag":null,"topics":["openapi","python","python-api","sensorpush"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sstallion.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2024-07-02T04:27:13.000Z","updated_at":"2025-07-17T03:29:57.000Z","dependencies_parsed_at":"2024-08-22T03:25:46.263Z","dependency_job_id":"e684c61e-2520-4b41-821d-8de6db373c0d","html_url":"https://github.com/sstallion/sensorpush-api","commit_stats":null,"previous_names":["sstallion/sensorpush-api"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/sstallion/sensorpush-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sstallion%2Fsensorpush-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sstallion%2Fsensorpush-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sstallion%2Fsensorpush-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sstallion%2Fsensorpush-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sstallion","download_url":"https://codeload.github.com/sstallion/sensorpush-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sstallion%2Fsensorpush-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272156112,"owners_count":24883173,"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","status":"online","status_checked_at":"2025-08-25T02:00:12.092Z","response_time":1107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["openapi","python","python-api","sensorpush"],"created_at":"2024-11-07T05:14:43.221Z","updated_at":"2025-08-26T01:18:12.903Z","avatar_url":"https://github.com/sstallion.png","language":"Python","readme":"# sensorpush-api\nThis is a swagger definition for the SensorPush public REST API. Download the definition file [here](https://api.sensorpush.com/api/v1/support/swagger/swagger-v1.json).\n\nThis Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:\n\n- API version: v1.0.20240803\n- Package version: 2.1.3\n- Generator version: 7.8.0\n- Build package: org.openapitools.codegen.languages.PythonPydanticV1ClientCodegen\n\n## Requirements.\n\nPython 3.7+\n\n## Installation \u0026 Usage\n### pip install\n\nIf the python package is hosted on a repository, you can install directly using:\n\n```sh\npip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git\n```\n(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git`)\n\nThen import the package:\n```python\nimport sensorpush_api\n```\n\n### Setuptools\n\nInstall via [Setuptools](http://pypi.python.org/pypi/setuptools).\n\n```sh\npython setup.py install --user\n```\n(or `sudo python setup.py install` to install the package for all users)\n\nThen import the package:\n```python\nimport sensorpush_api\n```\n\n### Tests\n\nExecute `pytest` to run the tests.\n\n## Getting Started\n\nPlease follow the [installation procedure](#installation--usage) and then run the following:\n\n```python\n\nimport time\nimport sensorpush_api\nfrom sensorpush_api.rest import ApiException\nfrom pprint import pprint\n\n# Defining the host is optional and defaults to https://api.sensorpush.com/api/v1\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = sensorpush_api.Configuration(\n    host = \"https://api.sensorpush.com/api/v1\"\n)\n\n\n\n# Enter a context with an instance of the API client\nasync with sensorpush_api.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = sensorpush_api.ApiApi(api_client)\n    access_token_request = sensorpush_api.AccessTokenRequest() # AccessTokenRequest | \n\n    try:\n        # Request a temporary oAuth access code.\n        api_response = await api_instance.access_token(access_token_request)\n        print(\"The response of ApiApi-\u003eaccess_token:\\n\")\n        pprint(api_response)\n    except ApiException as e:\n        print(\"Exception when calling ApiApi-\u003eaccess_token: %s\\n\" % e)\n\n```\n\n## Documentation for API Endpoints\n\nAll URIs are relative to *https://api.sensorpush.com/api/v1*\n\nClass | Method | HTTP request | Description\n------------ | ------------- | ------------- | -------------\n*ApiApi* | [**access_token**](docs/ApiApi.md#access_token) | **POST** /oauth/accesstoken | Request a temporary oAuth access code.\n*ApiApi* | [**download**](docs/ApiApi.md#download) | **POST** /reports/download | Download bulk reports.\n*ApiApi* | [**gateways**](docs/ApiApi.md#gateways) | **POST** /devices/gateways | Lists all gateways.\n*ApiApi* | [**list**](docs/ApiApi.md#list) | **POST** /reports/list | Lists reports available for download.\n*ApiApi* | [**oauth_authorize_post**](docs/ApiApi.md#oauth_authorize_post) | **POST** /oauth/authorize | Sign in and request an authorization code\n*ApiApi* | [**root_post**](docs/ApiApi.md#root_post) | **POST** / | SensorPush API status\n*ApiApi* | [**samples**](docs/ApiApi.md#samples) | **POST** /samples | Queries for sensor samples.\n*ApiApi* | [**sensors**](docs/ApiApi.md#sensors) | **POST** /devices/sensors | Lists all sensors.\n*ApiApi* | [**tags_response**](docs/ApiApi.md#tags_response) | **POST** /tags | Updates tags on devices.\n*ApiApi* | [**token**](docs/ApiApi.md#token) | **POST** /oauth/token | oAuth 2.0 for authorization, access, and refresh tokens\n\n\n## Documentation For Models\n\n - [AccessTokenRequest](docs/AccessTokenRequest.md)\n - [AccessTokenResponse](docs/AccessTokenResponse.md)\n - [AuthorizeRequest](docs/AuthorizeRequest.md)\n - [AuthorizeResponse](docs/AuthorizeResponse.md)\n - [Error](docs/Error.md)\n - [Gateway](docs/Gateway.md)\n - [GatewaysRequest](docs/GatewaysRequest.md)\n - [ListResponse](docs/ListResponse.md)\n - [ReportListing](docs/ReportListing.md)\n - [ReportsRequest](docs/ReportsRequest.md)\n - [Sample](docs/Sample.md)\n - [Samples](docs/Samples.md)\n - [SamplesRequest](docs/SamplesRequest.md)\n - [Sensor](docs/Sensor.md)\n - [SensorAlerts](docs/SensorAlerts.md)\n - [SensorAlertsHumidity](docs/SensorAlertsHumidity.md)\n - [SensorAlertsTemperature](docs/SensorAlertsTemperature.md)\n - [SensorCalibration](docs/SensorCalibration.md)\n - [SensorsRequest](docs/SensorsRequest.md)\n - [Status](docs/Status.md)\n - [Tags](docs/Tags.md)\n - [TagsRequest](docs/TagsRequest.md)\n - [TagsResponse](docs/TagsResponse.md)\n - [TokenRequest](docs/TokenRequest.md)\n - [TokenResponse](docs/TokenResponse.md)\n\n\n\u003ca id=\"documentation-for-authorization\"\u003e\u003c/a\u003e\n## Documentation For Authorization\n\n\nAuthentication schemes defined for the API:\n\u003ca id=\"oauth\"\u003e\u003c/a\u003e\n### oauth\n\n- **Type**: API key\n- **API key parameter name**: Authorization\n- **Location**: HTTP header\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsstallion%2Fsensorpush-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsstallion%2Fsensorpush-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsstallion%2Fsensorpush-api/lists"}