Skip to main content

Poloniex API client for humans

Project description

Description
-----------

Alpha version of a `Poloniex API`_ client for humans

Installation
------------

The package has been uploaded to `PyPI`_, so you can install it with pip::

$ pip install poloniex


Usage Examples
-----

Documentation can be inspected by calling the python's ``help`` function with a ``Poloniex`` object as parameter::

>>> from poloniex import Poloniex
>>> polo = Poloniex()
>>> help(polo)



**Public APIs:** ::

from poloniex import Poloniex

polo = Poloniex()

ticker = polo.returnTicker()['BTC_ETH']
print(ticker)


**Private APIs:** ::

import os
from poloniex import Poloniex

api_key = os.environ.get('POLONIEX_API_KEY')
api_secret = os.environ.get('POLONIEX_SECRET')

polo = Poloniex(api_key, api_secret)

ticker = polo.returnTicker()['BTC_ETH']
print(ticker)

balances = polo.returnBalances()
print(balances)



Donations
---------

================= ====== ======
Name Symbol Address
================= ====== ======
Bitcoin BTC 13NpLwXgEP8d9NpDUHptY6BypFRNXHL3tr
Ethereum ETH 0x8f61777b0f951ed5df684da495d82171aa3645ea
Litecoin LTC LKM1eTU8BmvCECJr54Tz1pHDr4e2AS41Ai
Ethereum Classic ETC 0xb564911a90b6f37ce9bd756f44e91cdf8475b402
================= ====== ======


.. _PyPI: https://pypi.python.org/pypi/poloniex
.. _Poloniex API: https://poloniex.com/support/api/

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

poloniex-0.0.9.tar.gz (8.5 kB view hashes)

Uploaded Source

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