Skip to content

Latest commit

 

History

History
109 lines (77 loc) · 3.75 KB

README.md

File metadata and controls

109 lines (77 loc) · 3.75 KB

swagger-client

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.0.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 swagger_client 

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 swagger_client

Getting Started

Please follow the installation procedure and then run the following:

from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi(swagger_client.ApiClient(configuration))
id = 'id_example' # str | 

try:
    api_instance.d_elete_api_world_objects_id(id)
except ApiException as e:
    print("Exception when calling DefaultApi->d_elete_api_world_objects_id: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to http://localhost:7777

Class Method HTTP request Description
DefaultApi d_elete_api_world_objects_id DELETE /api/world/objects/{id}
DefaultApi g_et_api_player GET /api/player
DefaultApi g_et_api_world GET /api/world
DefaultApi g_et_api_world_doors GET /api/world/doors
DefaultApi g_et_api_world_doors_id GET /api/world/doors/{id}
DefaultApi g_et_api_world_objects GET /api/world/objects
DefaultApi g_et_api_world_objects_id GET /api/world/objects/{id}
DefaultApi p_atch_api_player PATCH /api/player
DefaultApi p_atch_api_world PATCH /api/world
DefaultApi p_atch_api_world_doors_id PATCH /api/world/doors/{id}
DefaultApi p_atch_api_world_objects_id PATCH /api/world/objects/{id}
DefaultApi p_ost_api_player_actions POST /api/player/actions
DefaultApi p_ost_api_world_objects POST /api/world/objects

Documentation For Models

Documentation For Authorization

All endpoints do not require authorization.

Author