# douyin **Repository Path**: weishuaiwang/douyin ## Basic Information - **Project Name**: douyin - **Description**: No description available - **Primary Language**: Unknown - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2021-03-23 - **Last Updated**: 2021-03-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # douyin/open/devtool/monitor No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - API version: 1.0.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 ```sh 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: ```python import douyin.open.devtool.monitor ``` ### Setuptools Install via [Setuptools](http://pypi.python.org/pypi/setuptools). ```sh python setup.py install --user ``` (or `sudo python setup.py install` to install the package for all users) Then import the package: ```python import douyin.open.devtool.monitor ``` ## Getting Started Please follow the [installation procedure](#installation--usage) and then run the following: ```python from __future__ import print_function import time import douyin.open.devtool.monitor from douyin.open.devtool.monitor.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = douyin.open.devtool.monitor.DefaultApi(douyin.open.devtool.monitor.ApiClient(configuration)) access_token = 'clt.943da17996fb5cebfbc70c044c3fc25a57T54DcjT6HNKGqnUdxzy1KcxFnZ' # str | 调用/oauth/client_token/生成的token,此token不需要用户授权。 time_type = 'time_type_example' # str | 时间类型 begin_time = 'begin_time_example' # str | 开始日期(20190101) end_time = 'end_time_example' # str | 结束日期(20190101) body = douyin/open/devtool/monitor.DevtoolMonitorCallBody() # DevtoolMonitorCallBody | (optional) try: # 获取接口调用监控情况 api_response = api_instance.devtool_monitor_call_post(access_token, time_type, begin_time, end_time, body=body) pprint(api_response) except ApiException as e: print("Exception when calling DefaultApi->devtool_monitor_call_post: %s\n" % e) ``` ## Documentation for API Endpoints All URIs are relative to *https://open.douyin.com* Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- *DefaultApi* | [**devtool_monitor_call_post**](docs/Api/DefaultApi.md#devtool_monitor_call_post) | **POST** /devtool/monitor/call/ | 获取接口调用监控情况 ## Documentation For Models - [CallMetrics](docs/Model/CallMetrics.md) - [Description](docs/Model/Description.md) - [DevtoolMonitorCallBody](docs/Model/DevtoolMonitorCallBody.md) - [DevtoolMonitorCallResponse](docs/Model/DevtoolMonitorCallResponse.md) - [DevtoolMonitorCallResponseData](docs/Model/DevtoolMonitorCallResponseData.md) - [ErrorCode](docs/Model/ErrorCode.md) ## Documentation For Authorization All endpoints do not require authorization. ## Author