Skip to content

Latest commit

 

History

History
46 lines (32 loc) · 2.03 KB

File metadata and controls

46 lines (32 loc) · 2.03 KB

Luno Python SDK

Run Tests PyPI version Python Versions License: MIT

Quality Gate Status Bugs Security Rating Vulnerabilities Duplicated Lines (%)

This Python package provides a wrapper for the Luno API.

Installation

pip install luno-python

Authentication

Please visit the Settings page to generate an API key.

Example usage

from luno_python.client import Client

c = Client(api_key_id='key_id', api_key_secret='key_secret')
try:
  res = c.get_ticker(pair='XBTZAR')
  print(res)
except Exception as e:
  print(e)

For more examples, see the examples folder.

License

MIT