15 releases (4 breaking)

new 0.5.0 May 27, 2024
0.4.0 May 25, 2024
0.3.0 May 20, 2024
0.2.0 May 13, 2024
0.1.10 Feb 15, 2024

#1034 in Web programming

Download history 3/week @ 2024-02-03 380/week @ 2024-02-10 60/week @ 2024-02-17 7/week @ 2024-02-24 24/week @ 2024-03-09 2/week @ 2024-03-16 108/week @ 2024-04-06 4/week @ 2024-04-13 132/week @ 2024-05-11 184/week @ 2024-05-18

316 downloads per month

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
~332K SLoC