Posts

Showing posts from March, 2019

How to get Subscriber Count in Sketchware.

Image
1) First Create a New Sketchware project. 2) Then add EditText as edittext1 , Button as button1 , TextView as textview5, textview2, textview3, textview4 . Add two string variables as g and h . Add two map variables as map and map1 . Add a List Map Variable as mapy. textview5 for Channel Name, textview2 for Subscribers, textview3 for Views, textview4 for Videos. Then add a Request Network Component with name cha . 3)Add a more block named ytch with strings id and key. Then add some blocks as a video below The first link used is   https://www.googleapis.com/youtube/v3/channels?part=snippet%2Cstatistics&id=   and the second link is    https://www.youtube.com/channel/ and last code is    &key=  4) Then add a button1 on Click event and do as below: Your Api Key must be replaced with your API Key. If you don't know how to get the API key you can watch the below video and don't forgot to enable youtube APIs 5) Then in cha onResponse do like the video below: The co