https://github.com/null-none/paypal-client
Simple client for PayPal RESTful APIs
https://github.com/null-none/paypal-client
api paypal python restful-api sdk
Last synced: 12 months ago
JSON representation
Simple client for PayPal RESTful APIs
- Host: GitHub
- URL: https://github.com/null-none/paypal-client
- Owner: null-none
- License: mit
- Created: 2022-10-30T20:49:51.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-27T17:19:01.000Z (over 2 years ago)
- Last Synced: 2025-01-26T09:28:34.933Z (about 1 year ago)
- Topics: api, paypal, python, restful-api, sdk
- Language: Python
- Homepage: https://developer.paypal.com/api/rest/
- Size: 33.2 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
The PayPal API provides simple client for RESTful APIs
=======
Install
=======
.. code-block:: bash
pip install paypal_client
=======
Example
=======
.. code-block:: python
from paypal_client.src.api import PayPal
APP_CLIENT_ID = 'APP_CLIENT_ID'
APP_SECRET = 'APP_SECRET'
paypal = PayPal(APP_CLIENT_ID, APP_SECRET)
paypal.list_products()
paypal.list_plans()
paypal.create_order(UUID, 20)
=======
Donation
=======
.. image:: https://img.shields.io/badge/Donate-PayPal-green.svg
:target: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YYZQ6ZRZ3EW5C