Wrote this code on the requirement of a customer. Then i thought, maybe there can be many other people who neeed this code some i uploaded it on github with creative commen license. So anyone can use this code.
Explaination:
-
there is a function/method named 'fetcher' who takes channel name as prameter.
-
After calling this function it return following:
i) channel subscriber amount ii) total view on channel iii) channel type iv) montly revenue v) yearly revenue vi) profile picture address vii) cover picture address
3. if any functionality or searching error occcur, then it returns error(this code removed from code due to customer requirement.)
- return format of data is json.
Basically this code get data from "https://socialblade.com".