Skip to content

Latest commit

 

History

History
93 lines (65 loc) · 2.91 KB

README.md

File metadata and controls

93 lines (65 loc) · 2.91 KB

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

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 douyin.open.devtool.monitor 

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 douyin.open.devtool.monitor

Getting Started

Please follow the installation procedure and then run the following:

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 POST /devtool/monitor/call/ 获取接口调用监控情况

Documentation For Models

Documentation For Authorization

All endpoints do not require authorization.

Author