16 releases (4 breaking)

0.5.1 May 30, 2024
0.5.0 May 27, 2024
0.4.0 May 25, 2024
0.3.0 May 20, 2024
0.1.10 Feb 15, 2024

#1713 in Web programming

MIT license

32KB
861 lines

tiktokapi-v2

TikTok API v2 library.

Documentation

  • Request builder
  • Convenience setted parameter methods
  • OAuth2
  • type support
  • OAuth web example

Supported APIs

  • get_v2_user_info
  • post_v2_video_list
  • post_v2_video_query

Features

default

  • reqwest/default-tls

rustls-tls

  • reqwest/rustls-tls

Changes

CHANGELOG.md

Examples

API

use tiktokapi_v2::{
    apis::get_v2_user_info::Api,
    responses::user::UserField,
};
let access_token = "xxx";
let api = Api::new(UserField::all());
let res = api.execute(access_token).await.unwrap();
println!("{:?}", res);

Dependencies

~7–21MB
~316K SLoC