You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

4.7 KiB

Hinweise für die Weiterentwicklung

#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: 0.1.0
  • Package version: 1.0.0
  • Build package: io.swagger.codegen.v3.generators.python.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_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 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.DisziplinApi(swagger_client.ApiClient(configuration))
id = 56 # int | 

try:
    api_response = api_instance.get_disziplin(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DisziplinApi->get_disziplin: %s\n" % e)

# create an instance of the API class
api_instance = swagger_client.DisziplinApi(swagger_client.ApiClient(configuration))

try:
    api_response = api_instance.get_disziplinen()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DisziplinApi->get_disziplinen: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to /

Class Method HTTP request Description
DisziplinApi get_disziplin GET /disziplinen/{id}
DisziplinApi get_disziplinen GET /disziplinen
ErgebnisApi create_ergebnis POST /ergebnisse
ErgebnisApi delete_ergebnis DELETE /ergebnisse/{id}
ErgebnisApi get_ergebnis GET /ergebnisse/{id}
ErgebnisApi get_ergebnisse GET /ergebnisse
ErgebnisApi update_ergebnis PUT /ergebnisse/{id}
RiegeApi create_riege POST /riegen
RiegeApi delete_riege DELETE /riegen/{id}
RiegeApi get_riege GET /riegen/{id}
RiegeApi get_riegen GET /riegen
RiegeApi update_riege PUT /riegen/{id}
SchuelerApi create_schueler POST /schueler
SchuelerApi delete_schueler DELETE /schueler/{id}
SchuelerApi get_schueler GET /schueler/{id}
SchuelerApi get_schuelers GET /schueler
SchuelerApi update_schueler PUT /schueler/{id}

Documentation For Models

Documentation For Authorization

All endpoints do not require authorization.

Author