Home

Awesome

studio_ghibli_api_sdk

https://pypi.org/project/studio_ghibli_api_sdk/

Build Status

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:

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_USER_ID/GIT_REPO_ID.git

(you may need to run pip with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)

Then import the package:

import studio_ghibli_api_sdk 

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 studio_ghibli_api_sdk

Getting Started

Please follow the installation procedure and then run the following:

from __future__ import print_function
import time
import studio_ghibli_api_sdk
from studio_ghibli_api_sdk.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = studio_ghibli_api_sdk.FilmsApi()
fields = 'fields_example' # str | comma-separated list of fields to include in the response (optional)
limit = 789 # int | amount of results (default 50) (maximum 250) (optional)

try:
    # Return all films
    api_response = api_instance.films_get(fields=fields, limit=limit)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling FilmsApi->films_get: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to https://ghibliapi.herokuapp.com

ClassMethodHTTP requestDescription
FilmsApifilms_getGET /filmsReturn all films
FilmsApifilms_id_getGET /films/{id}Film ID
LocationsApilocations_getGET /locationsReturn all locations
LocationsApilocations_id_getGET /locations/{id}Location ID
PeopleApipeople_getGET /peopleReturn all people
PeopleApipeople_id_getGET /people/{id}People ID
SpeciesApispecies_getGET /speciesSpecies
SpeciesApispecies_id_getGET /species/{id}Species ID
VehiclesApivehicles_getGET /vehiclesVehicles
VehiclesApivehicles_id_getGET /vehicles/{id}Vehicle ID

Documentation For Models

Documentation For Authorization

All endpoints do not require authorization.

Author