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.1.tar.gz (6.0 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.1-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for hinen_open_api-1.0.1.tar.gz
Algorithm Hash digest
SHA256 491e5380abed4a152d03d4d5f6b5e8a2ec04105788702321fcfa43cf160db04f
MD5 ce6731ee899159588416f8ffc16d48d7
BLAKE2b-256 9099a02417a74c44f2ad93cbf067d7cb6d7ef7f34e25844e5201eb5bfcdd8cb9

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for hinen_open_api-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 52633fe769576e047e2e699102b2bb03ed1ba79e025a7a589a40b1a484a53475
MD5 835fbd4eb0e77fcc6e886d3711b5e5f8
BLAKE2b-256 c0a2d918adc356b85d418c9d1b4da3a023ceef59318c023747c758bca8ee6430

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