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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: oy-client-0.1.3.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.23.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.3.tar.gz
Algorithm Hash digest
SHA256 317d2dcdb2a843751f04f940420c17299404ea2bc2e3fc30e269927c988c8792
MD5 220fda8611cc5086a5cfc6abae8dde97
BLAKE2b-256 cc5a5e9f80e36e1627747f8009ab760030ac4c24679b0afda850abe3bb0ee8d3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: oy_client-0.1.3-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.23.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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 59629d65eb682a2f14cbb96797408473b677f139351a730b4a2e6db772ea7560
MD5 42da3be38e7405d1abfa1d217b2e3a6d
BLAKE2b-256 46ae44d4bca76921b1b7ea31221b875687031c68c0bab29ed2d5646c903c01b6

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