tiktokapi-v2

Crates.iotiktokapi-v2
lib.rstiktokapi-v2
version0.5.1
sourcesrc
created_at2024-02-09 01:22:12.261726
updated_at2024-05-30 05:02:37.586353
descriptionTikTok API v2 library.
homepage
repositoryhttps://github.com/aoyagikouhei/tiktokapi-v2
max_upload_size
id1132875
size32,113
Kouhei Aoyagi (aoyagikouhei)

documentation

https://docs.rs/tiktokapi-v2

README

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);
Commit count: 28

cargo fmt