Skip to main content

PayPal API provides simple client for RESTful APIs

Project description

paypal-client

pip install paypal-rest-api

Example

from paypal_client.api import PayPal

paypal = PayPal(APP_CLIENT_ID, APP_SECRET)

product = paypal.create_product(name="Video Streaming Service", description="Video Streaming Service basic plan", type="SERVICE")
plan = paypal.create_plan(product_id=product["id"], name="Video Streaming Service Plan", description="Video Streaming Service basic plan", frequency="MONTH", price=10)
subscription = paypal.create_subscription(plan_id=plan["id"])
print(paypal.show_subscription_details(subscription["id"]))

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

paypal_rest_api-0.1.7.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

paypal_rest_api-0.1.7-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file paypal_rest_api-0.1.7.tar.gz.

File metadata

  • Download URL: paypal_rest_api-0.1.7.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for paypal_rest_api-0.1.7.tar.gz
Algorithm Hash digest
SHA256 49539e0af81f24a6adfe3be16704353fc65eadb05b684bf1a05b47c8f8f4f7b4
MD5 c145b612a64a21d04db130f9883d9c89
BLAKE2b-256 cb800845a7a3daa4e8c4e8f6111b15a4aded64634f5904a720f2d7858622f779

See more details on using hashes here.

File details

Details for the file paypal_rest_api-0.1.7-py3-none-any.whl.

File metadata

File hashes

Hashes for paypal_rest_api-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 fe71472c0df5b873d682ab23f376a9ab4c2180cc0e134f2d574d6ccead1a7ff6
MD5 206d3e156e77cd5c909bf0d20ddb193f
BLAKE2b-256 fac0599eb82f442968d70d7f9ad33c2a5b0627a72eed52cfbed7feaa3f19cfc0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page