Skip to content

trolley/python-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

bb81856 · Sep 20, 2024
May 4, 2023
Sep 8, 2023
Sep 20, 2024
May 3, 2023
Sep 20, 2024
Feb 13, 2023
Feb 13, 2023
Sep 12, 2023
Jun 19, 2021
Sep 6, 2023
Sep 20, 2024

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.