Skip to content

trolley/python-sdk

Repository files navigation

Latest Stable Version

Trolley Python SDK

A native Python SDK for the Trolley API

Installation

Use pip to install the latest version of the package

$ pip install trolleyhq

Dependencies

Getting Started

from trolley.configuration import Configuration
from trolley.recipients import Recipients

client = Configuration.gateway("ACCESS_KEY","SECRET_KEY")
response = client.recipient.find("R-WJniNq7PUAJetimmJ4")

print(response.id)

Running Tests

// unit tests
$ python -m unittest test/unit/testBalances.py

//integration tests
$ python test/integration/RecipientTest.py

Documentation

Documentation about how to use our Python SDK is available at https://docs.trolley.com/

Besides that, methods should all have Python Doc comments to help you understand their usage.