Skip to main content

A simple sdk for working with LocalBitcoins API

Project description

localbitcoins-sdk

A simple library for working with LocalBitcoins API

I created this library to make it easier to use the LocalBitcoins API. The library is very simple. It has just one object Client, with one custom method send_request.

How to use it?

Install it

pip install localbitcoins-sdk

Use it

# Import the Client
from lb_sdk import Client

# Create a Client object with the hmac key and the hmac secret from localbitcoins.
client = Client('your-hmac-key-here', 'your-hmac-secret-here')

# Send a request and get a response data.
data = client.send_request('/api/myself')

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

localbitcoins-sdk-0.0.3.tar.gz (2.3 kB view hashes)

Uploaded Source

Built Distribution

localbitcoins_sdk-0.0.3-py2-none-any.whl (18.7 kB view hashes)

Uploaded Python 2

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