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.79.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
File details
Details for the file jgreenepack-1.79.0.tar.gz
.
File metadata
- Download URL: jgreenepack-1.79.0.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 | 05553acfe2621f10792fca07baddc52950c136df54d38c23eb0bf151514955e4 |
|
MD5 | 307bca0456dca7a6bb7fcf084ba82e48 |
|
BLAKE2b-256 | 06afbf3a39d51685e4732596c65e99d84c45ca6683e201da5aa0e97f6a06e460 |
File details
Details for the file jgreenepack-1.79.0-py3-none-any.whl
.
File metadata
- Download URL: jgreenepack-1.79.0-py3-none-any.whl
- Upload date:
- Size: 22.5 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 | a5710a2286dd12e16d031936fd75fc59542ef6f09118a4f1b86540f630ac898e |
|
MD5 | 09c27ad3b85921f550c579fdae8457b6 |
|
BLAKE2b-256 | 423a93e6fdc32925ca8cf41a1237b571c29e5dad32861d7a2e4f57362ca22d6e |