Description
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
from poloniex import Poloniex
import os
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)
Used in
crypto_trader: Trading automation on poloniex cyriptocoin exchange
Donations
Name |
Symbol |
Address |
|---|---|---|
Bitcoin |
BTC |
13NpLwXgEP8d9NpDUHptY6BypFRNXHL3tr |
Ethereum |
ETH |
0x8f61777b0f951ed5df684da495d82171aa3645ea |
Litecoin |
LTC |
LKM1eTU8BmvCECJr54Tz1pHDr4e2AS41Ai |
Metadata
Release files for poloniex 0.0.17
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| poloniex-0.0.17-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Release files / poloniex-0.0.17-py2.py3-none-any.whl
| Download URL | poloniex-0.0.17-py2.py3-none-any.whl |
|---|---|
| Size | 11.2 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
133254c0727eebfae3935ae9de001bb92030563c3dd8c11e076dced5048aa457
|
|
BLAKE2b-256 checksum How to use checksums |
c48eebe82e6abc728c461f9e99dd8bca32034a0b9b1f57f832d3c395550b9ad8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for poloniex 0.0.17
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.