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.9.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.9.1.tar.gz
.
File metadata
- Download URL: newjgreenepack-0.9.1.tar.gz
- Upload date:
- Size: 16.2 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 | 89931ed16bf721a6ed9544442dc82deaa5617248e2f640a2455e2b0bbb29d301 |
|
MD5 | 17503805e2379bbaaa51ad46fa439053 |
|
BLAKE2b-256 | ab9e31a1ef055b0dd8cc9c16262aa7a643c1180f66bde5f470ad3b6491d12412 |
File details
Details for the file newjgreenepack-0.9.1-py3-none-any.whl
.
File metadata
- Download URL: newjgreenepack-0.9.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 | d23fa51c09d39d47ddc61fb3cf1c2c761fe5c2555007d68432b5feef346e3565 |
|
MD5 | 9b9e95da2c9f01208efef9df40e455b7 |
|
BLAKE2b-256 | 16403d434a15f7398f9955734b7cb3c9708fc7a3eaa418a7dd30d11dc76d5498 |