Name | petstore-sdk JSON |
Version |
6.6.6
JSON |
| download |
home_page | |
Summary | this is pet description. |
upload_time | 2023-06-12 07:14:41 |
maintainer | |
docs_url | None |
author | |
requires_python | >=3.7 |
license | |
keywords |
this
is
testing
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Getting Started with Swagger Petstore
## Introduction
This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters.
Find out more about Swagger: [http://swagger.io](http://swagger.io)
## Install the Package
The package is compatible with Python versions `3 >=3.7, <= 3.11`.
Install the package from PyPi using the following pip command:
```python
pip install petstore-sdk==6.6.6
```
You can also view the package at:
https://pypi.python.org/pypi/petstore-sdk/6.6.6
## Initialize the API Client
**_Note:_** Documentation for the client can be found [here.](https://www.github.com/SYed-Subrta/test/tree/6.6.6/doc/client.md)
The following parameters are configurable for the API Client:
| Parameter | Type | Description |
| --- | --- | --- |
| `environment` | Environment | The API environment. <br> **Default: `Environment.PRODUCTION`** |
| `http_client_instance` | `HttpClient` | The Http Client passed from the sdk user for making requests |
| `override_http_client_configuration` | `bool` | The value which determines to override properties of the passed Http Client from the sdk user |
| `http_call_back` | `HttpCallBack` | The callback value that is invoked before and after an HTTP call is made to an endpoint |
| `timeout` | `float` | The value to use for connection timeout. <br> **Default: 60** |
| `max_retries` | `int` | The number of times to retry an endpoint call if it fails. <br> **Default: 0** |
| `backoff_factor` | `float` | A backoff factor to apply between attempts after the second try. <br> **Default: 2** |
| `retry_statuses` | `Array of int` | The http statuses on which retry is to be done. <br> **Default: [408, 413, 429, 500, 502, 503, 504, 521, 522, 524]** |
| `retry_methods` | `Array of string` | The http methods on which retry is to be done. <br> **Default: ['GET', 'PUT']** |
| `password` | `string` | |
The API client can be initialized as follows:
```python
from swaggerpetstore.swaggerpetstore_client import SwaggerpetstoreClient
from swaggerpetstore.configuration import Environment
client = SwaggerpetstoreClient(
password='Password'
)
```
## Authorization
This API uses `Custom Authentication`.
## List of APIs
* [Pet](https://www.github.com/SYed-Subrta/test/tree/6.6.6/doc/controllers/pet.md)
* [Store](https://www.github.com/SYed-Subrta/test/tree/6.6.6/doc/controllers/store.md)
* [User](https://www.github.com/SYed-Subrta/test/tree/6.6.6/doc/controllers/user.md)
## Classes Documentation
* [Utility Classes](https://www.github.com/SYed-Subrta/test/tree/6.6.6/doc/utility-classes.md)
* [HttpResponse](https://www.github.com/SYed-Subrta/test/tree/6.6.6/doc/http-response.md)
* [HttpRequest](https://www.github.com/SYed-Subrta/test/tree/6.6.6/doc/http-request.md)
Raw data
{
"_id": null,
"home_page": "",
"name": "petstore-sdk",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "",
"keywords": "this,is,testing",
"author": "",
"author_email": "Subtain <subtainshah2113@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/cd/72/928fd0b49689d3b592e4417ce39d47c9c09a6b8c67ec6f435b1d7295e5ab/petstore-sdk-6.6.6.tar.gz",
"platform": null,
"description": "\n# Getting Started with Swagger Petstore\n\n## Introduction\n\nThis is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters.\n\nFind out more about Swagger: [http://swagger.io](http://swagger.io)\n\n## Install the Package\n\nThe package is compatible with Python versions `3 >=3.7, <= 3.11`.\nInstall the package from PyPi using the following pip command:\n\n```python\npip install petstore-sdk==6.6.6\n```\n\nYou can also view the package at:\nhttps://pypi.python.org/pypi/petstore-sdk/6.6.6\n\n## Initialize the API Client\n\n**_Note:_** Documentation for the client can be found [here.](https://www.github.com/SYed-Subrta/test/tree/6.6.6/doc/client.md)\n\nThe following parameters are configurable for the API Client:\n\n| Parameter | Type | Description |\n| --- | --- | --- |\n| `environment` | Environment | The API environment. <br> **Default: `Environment.PRODUCTION`** |\n| `http_client_instance` | `HttpClient` | The Http Client passed from the sdk user for making requests |\n| `override_http_client_configuration` | `bool` | The value which determines to override properties of the passed Http Client from the sdk user |\n| `http_call_back` | `HttpCallBack` | The callback value that is invoked before and after an HTTP call is made to an endpoint |\n| `timeout` | `float` | The value to use for connection timeout. <br> **Default: 60** |\n| `max_retries` | `int` | The number of times to retry an endpoint call if it fails. <br> **Default: 0** |\n| `backoff_factor` | `float` | A backoff factor to apply between attempts after the second try. <br> **Default: 2** |\n| `retry_statuses` | `Array of int` | The http statuses on which retry is to be done. <br> **Default: [408, 413, 429, 500, 502, 503, 504, 521, 522, 524]** |\n| `retry_methods` | `Array of string` | The http methods on which retry is to be done. <br> **Default: ['GET', 'PUT']** |\n| `password` | `string` | |\n\nThe API client can be initialized as follows:\n\n```python\nfrom swaggerpetstore.swaggerpetstore_client import SwaggerpetstoreClient\nfrom swaggerpetstore.configuration import Environment\n\nclient = SwaggerpetstoreClient(\n password='Password'\n)\n```\n\n## Authorization\n\nThis API uses `Custom Authentication`.\n\n## List of APIs\n\n* [Pet](https://www.github.com/SYed-Subrta/test/tree/6.6.6/doc/controllers/pet.md)\n* [Store](https://www.github.com/SYed-Subrta/test/tree/6.6.6/doc/controllers/store.md)\n* [User](https://www.github.com/SYed-Subrta/test/tree/6.6.6/doc/controllers/user.md)\n\n## Classes Documentation\n\n* [Utility Classes](https://www.github.com/SYed-Subrta/test/tree/6.6.6/doc/utility-classes.md)\n* [HttpResponse](https://www.github.com/SYed-Subrta/test/tree/6.6.6/doc/http-response.md)\n* [HttpRequest](https://www.github.com/SYed-Subrta/test/tree/6.6.6/doc/http-request.md)\n\n",
"bugtrack_url": null,
"license": "",
"summary": "this is pet description.",
"version": "6.6.6",
"project_urls": {
"Documentation": "https://youtube.com"
},
"split_keywords": [
"this",
"is",
"testing"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "17845a2f0a682796e3e8bd26151a13735ff289e805feabf81dbec00915f0fe9a",
"md5": "1ff657c81c0f16025b2981b4ada5f761",
"sha256": "1f2e6b3943682a8cd43a0d43e7a7e572f6f5d688d73a71a18c1e2f8e38e4a2f8"
},
"downloads": -1,
"filename": "petstore_sdk-6.6.6-py3-none-any.whl",
"has_sig": false,
"md5_digest": "1ff657c81c0f16025b2981b4ada5f761",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 26454,
"upload_time": "2023-06-12T07:14:39",
"upload_time_iso_8601": "2023-06-12T07:14:39.778322Z",
"url": "https://files.pythonhosted.org/packages/17/84/5a2f0a682796e3e8bd26151a13735ff289e805feabf81dbec00915f0fe9a/petstore_sdk-6.6.6-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "cd72928fd0b49689d3b592e4417ce39d47c9c09a6b8c67ec6f435b1d7295e5ab",
"md5": "29231d08818c374bcf5ff21fec7f5270",
"sha256": "e2f21d2f09f288f03a9d205e2e944b25f8f22c580d304abae8ab0cf90014e59d"
},
"downloads": -1,
"filename": "petstore-sdk-6.6.6.tar.gz",
"has_sig": false,
"md5_digest": "29231d08818c374bcf5ff21fec7f5270",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 13523,
"upload_time": "2023-06-12T07:14:41",
"upload_time_iso_8601": "2023-06-12T07:14:41.495322Z",
"url": "https://files.pythonhosted.org/packages/cd/72/928fd0b49689d3b592e4417ce39d47c9c09a6b8c67ec6f435b1d7295e5ab/petstore-sdk-6.6.6.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-06-12 07:14:41",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "petstore-sdk"
}