Discover and explore top open-source AI tools and projects—updated daily.
TikHubUnified API SDK for 16+ social media platforms
Top 51.3% on SourcePulse
Summary
TikHub API Python SDK provides unified, high-performance access to real-time data from over 16 social media platforms, including TikTok, Instagram, YouTube, and Twitter/X. It targets developers, data scientists, and AI engineers needing structured data for AI training, trend monitoring, and market research, offering a single API key and 1000+ endpoints to simplify complex data acquisition.
How It Works
The SDK is mechanically generated from the TikHub OpenAPI specification, guaranteeing 100% endpoint coverage and consistency. It offers both synchronous (TikHub) and asynchronous (AsyncTikHub) clients with identical APIs, built on httpx and pydantic v2 for type safety and performance. Production-ready features include automatic retries with exponential backoff and robust rate-limit handling, ensuring reliable data retrieval.
Quick Start & Requirements
pip install tikhubTIKHUB_API_KEY environment variable or constructor argument.mkdocs serve after installing with pip install "tikhub[docs]".Highlighted Details
pip install "tikhub[cli]") for API health checks, universal video URL parsing, and usage monitoring.Maintenance & Community
The project is actively maintained, indicated by version 2.1.1 and a clear process for refreshing the OpenAPI spec. No specific community channels (like Discord/Slack) or notable contributors are detailed in the provided text.
Licensing & Compatibility
The SDK is released under the MIT License, generally permissive for commercial use and integration into closed-source projects.
Limitations & Caveats
The README does not specify any alpha status, known bugs, or unsupported platforms. The primary dependency is the availability and terms of service of the TikHub API itself.
2 weeks ago
Inactive
anthropics