Coder Social home page Coder Social logo

swagger-client's Introduction

swagger-client

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

This Python package is automatically generated by the OpenAPI Generator project:

  • API version: 0.1.0
  • Package version: 1.21.0
  • Generator version: 7.4.0
  • Build package: org.openapitools.codegen.languages.PythonClientCodegen

Requirements.

Python 3.7+

Installation & Usage

pip install

If the python package is hosted on a repository, you can install directly using:

pip install git+https://github.com/AlexName1/swagger-client.git

(you may need to run pip with root permission: sudo pip install git+https://github.com/AlexName1/swagger-client.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

Tests

Execute pytest to run the tests.

Getting Started

Please follow the installation procedure and then run the following:

import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = swagger_client.Configuration(
    host = "http://localhost"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure HTTP basic authorization: HTTPBasic
configuration = swagger_client.Configuration(
    username = os.environ["USERNAME"],
    password = os.environ["PASSWORD"]
)


# Enter a context with an instance of the API client
async with swagger_client.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = swagger_client.BarcodesApi(api_client)
    barcode_insert = swagger_client.BarcodeInsert() # BarcodeInsert | 

    try:
        # Insert
        api_response = await api_instance.insert_api_v1_barcodes_post(barcode_insert)
        print("The response of BarcodesApi->insert_api_v1_barcodes_post:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling BarcodesApi->insert_api_v1_barcodes_post: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to http://localhost

Class Method HTTP request Description
BarcodesApi insert_api_v1_barcodes_post POST /api/v1/barcodes Insert
BasketsApi delete_one_basket_api_v1_baskets_basket_id_delete DELETE /api/v1/baskets/{basket_id} Delete One Basket
BasketsApi delete_user_basket_api_v1_baskets_users_bots_user_bot_id_delete DELETE /api/v1/baskets/users_bots/{user_bot_id} Delete User Basket
BasketsApi get_basket_api_v1_baskets_get GET /api/v1/baskets Get Basket
BasketsApi get_count_basket_api_v1_baskets_all_count_get GET /api/v1/baskets/all/count Get Count Basket
BasketsApi get_list_id_basket_api_v1_baskets_all_list_id_get GET /api/v1/baskets/all/list_id Get List Id Basket
BasketsApi get_one_basket_api_v1_baskets_basket_id_get GET /api/v1/baskets/{basket_id} Get One Basket
BasketsApi insert_api_v1_baskets_post POST /api/v1/baskets Insert
BotsApi delete_api_v1_bots_token_delete DELETE /api/v1/bots/{token} Delete
BotsApi get_bot_api_v1_bots_token_get GET /api/v1/bots/{token} Get Bot
BotsApi get_bots_api_v1_bots_get GET /api/v1/bots Get Bots
BotsApi get_tokens_multibot_api_v1_bots_multibot_tokens_get GET /api/v1/bots/multibot/tokens Get Tokens Multibot
BotsApi insert_or_nothing_api_v1_bots_post POST /api/v1/bots Insert Or Nothing
BotsApi update_api_v1_bots_patch PATCH /api/v1/bots Update
CategoriesApi get_categories_name_api_v1_categories_get GET /api/v1/categories Get Categories Name
DeliveriesCdekApi delete_api_v1_deliveries_cdek_delete DELETE /api/v1/deliveries-cdek Delete
DeliveriesCdekApi update_api_v1_deliveries_cdek_put PUT /api/v1/deliveries-cdek Update
InfoItemsApi update_api_v1_info_items_token_put PUT /api/v1/info-items/{token} Update
InfoItemsApi update_new_api_v1_info_items_token_new_put PUT /api/v1/info-items/{token}/new Update New
ItemsApi get_all_api_v1_items_get GET /api/v1/items Get All
ItemsApi get_brands_and_counts_api_v1_items_category_brands_counts_get GET /api/v1/items/{category}/brands-counts Get Brands And Counts
ItemsApi get_count_brand_api_v1_items_category_brand_count_get GET /api/v1/items/{category}/{brand}/count Get Count Brand
ItemsApi get_count_models_api_v1_items_category_brand_count_models_get GET /api/v1/items/{category}/{brand}/count-models Get Count Models
ItemsApi get_item_api_v1_items_code_token_one_get GET /api/v1/items/{code}/{token}/one Get Item
ItemsApi get_item_new_api_v1_items_code_token_one_new_get GET /api/v1/items/{code}/{token}/one_new Get Item New
ItemsApi get_item_selectinload_size_api_v1_items_code_token_load_size_get GET /api/v1/items/{code}/{token}/load-size Get Item Selectinload Size
ItemsApi get_items_action_new_codes_api_v1_items_token_all_new_codes_get GET /api/v1/items/{token}/all_new_codes Get Items Action New Codes
ItemsApi get_items_codes_api_v1_items_category_brand_codes_get GET /api/v1/items/{category}/{brand}/codes Get Items Codes
ItemsApi get_models_and_counts_api_v1_items_category_brand_models_counts_get GET /api/v1/items/{category}/{brand}/models-counts Get Models And Counts
MessagesTgApi get_api_v1_messages_tg_name_get GET /api/v1/messages-tg/{name} Get
MessagesTgApi insert_or_update_api_v1_messages_tg_post POST /api/v1/messages-tg Insert Or Update
OrdersApi delete_order_api_v1_orders_order_id_delete DELETE /api/v1/orders/{order_id} Delete Order
OrdersApi get_active_orders_api_v1_orders_get GET /api/v1/orders Get Active Orders
OrdersApi get_count_orders_api_v1_orders_count_get GET /api/v1/orders/count Get Count Orders
OrdersApi get_count_orders_by_user_id_api_v1_orders_users_user_id_count_get GET /api/v1/orders/users/{user_id}/count Get Count Orders By User Id
OrdersApi get_order_by_id_api_v1_orders_order_id_get GET /api/v1/orders/{order_id} Get Order By Id
OrdersApi get_user_orders_api_v1_orders_users_user_id_get GET /api/v1/orders/users/{user_id} Get User Orders
OrdersApi insert_order_api_v1_orders_post POST /api/v1/orders Insert Order
PartnersApi get_partners_user_id_api_v1_partners_get GET /api/v1/partners Get Partners User Id
PurchasesApi delete_purchase_api_v1_purchases_purchase_id_delete DELETE /api/v1/purchases/{purchase_id} Delete Purchase
PurchasesApi get_all_api_v1_purchases_get GET /api/v1/purchases Get All
PurchasesApi get_purchase_by_id_api_v1_purchases_purchase_id_get GET /api/v1/purchases/{purchase_id} Get Purchase By Id
PurchasesApi update_only_api_v1_purchases_put PUT /api/v1/purchases Update Only
QuantitiesApi insert_or_update_api_v1_quantities_merge_post POST /api/v1/quantities/merge Insert Or Update
SchedulersApi delete_api_v1_schedulers_scheduler_id_delete DELETE /api/v1/schedulers/{scheduler_id} Delete
SchedulersApi get_api_v1_schedulers_get GET /api/v1/schedulers Get
SchedulersApi insert_api_v1_schedulers_post POST /api/v1/schedulers Insert
SizesApi get_size_by_id_api_v1_sizes_size_id_get GET /api/v1/sizes/{size_id} Get Size By Id
SizesApi get_sizes_api_v1_sizes_get GET /api/v1/sizes Get Sizes
SizesApi insert_or_nothing_api_v1_sizes_post POST /api/v1/sizes Insert Or Nothing
UsersBotsApi get_all_ids_users_api_v1_users_bots_ids_get GET /api/v1/users_bots/ids Get All Ids Users
UsersBotsApi get_count_api_v1_users_bots_count_get GET /api/v1/users_bots/count Get Count
UsersBotsApi get_only_user_bot_api_v1_users_bots_user_id_only_get GET /api/v1/users_bots/{user_id}/only Get Only User Bot
UsersBotsApi get_user_bot_api_v1_users_bots_user_id_get GET /api/v1/users_bots/{user_id} Get User Bot
UsersBotsApi get_user_bot_start_api_v1_users_bots_user_id_start_get GET /api/v1/users_bots/{user_id}/start Get User Bot Start
UsersBotsApi get_user_client_bot_api_v1_users_bots_user_id_client_get GET /api/v1/users_bots/{user_id}/client Get User Client Bot
UsersBotsApi update_last_mess_api_v1_users_bots_mess_put PUT /api/v1/users_bots/mess Update Last Mess
UsersProdavecKrossovokApi get_all_ids_users_api_v1_users_prodavec_krossovok_ids_get GET /api/v1/users-prodavec-krossovok/ids Get All Ids Users
UsersProdavecKrossovokApi get_count_api_v1_users_prodavec_krossovok_count_get GET /api/v1/users-prodavec-krossovok/count Get Count
UsersProdavecKrossovokApi get_user_prodavec_krossovok_api_v1_users_prodavec_krossovok_user_id_get GET /api/v1/users-prodavec-krossovok/{user_id} Get User Prodavec Krossovok
UsersProdavecKrossovokApi insert_user_prodavec_krossovok_api_v1_users_prodavec_krossovok_post POST /api/v1/users-prodavec-krossovok Insert User Prodavec Krossovok
WaybillsApi update_api_v1_waybills_put PUT /api/v1/waybills Update
WebhookApi webhook_from_cdek_api_v1_webhook_cdek_post POST /api/v1/webhook/cdek Webhook From Cdek
YookassaPaymentsApi insert_api_v1_yookassa_payments_post POST /api/v1/yookassa-payments Insert

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

HTTPBasic

  • Type: HTTP basic authentication

Author

swagger-client's People

Contributors

alexname1 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.