I'm trying to insert into my app the number of subscribers and views from a channel on YouTube. How do I do that?
I've already setup the YouTube API and gotten my API Key.
I also have the URL that gives me the code below.
How do I turn this:
{
"kind": "youtube#channelListResponse",
"etag": "REMOVED",
"pageInfo": {
"totalResults": 1,
"resultsPerPage": 1
},
"items": [
{
"kind": "youtube#channel",
"etag": "REMOVED",
"id": "REMOVED",
"statistics": {
"viewCount": "13398211",
"commentCount": "28",
"subscriberCount": "182758",
"hiddenSubscriberCount": false,
"videoCount": "84"
}
}
]
}