Metadata-Version: 2.1
Name: localbitcoins-sdk
Version: 0.0.4
Summary: A simple sdk for working with LocalBitcoins API
Home-page: https://github.com/exelay/localbitcoins-sdk
Author: Aleksei Kirpa
Author-email: exelay.rapik@gmail.com
License: UNKNOWN
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
        ```shell
        pip install localbitcoins-sdk
        ```
        ### Use it
        ```python
        # 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/')
        
        # By default the client uses the get request method, but you can send a post request.
        data = client.send_request('/api/logout/', 'post')
        
        # Or you can send a request with any parameters.
        params = {
            'trade_type': 'LOCAL_SELL',
            'currency':	'RUB',
            'countrycode': 'RU',
        }
        data = client.send_request('/api/ads/', params=params)
        ```
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3.8
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Description-Content-Type: text/markdown
