Skip to main content

SmartHome

Project description

smarthome-meterportal

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

This Python package is automatically generated by the OpenAPI Generator project:

  • API version: 1.0
  • Package version: 1.0.0
  • Generator version: 7.10.0
  • Build package: org.openapitools.codegen.languages.PythonClientCodegen

Requirements.

Python 3.8+

Installation & Usage

pip install

If the python package is hosted on a repository, you can install directly using:

pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git

(you may need to run pip with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)

Then import the package:

import smarthome_meterportal

Setuptools

Install via Setuptools.

python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Then import the package:

import smarthome_meterportal

Tests

Execute pytest to run the tests.

Getting Started

Please follow the installation procedure and then run the following:

import smarthome_meterportal
from smarthome_meterportal.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = smarthome_meterportal.Configuration(
    host = "http://localhost"
)



# Enter a context with an instance of the API client
with smarthome_meterportal.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = smarthome_meterportal.HomeAssistantApi(api_client)
    auth_request = smarthome_meterportal.AuthRequest() # AuthRequest |  (optional)

    try:
        api_response = api_instance.api_homeassistant_authenticate_post(auth_request=auth_request)
        print("The response of HomeAssistantApi->api_homeassistant_authenticate_post:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling HomeAssistantApi->api_homeassistant_authenticate_post: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to http://localhost

Class Method HTTP request Description
HomeAssistantApi api_homeassistant_authenticate_post POST /api/homeassistant/authenticate
HomeAssistantApi api_homeassistant_full_post POST /api/homeassistant/full
HomeAssistantApi api_homeassistant_meters_get GET /api/homeassistant/meters
HomeAssistantApi api_homeassistant_partial_post POST /api/homeassistant/partial
HomeyApi api_homey_authenticate_post POST /api/homey/authenticate
HomeyApi api_homey_full_post POST /api/homey/full
HomeyApi api_homey_meters_get GET /api/homey/meters
HomeyApi api_homey_partial_post POST /api/homey/partial

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

ApiKey

  • Type: API key
  • API key parameter name: X-API-KEY
  • Location: HTTP header

Author

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

smarthome_meterportal-1.0.1.tar.gz (23.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

smarthome_meterportal-1.0.1-py3-none-any.whl (37.0 kB view details)

Uploaded Python 3

File details

Details for the file smarthome_meterportal-1.0.1.tar.gz.

File metadata

  • Download URL: smarthome_meterportal-1.0.1.tar.gz
  • Upload date:
  • Size: 23.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for smarthome_meterportal-1.0.1.tar.gz
Algorithm Hash digest
SHA256 cf81c2b08b9cf60b12e49523f23d81b0f21f8a2e88de6818a2788ed42867f88e
MD5 640e6d143bd66ed6c981dc2fc69ed3dc
BLAKE2b-256 e5d66ce25814fc59e0260cfabf7209f4b010840242525dfdbee2664ddf3357b2

See more details on using hashes here.

File details

Details for the file smarthome_meterportal-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for smarthome_meterportal-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b0a47bdef4b0afe14dd6f946f14833852f53fa9ed02e188e5e0f2425b3ba0f86
MD5 cd2ff4969b529d8c89839cee736f5ad3
BLAKE2b-256 dd0805434a31c07ad703bf4f7935fb08ccb01809a18adc5a1ce94d0b58be376a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page