awsdocs /
aws-doc-sdk-examples
Welcome to the AWS Code Examples Repository. This repo contains code examples used in the AWS documentation, AWS SDK Developer Guides, and more. For more information, see the Readme.md file below.
Loading repository data…
TikHub / repository
This repository contains the official Java SDK for the TikHub.io platform, allowing developers to easily integrate TikHub API services into their Java applications. With this SDK, users can access various social media scraping features, including data extraction from platforms like TikTok, Douyin, and Instagram.
High-performance asynchronous Douyin(抖音) TikTok Xiaohongshu(小红书) Kuaishou(快手) Weibo(微博) Instagram YouTube(油管) Twitter(X) Captcha Solver(验证码解决器) Temp Mail(临时邮箱) API(接口).
Release Information
https://api.tikhub.ioUseful Links
Building the API client library requires:
To install the API client library to your local Maven repository, simply execute:
mvn clean install
To deploy it to a remote Maven repository instead, configure the settings of the repository and execute:
mvn clean deploy
Refer to the OSSRH Guide for more information.
Add this dependency to your project's POM:
<dependency>
<groupId>io.tikhub</groupId>
<artifactId>tikhub-api-java-client</artifactId>
<version>1.0.1</version>
<scope>compile</scope>
</dependency>
Add this dependency to your project's build file:
compile "io.tikhub:tikhub-api-java-client:1.0.1"
At first generate the JAR by executing:
mvn clean package
Then manually install the following JARs:
target/tikhub-api-java-client-1.0.1.jartarget/lib/*.jarMost endpoints in the TikHub API require an API Key for authentication. You need to include the API Key in the request header using the Authorization header.
import io.tikhub.client.*;
import io.tikhub.client.api.TikHubUserApiApi;
import org.openapitools.client.ApiException;
import org.openapitools.client.model.UserInfoResponseModel;
public class TikHubApiExample {
public static void main(String[] args) {
// Initialize the API client
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Set the base URL for TikHub API
defaultClient.setScheme("https") // Use HTTPS
.setHost("api.tikhub.io") // Correct API host
.setBasePath(""); // No extra path required
// Set API Key authentication in the request header
defaultClient.addDefaultHeader("Authorization", "Bearer YOUR_API_KEY_HERE");
// Initialize the API instance
TikHubUserApiApi apiInstance = new TikHubUserApiApi(defaultClient);
try {
// Fetch user account details
UserInfoResponseModel result = apiInstance.getUserInfoApiV1TikhubUserGetUserInfoGet().get();
System.out.println("User Info: " + result);
} catch (ApiException e) {
System.err.println("API request failed: " + e.getMessage());
} catch (Exception e) {
e.printStackTrace();
}
}
}
To get a list of available API endpoints:
import io.tikhub.client.*;
import io.tikhub.client.api.TikHubUserApiApi;
import org.openapitools.client.ApiException;
import org.openapitools.client.model.ResponseModel;
public class EndpointsExample {
public static void main(String[] args) {
ApiClient client = Configuration.getDefaultApiClient();
// Set the base URL for TikHub API
client.setScheme("https") // Use HTTPS
.setHost("api.tikhub.io") // Correct API host
.setBasePath(""); // No extra path required
// Set API Key authentication in the request header
client.addDefaultHeader("Authorization", "Bearer YOUR_API_KEY_HERE");
TikHubUserApiApi apiInstance = new TikHubUserApiApi(client);
try {
ResponseModel endpoints = apiInstance.getAllEndpointsInfoApiV1TikhubUserGetAllEndpointsInfoGet().get();
System.out.println("Available Endpoints: " + endpoints);
} catch (Exception e) {
e.printStackTrace();
}
}
}
To calculate the pricing based on usage:
import io.tikhub.client.*;
import io.tikhub.client.api.TikHubUserApiApi;
import org.openapitools.client.ApiException;
import org.openapitools.client.model.ResponseModel;
public class PricingExample {
public static void main(String[] args) {
ApiClient client = Configuration.getDefaultApiClient();
// Set the base URL for TikHub API
client.setScheme("https") // Use HTTPS
.setHost("api.tikhub.io") // Correct API host
.setBasePath(""); // No extra path required
// Set API Key authentication in the request header
client.addDefaultHeader("Authorization", "Bearer YOUR_API_KEY_HERE");
TikHubUserApiApi apiInstance = new TikHubUserApiApi(client);
try {
String endpoint = "/api/v1/tiktok/app/v3/fetch_one_video_by_share_url";
int requestPerDay = 5000;
ResponseModel pricing = apiInstance.calculatePriceApiV1TikhubUserCalculatePriceGet(endpoint, requestPerDay).get();
System.out.println("Pricing Details: " + pricing);
} catch (Exception e) {
e.printStackTrace();
}
}
}
YOUR_API_KEY_HERE with your actual API Key.CompletableFuture<>, allowing for non-blocking API calls.For full API documentation, please visit TikHub.io API Docs.
It's recommended to create an instance of ApiClient per thread in a multithreaded environment to avoid any potential issues.
However, the instances of the api clients created from the ApiClient are thread-safe and can be re-used.
All URIs are relative to https://api.tikhub.io
| Class | Method | HTTP request | Description |
|---|---|---|---|
| BilibiliWebApiApi | fetchCollectFoldersApiV1BilibiliWebFetchAllLiveAreasGet | GET /api/v1/bilibili/web/fetch_all_live_areas | 获取所有直播分区列表/Get a list of all live areas |
| BilibiliWebApiApi | fetchCollectFoldersApiV1BilibiliWebFetchAllLiveAreasGet_0 | GET /api/v1/bilibili/web/fetch_all_live_areas | 获取所有直播分区列表/Get a list of all live areas |
| BilibiliWebApiApi | fetchCollectFoldersApiV1BilibiliWebFetchCollectFoldersGet | GET /api/v1/bilibili/web/fetch_collect_folders | 获取用户所有收藏夹信息/Get user collection folders |
| BilibiliWebApiApi | fetchCollectFoldersApiV1BilibiliWebFetchCollectFoldersGet_0 | GET /api/v1/bilibili/web/fetch_collect_folders | 获取用户所有收藏夹信息/Get user collection folders |
| BilibiliWebApiApi | fetchCollectFoldersApiV1BilibiliWebFetchComPopularGet | GET /api/v1/bilibili/web/fetch_com_popular | 获取综合热门视频信息/Get comprehensive popular video information |
| BilibiliWebApiApi | fetchCollectFoldersApiV1BilibiliWebFetchComPopularGet_0 | GET /api/v1/bilibili/web/fetch_com_popular | 获取综合热门视频信息/Get comprehensive popular video information |
| BilibiliWebApiApi |
Selected from shared topics, language and repository description—not editorial ratings.
awsdocs /
Welcome to the AWS Code Examples Repository. This repo contains code examples used in the AWS documentation, AWS SDK Developer Guides, and more. For more information, see the Readme.md file below.
Vishal-raj-1 /
This Repository contain awesome vanilla JavaScript projects.
smv1999 /
| GET /api/v1/bilibili/web/fetch_comment_reply |
| 获取视频下指定评论的回复/Get reply to the specified comment |
| BilibiliWebApiApi | fetchCollectFoldersApiV1BilibiliWebFetchCommentReplyGet_0 | GET /api/v1/bilibili/web/fetch_comment_reply | 获取视频下指定评论的回复/Get reply to the specified comment |
| BilibiliWebApiApi | fetchCollectFoldersApiV1BilibiliWebFetchLiveRoomDetailGet | GET /api/v1/bilibili/web/fetch_live_room_detail | 获取指定直播间信息/Get information of specified live room |
| BilibiliWebApiApi | fetchCollectFoldersApiV1BilibiliWebFetchLiveRoomDetailGet_0 | GET /api/v1/bilibili/web/fetch_live_room_detail | 获取指定直播间信息/Get information of specified live room |
| BilibiliWebApiApi | fetchCollectFoldersApiV1BilibiliWebFetchLiveStreamersGet | GET /api/v1/bilibili/web/fetch_live_streamers | 获取指定分区正在直播的主播/Get live streamers of specified live area |
| BilibiliWebApiApi | fetchCollectFoldersApiV1BilibiliWebFetchLiveStreamersGet_0 | GET /api/v1/bilibili/web/fetch_live_streamers | 获取指定分区正在直播的主播/Get live streamers of specified live area |
| BilibiliWebApiApi | fetchCollectFoldersApiV1BilibiliWebFetchLiveVideosGet | GET /api/v1/bilibili/web/fetch_live_videos | 获取直播间视频流/Get live video data of specified room |
| BilibiliWebApiApi | fetchCollectFoldersApiV1BilibiliWebFetchLiveVideosGet_0 | GET /api/v1/bilibili/web/fetch_live_videos | 获取直播间视频流/Get live video data of specified room |
| BilibiliWebApiApi | fetchCollectFoldersApiV1BilibiliWebFetchUserDynamicGet | GET /api/v1/bilibili/web/fetch_user_dynamic | 获取指定用户动态/Get dynamic information of specified user |
| BilibiliWebApiApi | fetchCollectFoldersApiV1BilibiliWebFetchUserDynamicGet_0 | GET /api/v1/bilibili/web/fetch_user_dynamic | 获取指定用户动态/Get dynamic information of specified user |
| BilibiliWebApiApi | fetchCollectFoldersApiV1BilibiliWebFetchUserProfileGet | GET /api/v1/bilibili/web/fetch_user_profile | 获取指定用户的信息/Get information of specified user |
| BilibiliWebApiApi | fetchCollectFoldersApiV1BilibiliWebFetchUserProfileGet_0 | GET /api/v1/bilibili/web/fetch_user_profile | 获取指定用户的信息/Get information of specified user |
| BilibiliWebApiApi | fetchCollectFoldersApiV1BilibiliWebFetchVideoCommentsGet | GET /api/v1/bilibili/web/fetch_video_comments | 获取指定视频的评论/Get comments on the specified video |
| BilibiliWebApiApi | [fetchCollectFoldersApiV1BilibiliWebFetchVideoCommentsGet_0](docs/BilibiliWebApiApi.md#fetchCollectFoldersApiV1Bilibili |
This repository contains all the popular Competitive Programming and DSA questions with solutions for your Coding Interview Preparation.
thepranaygupta /
A repository that contains all the Data Structures and Algorithms concepts and their implementation in several ways, programming questions and Interview questions. The main aim of this repository is to help students who are learning Data Structures and Algorithms or preparing for an interview.
sukritishah15 /
This repository contains codes for various data structures and algorithms in C, C++, Java, Python, C#, Go, JavaScript, PHP, Kotlin and Scala
james34602 /
Audio DSP effects build on Android system framework layer. This is a repository contains a pack of high quality DSP algorithms specialized for audio processing.