Swagger Petstore
Project description
newjgreenepack
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
This Python package is automatically generated by the Swagger Codegen project:
- API version: 1.0.0
- Package version: 0.3.1
- Build package: io.swagger.codegen.languages.PythonClientCodegen
Requirements.
Python 2.7 and 3.4+
Installation & Usage
pip install
If the python package is hosted on Github, you can install directly from Github
pip install git+https://github.com//.git
(you may need to run pip
with root permission: sudo pip install git+https://github.com//.git
)
Then import the package:
import newjgreenepack
Setuptools
Install via Setuptools.
python setup.py install --user
(or sudo python setup.py install
to install the package for all users)
Then import the package:
import newjgreenepack
Getting Started
Please follow the installation procedure and then run the following:
from __future__ import print_function
import time
import newjgreenepack
from newjgreenepack.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = newjgreenepack.PetsApi(newjgreenepack.ApiClient(configuration))
try:
# Create a pet
api_instance.create_pets()
except ApiException as e:
print("Exception when calling PetsApi->create_pets: %s\n" % e)
Documentation for API Endpoints
All URIs are relative to http://petstore.swagger.io/v1
Class | Method | HTTP request | Description |
---|---|---|---|
PetsApi | create_pets | POST /pets | Create a pet |
PetsApi | list_pets | GET /pets | List all pets |
PetsApi | show_pet_by_id | GET /pets/{petId} | Info for a specific pet |
Documentation For Models
Documentation For Authorization
All endpoints do not require authorization.
Author
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file newjgreenepack-0.3.1.tar.gz
.
File metadata
- Download URL: newjgreenepack-0.3.1.tar.gz
- Upload date:
- Size: 16.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a374443609880ad07ac6d72c906d82b21ac80bb3acbf6cb2d1e745b572107035 |
|
MD5 | 2c4910bdecae5ebfc4cb386f5fbcb841 |
|
BLAKE2b-256 | 4191f08eb9d5dc46b0d30340e14d470b892c86f6efbf7fec5688050fd873754c |
File details
Details for the file newjgreenepack-0.3.1-py3-none-any.whl
.
File metadata
- Download URL: newjgreenepack-0.3.1-py3-none-any.whl
- Upload date:
- Size: 22.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f112fb170a998cfb2ab064824406655c1029d22f9879ac4927d8a451720c06b0 |
|
MD5 | 81a723c899805e19d8ebfcae9a085549 |
|
BLAKE2b-256 | 99bb42f283a4cd21067770d3448c5fa39b76daae9ba424d9886914e456425f83 |