Skip to content

V1.12.0

Compare
Choose a tag to compare
@Evil0ctal Evil0ctal released this 27 Jul 21:35
· 28 commits to main since this release

SDK V1.12.0 Release Notes:

Link:

https://github.com/TikHubIO/TikHub-API-Python-SDK/releases/tag/V1.12.0

  • Upgraded SDK to support Upstream API V5.1.9

TikHub V5.1.9 Changelog

  • This update includes several new interfaces for Douyin, TikTok, and Xiaohongshu.
  • Xiaohongshu now supports fetching comments, replying to comments, and searching users.
  • Douyin and TikTok now support fetching user fan lists, retrieving user following lists, fetching home feed content, getting live room information, and retrieving live room IDs.

Special Interfaces (Websocket)

  • This update includes two new Websocket interfaces:/api/v1/douyin/web/douyin_live_room_ws and/api/v1/tiktok/web/tiktok_live_room_ws. These interfaces require connection via ws or wss protocols. Before connecting, you can use HTTP protocol interfaces to assemble parameters, specifically/api/v1/douyin/web/douyin_live_room and/api/v1/tiktok/web/tiktok_live_room. These HTTP protocol interfaces will be available in Swagger UI and API Docs. Please read their parameters and authentication methods carefully. Requests to these HTTP protocol endpoints are free. You can obtain a pre-assembled Websocket URL from the response for subsequent connections. When connecting to Websocket interfaces with code, use URL-encoded links before establishing the connection.

Special Interface Pricing (Websocket Price)

  • When you establish a Websocket connection with the server backend, you will be charged $0.001. Subsequently, for every 10 data interactions, there will be an additional charge.

Reminder

Don't forget to update the Scopes value of your API Token in our user backend before calling the API. Otherwise, your token will be rejected due to insufficient permissions.

Add URIs

  • URI:/api/v1/xiaohongshu/web/get_note_comments
    • Cost: $0.001
  • URI:/api/v1/xiaohongshu/web/get_note_comment_replies
    • Cost: $0.001
  • URI:/api/v1/xiaohongshu/web/search_users
    • Cost: $0.001
  • URI:/api/v1/douyin/web/fetch_home_feed
    • Cost: $0.001
  • URI:/api/v1/douyin/web/douyin_live_room
    • Cost: $0.000
  • URI:/api/v1/douyin/web/douyin_live_room_ws
    • Cost: $0.001
  • URI:/api/v1/douyin/web/fetch_user_fans_list
    • Cost: $0.001
  • URI:/api/v1/douyin/web/fetch_user_following_list
    • Cost: $0.001
  • URI:/api/v1/douyin/app/v3/fetch_user_fans_list
    • Cost: $0.001
  • URI:/api/v1/douyin/app/v3/fetch_user_following_list
    • Cost: $0.001
  • URI:/api/v1/tiktok/web/tiktok_live_room
    • Cost: $0.000
  • URI:/api/v1/tiktok/web/tiktok_live_room_ws
    • Cost: $0.001
  • URI:/api/v1/tiktok/web/get_live_room_id
    • Cost: $0.001

Link

https://api.tikhub.io/#/Xiaohongshu-Web-API

https://api.tikhub.io/#/Douyin-Web-API

https://api.tikhub.io/#/Douyin-App-V3-API

https://api.tikhub.io/#/TikTok-Web-API

Detail

https://discord.com/channels/1070512513889878067/1088994529362841610/1266571158187147346

Install

pip install tikhub==1.12.0