Skip to main content

Unofficial API Livecounts.io

Project description

🎶 Unofficial Livecounts.io API

Unofficial API for Livecounts.io to retrieve live counts for users and videos on TikTok, YouTube, Twitter, Twitch, KickLive, Vlive, and Odysee

📝 Supported APIs

  • YouTube: User/Video Count
  • TikTok: User/Video Count
  • Twitter: User Count
  • Twitch: User Count
  • Kicklive: Use the Official API
  • Vlive: To be supported
  • Odysee-live: To be supported

🕵️ Usage

pip install unofficial_livecounts_api

Tiktok API

  • User API
from unofficial_livecounts_api.tiktok import TiktokAgent

# Find users
users = TiktokAgent.find_user(query="best")

# Live count a user
user_metric_by_user_id = TiktokAgent.fetch_user_metrics(query="123456789")
  • Video API
from unofficial_livecounts_api.tiktok import TiktokAgent

# Find a video
video_by_query = TiktokAgent.find_video(query="https://tiktok.com/@test/video/122222223233232?test1=value1")
video_by_video_id = TiktokAgent.find_video(query="122222223233232")

# Live count video
video_metric_by_query = TiktokAgent.fetch_video_metrics(
    query="https://tiktok.com/@test/video/122222223233232?test1=value1")
video_metric_by_video_id = TiktokAgent.fetch_video_metrics(query="122222223233232")

YouTube API

  • User API
from unofficial_livecounts_api.youtube import YoutubeAgent

# Find channels by given query
channels = YoutubeAgent.find_channel(query="test")

# Live count channel
channel_metrics_by_query = YoutubeAgent.fetch_channel_metrics(query="test")
  • Video API
from unofficial_livecounts_api.youtube import YoutubeAgent

# Find videos by given query
videos = YoutubeAgent.find_video(query="test")

# Live count a video
video_metrics_by_query = YoutubeAgent.fetch_video_metrics(query="123456789")

Twitter API

from unofficial_livecounts_api.twitter import TwitterAgent

# Find users by given query
user = TwitterAgent.find_user(query="jack")

# Live count user
metrics = TwitterAgent.fetch_user_metrics(query="jack")

Twitch API

from unofficial_livecounts_api.twitch import TwitchAgent

# Find users by given query
user = TwitchAgent.find_user(query="jack")

# Live count user
metrics = TwitchAgent.fetch_user_metrics(query="jack")

📛 Disclaimer

This project aimed to security research, testing purpose. Any misuse of this API for malicious purposes is not condoned. The developers of this API are not responsible for any illegal or unethical activities carried out using this API.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

unofficial_livecounts_api-0.1.6.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

unofficial_livecounts_api-0.1.6-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

Details for the file unofficial_livecounts_api-0.1.6.tar.gz.

File metadata

  • Download URL: unofficial_livecounts_api-0.1.6.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.10.15 Linux/6.5.0-1025-azure

File hashes

Hashes for unofficial_livecounts_api-0.1.6.tar.gz
Algorithm Hash digest
SHA256 c83b6149c82770954f20d12a06d8de1753f0748f3764747e6f6e550b0fda97a9
MD5 b0b6b1f77ebe483e1df7483f070b9013
BLAKE2b-256 820d2450ae6222bf6e782c12bfed5d6d44f8b5c9f0e97539a99318be99fefc52

See more details on using hashes here.

File details

Details for the file unofficial_livecounts_api-0.1.6-py3-none-any.whl.

File metadata

File hashes

Hashes for unofficial_livecounts_api-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 adc385a92649a7ce596133b74608592aa88e82a589b2f43eebf443c21a730c50
MD5 6ca2019a752470ef545db395b99e11e1
BLAKE2b-256 7f88cbe6cb217941a18833c6efd2cc8e54edb7b44fcc5f44a5865d0a71e4e2f5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page