|
1 | | -[](https://pypi.python.org/pypi/paymentrails) |
| 1 | +[](https://pypi.python.org/pypi/trolleyhq) |
2 | 2 |
|
3 | 3 |
|
4 | | -# Trolley Python SDK (Previously Payment Rails[^1]) |
| 4 | +# Trolley Python SDK |
5 | 5 |
|
6 | 6 | A native Python SDK for the Trolley API |
7 | 7 |
|
8 | | -[^1]: [Payment Rails is now Trolley](https://www.trolley.com/payment-rails-is-now-trolley-series-a). We're in the process of updating our SDKs to support the new domain. In this transition phase, you might still see "PaymentRails" at some places. |
9 | | - |
10 | 8 | ## Installation |
11 | 9 |
|
12 | 10 | # |
@@ -35,30 +33,28 @@ $ python test/integration/RecipientTest.py |
35 | 33 | ## Getting Started |
36 | 34 |
|
37 | 35 | ```python |
38 | | -from paymentrails.configuration import Configuration |
39 | | -from paymentrails.recipients import Recipients |
| 36 | +from trolley.configuration import Configuration |
| 37 | +from trolley.recipients import Recipients |
40 | 38 |
|
41 | | -client = Configuration.gateway("YOUR-PUBLIC-API","YOUR-PRIVATE-API","production") |
| 39 | +client = Configuration.gateway("ACCESS_KEY","SECRET_KEY") |
42 | 40 | response = client.recipient.find("R-WJniNq7PUXyboAJetimmJ4") |
43 | 41 |
|
44 | 42 | print(response.id) |
45 | 43 | ``` |
46 | 44 |
|
47 | | - |
48 | | - |
49 | 45 | ## Documentation for API Endpoints |
50 | 46 |
|
51 | 47 | All URIs are available at https://docs.trolley.com/ |
52 | 48 |
|
53 | 49 | All URIs are relative to *https://api.trolley.com/v1* |
54 | 50 |
|
55 | | - |
56 | 51 | ### Usage |
57 | 52 |
|
58 | 53 | Methods should all have Python Doc comments to help you understand their usage. As mentioned the [full API documentation](https://docs.trolley.com) |
59 | 54 | is the best source of information about the API. |
60 | 55 |
|
61 | | -For more information please read the [Python API docs](https://github.com/PaymentRails/python-sdk/tree/master/docs/) is available. The best starting point is: |
| 56 | +For more information please read the our docs at [https://docs.trolley.com](https://docs.trolley.com). |
| 57 | +The [Python API docs](https://github.com/PaymentRails/python-sdk/tree/master/docs/) can be found in this repo. The best starting point is: |
62 | 58 |
|
63 | 59 | | Data Type | SDK Documentation | |
64 | 60 | | ----- | ----- | |
|
0 commit comments