Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gijzelaerr/pybl3p

bl3p API
https://github.com/gijzelaerr/pybl3p

bitcoin bitcoin-api bl3p cryptocurrency cryptocurrency-exchanges exchange pandas python

Last synced: 12 days ago
JSON representation

bl3p API

Awesome Lists containing this project

README

        

# pybl3p
A Python bl3p API

## installation

```shell script
$ pip install pybl3p
```

## usage

For the public API
```python
from pybl3p.public import orderbook
orderbook()
```

For the private API first set your public and private key as environment variables. This procedure might change in the future, but this way you don't accidentally push your private keys in a notebook or source code:

```shell script
export BL3P_PUB="........-....-....-....-............"
export BL3P_PRIV="(long string with a-z/A-Z/0-9 and =)"
```

Now from python you can access the private API:

```python
from pybl3p.private import depth_full
depth_full()
```