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.0.tar.gz (4.2 MB 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.0-py3-none-any.whl (4.9 MB view details)

Uploaded Python 3

File details

Details for the file hinen_open_api-1.0.0.tar.gz.

File metadata

  • Download URL: hinen_open_api-1.0.0.tar.gz
  • Upload date:
  • Size: 4.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for hinen_open_api-1.0.0.tar.gz
Algorithm Hash digest
SHA256 0dcf72789e1aad947fe25676768739796fdbf3760fdab629fbc870b658975d77
MD5 24db8d96b4eabc7380fbded64952017f
BLAKE2b-256 f73babc0d1c421194c84e970616a9cc7727c95bd15c47335f2c481eba1954107

See more details on using hashes here.

File details

Details for the file hinen_open_api-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: hinen_open_api-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 4.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for hinen_open_api-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f17a621dfc025458523514c53450da15ceedd328dca313bb74cf41baabb372cf
MD5 ce4caf1d1e5e9882ee877bf22b45b9c5
BLAKE2b-256 2ff260fa2d449f8f20c8e6f85e3e9802aba7a78b70f7dbb2b01343bb4639bcba

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