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.2.tar.gz (9.0 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: oy-client-0.1.2.tar.gz
  • Upload date:
  • Size: 9.0 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.2.tar.gz
Algorithm Hash digest
SHA256 838ce4625765505a4ad06a4ee37c06f12468ef93b9cf790cfe596e2c7e7317ee
MD5 4f6a34f4247970963829cc1c91f621de
BLAKE2b-256 6168d3a3505f7a289881a1cdabd557070a41d7e08daba6a1f4836a23ef1a5e6a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: oy_client-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1ce45e57d79ebe8c6199f4bf76518dd3f93bfbbdbb9707a1fd57b26ea9117749
MD5 0c0466b281d213a73ccdf347eb8d1934
BLAKE2b-256 43fa8d1cfc08f464d51456d10deb03aeb7473e36727655b3adca207212b508ed

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