Skip to main content

API v1 for web.oto.dev service

Project description

WebOtoDevSdk Python SDK 1.0.12

Welcome to the WebOtoDevSdk SDK documentation. This guide will help you get started with integrating and using the WebOtoDevSdk SDK in your project.

This SDK was generated by liblab

Versions

  • API version: 1.0.12
  • SDK version: 1.0.12

About the API

API v1 for web.oto.dev service

Table of Contents

Setup & Configuration

Supported Language Versions

This SDK is compatible with the following versions: Python >= 3.7

Installation

To get started with the SDK, we recommend installing using pip:

pip install web_oto_dev_sdk

Authentication

API Key Authentication

The WebOtoDevSdk API uses API keys as a form of authentication. An API key is a unique identifier used to authenticate a user, developer, or a program that is calling the API.

Setting the API key

When you initialize the SDK, you can set the API key as follows:

WebOtoDevSdk(
    project_id="my-project-slug-or-uid",
    api_key="YOUR_API_KEY",
    api_key_header="YOUR_API_KEY_HEADER",
    timeout=10000
)

If you need to set or update the API key after initializing the SDK, you can use:

sdk.set_api_key("YOUR_API_KEY", "YOUR_API_KEY_HEADER")

Setting a Custom Timeout

You can set a custom timeout for the SDK's HTTP requests as follows:

from web_oto_dev_sdk import WebOtoDevSdk

sdk = WebOtoDevSdk(timeout=10000)

Sample Usage

Below is a comprehensive example demonstrating how to authenticate and call a simple endpoint:

from web_oto_dev_sdk import WebOtoDevSdk

sdk = WebOtoDevSdk(
    project_id="my-project-slug-or-uid",
    api_key="YOUR_API_KEY",
    api_key_header="YOUR_API_KEY_HEADER",
    timeout=10000
)

result = sdk.admin.projects()

print(result)

Async Usage

The SDK includes an Async Client for making asynchronous API requests. This is useful for applications that need non-blocking operations, like web servers or apps with a graphical user interface.

import asyncio
from web_oto_dev_sdk import WebOtoDevSdkAsync

sdk = WebOtoDevSdkAsync(
    project_id="my-project-slug-or-uid",
    api_key="YOUR_API_KEY",
    api_key_header="YOUR_API_KEY_HEADER",
    timeout=10000
)


async def main():
  result = await sdk.admin.projects()
  print(result)

asyncio.run(main())

Services

The SDK provides various services to interact with the API.

Below is a list of all available services:
Name
admin
project
properties
meanings
formulas
values
layouts
crm
crm_deals

Models

The SDK includes several models that represent the data structures used in API requests and responses. These models help in organizing and managing the data efficiently.

Below is a list of all available models:
Name Description
ProjectInfo
Property
Meaning
Formula
Value
FormField
HttpValidationError
ValidationError

License

This SDK is licensed under the MIT License.

See the LICENSE file for more details.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

web_oto_dev_sdk-1.0.12-py3-none-any.whl (57.7 kB view details)

Uploaded Python 3

File details

Details for the file web_oto_dev_sdk-1.0.12-py3-none-any.whl.

File metadata

File hashes

Hashes for web_oto_dev_sdk-1.0.12-py3-none-any.whl
Algorithm Hash digest
SHA256 32df26e3f3556a912a6a4d42ec749b0c4d40f0234c0334f9bde8b11295a442fd
MD5 d4085eeb6c68e058e0b7fe674b357eb3
BLAKE2b-256 2b32369ceb4289793247069d818cbd2db231ba4f1015ebe97def9a3ca01bf3fe

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