Last active
November 11, 2018 11:56
-
-
Save productioncoder/54d827228d8eb9abf36cf8ee8cfeeba4 to your computer and use it in GitHub Desktop.
Youtube in React: Redux state with channels
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"api": { | |
"libraryLoaded": true | |
}, | |
"videos": { | |
"byId": { | |
"videoId1": { | |
"snippet": { | |
"channelId": "channelId1" | |
}, | |
"thumbnails": {} | |
}, | |
"videoId2": { | |
"snippet": { | |
"channelId": "channelId2" | |
}, | |
"thumbnails": {} | |
} | |
}, | |
"mostPopular": { | |
"items": ["videoId1"], | |
"totalResults": 200, | |
"nextPageToken": "asdfasdfasdfasdfddd" | |
}, | |
"categories": { | |
"1": "Film & Animation", | |
"2": "Music" | |
}, | |
"byCategory": { | |
"categoryId1": { | |
"totalResults": 200, | |
"nextPageToken": "some-token", | |
"items": ["videoId1"] | |
} | |
}, | |
"related": { | |
"videoId1": { | |
"totalResults": 200, | |
"nextPageToken": "some-page-token", | |
"items": ["videoId2"] | |
} | |
} | |
}, | |
"channels": { | |
"byId": { | |
"channelId1": { | |
"id": "channelId1", | |
"snippet": {}, | |
"statistics": {} | |
}, | |
"channelId2": { | |
"id": "channelId2", | |
"snippet": {}, | |
"statistics": {} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment