Skip to main content

Unofficial Oy Client library for Python

Project description

Oy Client

Unofficial Oy Client using Python https://api-docs.oyindonesia.com/

Prerequisites

These library only tested for python 3.7 but it should be compatible to other python version
please create issue or contact me if you want to test it on python2

Installing

	pip3 install oy-client

Quick Start

from oy import build_client

# get balance
oy_client = build_client("https://sandbox.oyindonesia.com/staging/partner", "username", "api-key")
oy_client.get_balance()

# inquiry account
oy_client.inquiry_account("014", "1234561234")

# disburse
disburse("014", "123456789", 100000)

Built With

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

See also the list of contributors who participated in this project.

License

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

Acknowledgments

  • Hat tip to anyone whose code was used
  • Inspiration
  • etc

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

oy-client-0.1.1.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

oy_client-0.1.1-py3-none-any.whl (13.7 kB view details)

Uploaded Python 3

File details

Details for the file oy-client-0.1.1.tar.gz.

File metadata

  • Download URL: oy-client-0.1.1.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4

File hashes

Hashes for oy-client-0.1.1.tar.gz
Algorithm Hash digest
SHA256 081da847e7407ea2ca33660219e0005f299a986c0de866e743aacffc66b88ff3
MD5 787a8016208b2015f6c8c21712b03c53
BLAKE2b-256 9a5bdfeea3bfb29ff55d45353c364dca8b22c8ae8f38822b989b53c68f75605a

See more details on using hashes here.

File details

Details for the file oy_client-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: oy_client-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 13.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4

File hashes

Hashes for oy_client-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7b2d566cf13d4fe507cd74d1e50019f61d34c874d185300ee70d7c90c6831548
MD5 abcb047f6b9f48d88f0a787497905e83
BLAKE2b-256 a174e99dd4ba0360f6dc0f3bdcac0b00ab15929f1fb2a596e9fd310e9fdd44a3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page