Giter Site home page Giter Site logo

douyin-open-api-sdk's Introduction

douyin-open-api-sdk

抖音Open Api 急速对接SDK, 简单,易用,高效!

SDK 优点

  • API覆盖率超过95%, 只需要简单的修改一下配置文件, 就能轻松调用api.
  • 自动集成官方SDK, 切换使用原生一样方便! 多种选择, 轻松适配!
  • 根据视频大小, 自动切换视频分片上传, 轻松避免异常, 保证接口安全.
  • 接口分类清晰, 操作简单明了

API手册

/**
* 账号授权
*/
public class AccountDemo {

    public static void main(String[] args) {
        AccountAuth auth = new AccountAuth();
        // 获取抖音授权码(code)
        auth.getDouyinCode();
        // 生成 client_token
        ToutiaoOauth2Oauth2InlineResponse2002 clientToken = auth.createClientToken();
        // 获取access token
        ToutiaoOauth2Oauth2InlineResponse200 code = auth.getAccessToken("your code");
        // 刷新 access token
        Oauth2RefreshTokenInlineResponse200 accessToken = auth.refreshAccessToken("refreshToken");
        // 刷新 refreshToken
        Oauth2NewRefreshTokenInlineResponse200 refreshToken = auth.refreshRefreshToken("refreshToken");
    }
}

douyin-open-api-sdk's People

Contributors

lovebuildj 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.