Skip to main content

Hinen Open API Client

Project description

Hinen Open API Client

A Python client library for the Hinen Open API.

Installation

pip install hinen-open-api

Usage

import asyncio
from hinen_open_api import HinenOpen

async def main():
    async with HinenOpen(
        host="https://api.hinen.com",
        app_id="your_app_id",
        app_secret="your_app_secret"
    ) as client:
        # Set user authentication if needed
        await client.set_user_authentication(
            token="user_token",
            refresh_token="refresh_token"
        )
        
        # Use the client to make requests
        print("Hinen Open API client initialized successfully!")

if __name__ == "__main__":
    asyncio.run(main())

Development

To install the package in development mode:

pip install -e .

To run tests:

pytest tests/

This project uses pyproject.toml for packaging configuration instead of setup.py.

License

This project is licensed under the MIT License - see the LICENSE file for details.

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

hinen_open_api-1.0.3rc1.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

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

hinen_open_api-1.0.3rc1-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file hinen_open_api-1.0.3rc1.tar.gz.

File metadata

  • Download URL: hinen_open_api-1.0.3rc1.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for hinen_open_api-1.0.3rc1.tar.gz
Algorithm Hash digest
SHA256 b35b5c459e1d15d73513494cbb9756d8aea400ebc351d5dceead73fbac2955fb
MD5 def2f47f84b53f5fb7edec3bf5438b5c
BLAKE2b-256 b8fb6fbad90adb2e50d8bb4d4454ae334fbb66c53bf6cda139b16a223c60065f

See more details on using hashes here.

File details

Details for the file hinen_open_api-1.0.3rc1-py3-none-any.whl.

File metadata

File hashes

Hashes for hinen_open_api-1.0.3rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 82e19df13b653f76c9e0ea72710b00c082f4c8755cb0a10bf8b710a5a59160a8
MD5 84b0151c7de15f3a06b346a347f391e0
BLAKE2b-256 adfdc56974adbf33235a9e4a2a520ca6b311bae3793dafa5e6835de24de51ab1

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