Swagger Petstore
Project description
jgreenepack
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: 1.19.0
- 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 jgreenepack
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 jgreenepack
Getting Started
Please follow the installation procedure and then run the following:
from __future__ import print_function
import time
import jgreenepack
from jgreenepack.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = jgreenepack.PetsApi(jgreenepack.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
Hashes for jgreenepack-1.19.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 593307dda01d9bb49d773ea9e790b0ce7a9a7baa127b66e650a67ecd60b441b2 |
|
MD5 | 11266b7457056124b4defab9f377fd53 |
|
BLAKE2b-256 | 5825a72e5d25254e9e6b79c15839a9d0917eee3d31a9e5ced8ea5d2ee4faf7af |