douyin open api
This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.
- API version: 1.0.0
- Package version: 1.0.0
- Build package: org.openapitools.codegen.languages.GoClientCodegen
Install the following dependencies:
go get github.com/stretchr/testify/assert
go get golang.org/x/oauth2
go get golang.org/x/net/context
go get github.com/antihax/optional
Put the package under your project folder and add the following in import:
import "./douyin"
All URIs are relative to https://open.douyin.com
Class | Method | HTTP request | Description |
---|---|---|---|
OauthApi | Connect | Get /platform/oauth/connect | 获取授权码(code) |
Endpoints do not require authorization.