Skip to content

BehaWorks/behapass-python-client

Repository files navigation

behapass-client

BehaPass API description

This Python package is automatically generated by the Swagger Codegen project:

  • API version: 1.1
  • 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_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 behapass_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 behapass_client

Getting Started

Please follow the installation procedure and then run the following:

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

# create an instance of the API class
api_instance = behapass_client.LoggerApi(behapass_client.ApiClient(configuration))
user_id = 'user_id_example' # str | 

try:
    # Removes unfinished registration movements
    api_instance.delete_register_user(user_id)
except ApiException as e:
    print("Exception when calling LoggerApi->delete_register_user: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to https://localhost/api

Class Method HTTP request Description
LoggerApi delete_register_user DELETE /logger/user/{user_id}/movements Removes unfinished registration movements
LoggerApi get_button_record GET /logger/buttons Returns all existing button records
LoggerApi get_movement_record GET /logger/movements Returns all recorded movements
LoggerApi get_register_user GET /logger/user/{user_id}/movements Returns all recorded movements
LoggerApi get_user_data GET /logger/user/{user_id} Returns selected user's data
LoggerApi logger_get GET /logger/ Returns all existing records
LoggerApi post_logger_record POST /logger/ Stores received records
LoggerApi post_lookup POST /logger/lookup Identifies the user
LoggerApi post_register_user POST /logger/user/{user_id}/movements Stores user data permanently once registered
LoggerApi post_user_record POST /logger/user Creates a new user ID

Documentation For Models

Documentation For Authorization

All endpoints do not require authorization.

Author

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •