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.3.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.3-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for hinen_open_api-1.0.3.tar.gz
Algorithm Hash digest
SHA256 184c70fba8adc1c3cba1c52b5d47a33241cfc2b1001cd8cf286b1909215d63ef
MD5 8dbd6794c8da26662cc03a147499d535
BLAKE2b-256 0800c6deccd3ea010484f1b6c46ab6fd6804d5b7a7134c54b52eeb39b2931e25

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hinen_open_api-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 8.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for hinen_open_api-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c73b63f3240d9506dd8caff6496f33253c4de58264104ee6ac0bd54b8941ee82
MD5 1190261125cdf9623bb0fd361370f61d
BLAKE2b-256 fc1173bbdee5b8e876b48b2a0481fb5fe241b2bb9c49497dc1ed5c2652e8f706

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