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.2.tar.gz (6.8 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.2-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hinen_open_api-1.0.2.tar.gz
  • Upload date:
  • Size: 6.8 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.2.tar.gz
Algorithm Hash digest
SHA256 d9129f10f2e37f26f0fc94001820847678dd1a480b6249aac2908819ae5e5fba
MD5 61ca87a19abbaad340b9b45ca1774b5c
BLAKE2b-256 ea4bd7715718d2a4b6829213ecfc1da04f4c1fb67dfaa67e7abd10b8903fef5e

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for hinen_open_api-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3968c061ee78fef1198b9b9e582d082d0979fb419fcc7aee418f5c226166b139
MD5 f49868a4c00840a20b31660cc5aeb9a1
BLAKE2b-256 3316066e9cc7c8f8674822578258cd37817e87043be18e8a83ffc73e203d9695

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