Skip to main content

Easily access the TeamDB Web API.

Project description

teamdbapi

This module enables you to easily access the TeamDB Web API.

  • Package version: 3.3.0
  • TeamDB Web API version: 2.0

Requirements.

  • Python 3.4+
  • TeamDB 3.3.0

Installation and usage

pip install

Install via pip.

pip install teamdbapi

Then import the package:

import teamdbapi 

Getting Started

Please follow the installation procedure and then run the following:

import teamdbapi
from teamdbapi.rest import ApiException

# Create a Configuration object
configuration = teamdbapi.Configuration()
configuration.host = "http://localhost:9001" # Replace with your the TeamDB API address if different

# Create an instance of the Client API
client_api = teamdbapi.ApiClient(configuration)

# Create an instance of the Assembly API using the client_api
assembly_api = teamdbapi.AssemblyApi(client_api)

# Try to execute the request
try:

    # Get response with http info (Content, HTTP Status Code, HTTP Header)
    result = assembly_api.select_current_assembly_with_http_info(assembly_id = "6189993b-ad4d-4c41-8268-8419a63e5554")
    print(result)

    # Get only response content
    result = assembly_api.select_current_assembly(assembly_id = "6189993b-ad4d-4c41-8268-8419a63e5554")
    print(result)

except ApiException as e:
    print("Exception when selecting the current assembly : %s\n" % e)

Documentation for API Endpoints

With a TeamDB Client, check the documentation at http://localhost:9001 (Default value for the TeamDB Web API URL)

Documentation For Authorization

Endpoints are subject to the same authorization as in TeamDB.

Author

support@trackside.fr

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

teamdbapi-3.3.0.tar.gz (126.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

teamdbapi-3.3.0-py3-none-any.whl (248.0 kB view details)

Uploaded Python 3

File details

Details for the file teamdbapi-3.3.0.tar.gz.

File metadata

  • Download URL: teamdbapi-3.3.0.tar.gz
  • Upload date:
  • Size: 126.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.28.1

File hashes

Hashes for teamdbapi-3.3.0.tar.gz
Algorithm Hash digest
SHA256 46eec37ba55e82bea1127e6a1d8d9147f3200b735ee6e85afad00af3019c23ed
MD5 a2d76a4207c0881929132a1c6ab717bf
BLAKE2b-256 04e69330c97e5276a5dad2aadd3f7fd681ade380d62cbab3271c9b6363f38be9

See more details on using hashes here.

File details

Details for the file teamdbapi-3.3.0-py3-none-any.whl.

File metadata

  • Download URL: teamdbapi-3.3.0-py3-none-any.whl
  • Upload date:
  • Size: 248.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.28.1

File hashes

Hashes for teamdbapi-3.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0e8720bc7805d1a22d278d46c4e6024da328e5b44a7a7cacbaa7a4ec451198d1
MD5 233edcc79ce315eb61a5309e74697266
BLAKE2b-256 82fc993369b36de9550ddf427da2b43056b668c7b76abfc1c36d7d23dfd42ef4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page