ye it is kinda strange, considering through this code using the google api:
local http = game:GetService('HttpService')
local api_key = ''--api key
local channel_id = 'UCs6yDXwXuKeLoz0d87Uhosg'
local url = 'https://www.googleapis.com/youtube/v3/channels?part=statistics&id='..channel_id..'&key='..api_key
local success,data = pcall(function()
return http:GetAsync(url)
end)
if data then
local decoded = http:JSONDecode(data)
local subs = decoded['items'][1]['statistics']['subscriberCount']
end
I’m pretty sure there is no possible solution for finding the exact amount, I tried looking through youtubes requests but they return everything abbreviated. Also, where would you webscrape the exact value from?
I’m sorry I was pretty ambiguous when I stated the thing about breaking the TOS. What I meant was that, in general, when a company gives you an API, they make web scraping that data a violation of the TOS. So you wouldn’t be breaking Roblox TOS, just Youtube’s (most likely). Though hey, Youtube most likely doesn’t care and they most likely won’t stop you. It’s just good to know.