Name | paypal-rest-api JSON |
Version |
0.1.7
JSON |
| download |
home_page | None |
Summary | PayPal API provides simple client for RESTful APIs |
upload_time | 2025-07-29 06:54:26 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.9 |
license | MIT License
Copyright (c) 2025 Dmitry Kalinin
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE. |
keywords |
python
paypal
api
rest api
|
VCS |
 |
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
## paypal-client
```bash
pip install paypal-rest-api
```
#### Example
```python
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"]))
```
Raw data
{
"_id": null,
"home_page": null,
"name": "paypal-rest-api",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": "python, paypal, api, rest api",
"author": null,
"author_email": "Kalinin Mitko <kalinin.mitko@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/cb/80/0845a7a3daa4e8c4e8f6111b15a4aded64634f5904a720f2d7858622f779/paypal_rest_api-0.1.7.tar.gz",
"platform": null,
"description": "## paypal-client\n\n\n```bash\npip install paypal-rest-api\n```\n\n#### Example\n\n```python\nfrom paypal_client.api import PayPal\n\npaypal = PayPal(APP_CLIENT_ID, APP_SECRET)\n\nproduct = paypal.create_product(name=\"Video Streaming Service\", description=\"Video Streaming Service basic plan\", type=\"SERVICE\")\nplan = paypal.create_plan(product_id=product[\"id\"], name=\"Video Streaming Service Plan\", description=\"Video Streaming Service basic plan\", frequency=\"MONTH\", price=10)\nsubscription = paypal.create_subscription(plan_id=plan[\"id\"])\nprint(paypal.show_subscription_details(subscription[\"id\"]))\n```\n\n",
"bugtrack_url": null,
"license": "MIT License\n \n Copyright (c) 2025 Dmitry Kalinin\n \n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n \n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.",
"summary": "PayPal API provides simple client for RESTful APIs",
"version": "0.1.7",
"project_urls": {
"Homepage": "https://github.com/null-none/paypal-rest-api"
},
"split_keywords": [
"python",
" paypal",
" api",
" rest api"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "fac0599eb82f442968d70d7f9ad33c2a5b0627a72eed52cfbed7feaa3f19cfc0",
"md5": "206d3e156e77cd5c909bf0d20ddb193f",
"sha256": "fe71472c0df5b873d682ab23f376a9ab4c2180cc0e134f2d574d6ccead1a7ff6"
},
"downloads": -1,
"filename": "paypal_rest_api-0.1.7-py3-none-any.whl",
"has_sig": false,
"md5_digest": "206d3e156e77cd5c909bf0d20ddb193f",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 5269,
"upload_time": "2025-07-29T06:54:25",
"upload_time_iso_8601": "2025-07-29T06:54:25.790447Z",
"url": "https://files.pythonhosted.org/packages/fa/c0/599eb82f442968d70d7f9ad33c2a5b0627a72eed52cfbed7feaa3f19cfc0/paypal_rest_api-0.1.7-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "cb800845a7a3daa4e8c4e8f6111b15a4aded64634f5904a720f2d7858622f779",
"md5": "c145b612a64a21d04db130f9883d9c89",
"sha256": "49539e0af81f24a6adfe3be16704353fc65eadb05b684bf1a05b47c8f8f4f7b4"
},
"downloads": -1,
"filename": "paypal_rest_api-0.1.7.tar.gz",
"has_sig": false,
"md5_digest": "c145b612a64a21d04db130f9883d9c89",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 4090,
"upload_time": "2025-07-29T06:54:26",
"upload_time_iso_8601": "2025-07-29T06:54:26.861034Z",
"url": "https://files.pythonhosted.org/packages/cb/80/0845a7a3daa4e8c4e8f6111b15a4aded64634f5904a720f2d7858622f779/paypal_rest_api-0.1.7.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-07-29 06:54:26",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "null-none",
"github_project": "paypal-rest-api",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "paypal-rest-api"
}