Hi every one, I want to search by only videos.
I do not want to search by channel or game as specified in search api.
I want to search for videos that are already saved, such as the green box below.
how to get it?
Their own search is through a special API via Algolia. I don’t suspect that this is then available outside of Twitch for 3rd party devs.
However, I can at least show you an example from the API. I’ve limited the results
array down to just the videos that you’re looking for.
{
"results": [
{
"nbHits": 13158,
"page": 0,
"nbPages": 167,
"hitsPerPage": 6,
"processingTimeMS": 27,
"exhaustiveNbHits": false,
"query": "hero",
"params": "query=hero&page=0&hitsPerPage=6&numericFilters=created_at%3E1497328405",
"index": "vod",
"hits": [
{
"broadcast_type": "upload",
"broadcast_type_priority": 300,
"broadcaster_id": "156884209",
"broadcaster_login": "tobeyg44",
"broadcaster_name": "tobeyg44",
"created_at": 1498970137,
"description": "Please forgive the first few minutes of silence; I get my mic working around 7:00 in.",
"game": "Bit Heroes",
"game_aliases": [],
"game_name_localizations": {},
"language": "en",
"length": 4039,
"tags": [ "" ],
"thumbnail": "https://static-cdn.jtvnw.net/s3_vods/tobeyg44/155958373/637eda06-1965-48ec-9aad-c7f92b3635a0/thumb/index-0000000000-208x117.jpg",
"title": "Trial 170 Run -- First T6 Set Piece EVER Earned @ 58:40!",
"views": 511,
"objectID": "155958373",
"_highlightResult": {
"broadcaster_login": {
"value": "tobeyg44",
"matchLevel": "none",
"matchedWords": []
},
"broadcaster_name": {
"value": "tobeyg44",
"matchLevel": "none",
"matchedWords": []
},
"description": {
"value": "Please forgive the first few minutes of silence; I get my mic working around 7:00 in.",
"matchLevel": "none",
"matchedWords": []
},
"game": {
"value": "Bit <em>Hero</em>es",
"matchLevel": "full",
"fullyHighlighted": false,
"matchedWords": [ "hero" ]
},
"tags": [
{
"value": "",
"matchLevel": "none",
"matchedWords": []
}
],
"title": {
"value": "Trial 170 Run -- First T6 Set Piece EVER Earned @ 58:40!",
"matchLevel": "none",
"matchedWords": []
}
}
},
{
"broadcast_type": "upload",
"broadcast_type_priority": 300,
"broadcaster_id": "136402464",
"broadcaster_login": "arcane8",
"broadcaster_name": "Arcane8",
"created_at": 1499278235,
"description": "Top 5 plays from HGC Open Division Cup #1 - Phast 2\n\nCompete in HGC Open Division: http://www.gosugamers.net/heroesofthestorm/tournaments/13238-hgc-north-america-open-division/stages\n\nTitle: Outbreak (feat.MYLK) by Feint\niTunes Download Link: https://itunes.apple.com/us/album/rocket-league-x-monstercat-vol-1/id1241516490?app=itunes&ign-mpt=uo%3D4\nListen on Spotify: \n https://open.spotify.com/track/7z7C5QwBXXfGLf8kU2IWqF\nVideo Link: https://www.youtube.com/watch?v=2PD1I5k0-ZY",
"game": "Heroes of the Storm",
"game_aliases": [ "Blizzard All-Stars", "Blizzard DOTA", "HOTS" ],
"game_name_localizations": {},
"language": "en",
"length": 85,
"tags": [ "esports", "heroes of the storm", "hots" ],
"thumbnail": "https://static-cdn.jtvnw.net/s3_vods/arcane8/156824912/d5e41587-fa67-42f3-a448-0432f717b0b8/thumb/customb295c07b753f9197-208x117.png",
"title": "Top 5 Plays HGC Open #1 Phase 2",
"views": 240,
"objectID": "156824912",
"_highlightResult": {
"broadcaster_login": {
"value": "arcane8",
"matchLevel": "none",
"matchedWords": []
},
"broadcaster_name": {
"value": "Arcane8",
"matchLevel": "none",
"matchedWords": []
},
"description": {
"value": "Top 5 plays from HGC Open Division Cup #1 - Phast 2\n\nCompete in HGC Open Division: http://www.gosugamers.net/<em>hero</em>esofthestorm/tournaments/13238-hgc-north-america-open-division/stages\n\nTitle: Outbreak (feat.MYLK) by Feint\niTunes Download Link: https://itunes.apple.com/us/album/rocket-league-x-monstercat-vol-1/id1241516490?app=itunes&ign-mpt=uo%3D4\nListen on Spotify: \n https://open.spotify.com/track/7z7C5QwBXXfGLf8kU2IWqF\nVideo Link: https://www.youtube.com/watch?v=2PD1I5k0-ZY",
"matchLevel": "full",
"fullyHighlighted": false,
"matchedWords": [ "hero" ]
},
"game": {
"value": "<em>Hero</em>es of the Storm",
"matchLevel": "full",
"fullyHighlighted": false,
"matchedWords": [ "hero" ]
},
"tags": [
{
"value": "esports",
"matchLevel": "none",
"matchedWords": []
},
{
"value": "<em>hero</em>es of the storm",
"matchLevel": "full",
"fullyHighlighted": false,
"matchedWords": [ "hero" ]
},
{
"value": "hots",
"matchLevel": "none",
"matchedWords": []
}
],
"title": {
"value": "Top 5 Plays HGC Open #1 Phase 2",
"matchLevel": "none",
"matchedWords": []
}
}
},
{
"broadcast_type": "upload",
"broadcast_type_priority": 300,
"broadcaster_id": "156884209",
"broadcaster_login": "tobeyg44",
"broadcaster_name": "tobeyg44",
"created_at": 1499745907,
"description": "Last time you saw me stream, I earned a set on the last run of the day. It happened again!\nWe discussed a lot, including:\n\n1:04 : The beginning of the stream\n5:00 : Discussing the variability and customization of the new set pieces\n10:38 : Two doubloons earned in 1 gauntlet run\n16:00 : A history of the #1 players\n27:55 : Gauntlet strategy vs. Trials strategy\n29:00 : Gauntlet XP optimization\n44:45 : Where to find particular T6 sets\n1:11:00 : My dream featuring SSS\n1:20:00 : A tour of the K Guild Hall\n1:48:00 : Prepping for my last run (\"I don't think lightning will strike twice...\"\n1:54:00 : Fighting the G170 boss before earning the set--yet again, on the last run of the day!\n",
"game": "Bit Heroes",
"game_aliases": [],
"game_name_localizations": {},
"language": "en",
"length": 7137,
"tags": [ "" ],
"thumbnail": "https://static-cdn.jtvnw.net/s3_vods/tobeyg44/158185572/b677ef47-c385-4990-a14e-5b82ad5651bc/thumb/index-0000000000-208x117.jpg",
"title": "Lightning struck TWICE! another T6 set earned on the last run of the day!",
"views": 141,
"objectID": "158185572",
"_highlightResult": {
"broadcaster_login": {
"value": "tobeyg44",
"matchLevel": "none",
"matchedWords": []
},
"broadcaster_name": {
"value": "tobeyg44",
"matchLevel": "none",
"matchedWords": []
},
"description": {
"value": "Last time you saw me stream, I earned a set on the last run of the day. It happened again!\nWe discussed a lot, including:\n\n1:04 : The beginning of the stream\n5:00 : Discussing the variability and customization of the new set pieces\n10:38 : Two doubloons earned in 1 gauntlet run\n16:00 : A history of the #1 players\n27:55 : Gauntlet strategy vs. Trials strategy\n29:00 : Gauntlet XP optimization\n44:45 : Where to find particular T6 sets\n1:11:00 : My dream featuring SSS\n1:20:00 : A tour of the K Guild Hall\n1:48:00 : Prepping for my last run (\"I don't think lightning will strike twice...\"\n1:54:00 : Fighting the G170 boss before earning the set--yet again, on the last run of the day!\n",
"matchLevel": "none",
"matchedWords": []
},
"game": {
"value": "Bit <em>Hero</em>es",
"matchLevel": "full",
"fullyHighlighted": false,
"matchedWords": [ "hero" ]
},
"tags": [
{
"value": "",
"matchLevel": "none",
"matchedWords": []
}
],
"title": {
"value": "Lightning struck TWICE! another T6 set earned on the last run of the day!",
"matchLevel": "none",
"matchedWords": []
}
}
},
{
"broadcast_type": "upload",
"broadcast_type_priority": 300,
"broadcaster_id": "134013120",
"broadcaster_login": "fairycrumbs",
"broadcaster_name": "fairycrumbs",
"created_at": 1498993037,
"description": "thank you for the fun night xoxo",
"game": "Heroes of the Storm",
"game_aliases": [ "Blizzard All-Stars", "Blizzard DOTA", "HOTS" ],
"game_name_localizations": {},
"language": "en",
"length": 9285,
"tags": [ "" ],
"thumbnail": "https://static-cdn.jtvnw.net/s3_vods/fairycrumbs/155879613/1f9cd0d5-8e31-4a78-b417-5f9b0527e206/thumb/index-0000000000-208x117.jpg",
"title": "light me up sweet cheeks :)",
"views": 91,
"objectID": "155879613",
"_highlightResult": {
"broadcaster_login": {
"value": "fairycrumbs",
"matchLevel": "none",
"matchedWords": []
},
"broadcaster_name": {
"value": "fairycrumbs",
"matchLevel": "none",
"matchedWords": []
},
"description": {
"value": "thank you for the fun night xoxo",
"matchLevel": "none",
"matchedWords": []
},
"game": {
"value": "<em>Hero</em>es of the Storm",
"matchLevel": "full",
"fullyHighlighted": false,
"matchedWords": [ "hero" ]
},
"tags": [
{
"value": "",
"matchLevel": "none",
"matchedWords": []
}
],
"title": {
"value": "light me up sweet cheeks :)",
"matchLevel": "none",
"matchedWords": []
}
}
},
{
"broadcast_type": "upload",
"broadcast_type_priority": 300,
"broadcaster_id": "161722296",
"broadcaster_login": "scraggle18",
"broadcaster_name": "Scraggle18",
"created_at": 1498553942,
"description": "Here is my submission for the STARFALL CHALLENGE!",
"game": "Villagers and Heroes",
"game_aliases": [],
"game_name_localizations": {},
"language": "en",
"length": 3826,
"tags": [ "" ],
"thumbnail": "https://static-cdn.jtvnw.net/s3_vods/scraggle18/154740928/16aca0e1-99b6-452c-86e5-705731e60315/thumb/index-0000000000-208x117.jpg",
"title": "\"Following Scraggle Around\" HOPEFULLY LESS CHOPPY",
"views": 91,
"objectID": "154740928",
"_highlightResult": {
"broadcaster_login": {
"value": "scraggle18",
"matchLevel": "none",
"matchedWords": []
},
"broadcaster_name": {
"value": "Scraggle18",
"matchLevel": "none",
"matchedWords": []
},
"description": {
"value": "Here is my submission for the STARFALL CHALLENGE!",
"matchLevel": "none",
"matchedWords": []
},
"game": {
"value": "Villagers and <em>Hero</em>es",
"matchLevel": "full",
"fullyHighlighted": false,
"matchedWords": [ "hero" ]
},
"tags": [
{
"value": "",
"matchLevel": "none",
"matchedWords": []
}
],
"title": {
"value": "\"Following Scraggle Around\" HOPEFULLY LESS CHOPPY",
"matchLevel": "none",
"matchedWords": []
}
}
},
{
"broadcast_type": "upload",
"broadcast_type_priority": 300,
"broadcaster_id": "72410526",
"broadcaster_login": "lazy0ren",
"broadcaster_name": "Lazy0Ren",
"created_at": 1497721014,
"description": "ostruppen\nostruppen\nlots of ostruppen and more ostruppen.",
"game": "Company of Heroes 2",
"game_aliases": [ "CoH2" ],
"game_name_localizations": {},
"language": "ko",
"length": 3307,
"tags": [ "" ],
"thumbnail": "https://static-cdn.jtvnw.net/s3_vods/lazy0ren/152504367/8a0e3a49-6967-4d6b-9336-a7cd0d50f101/thumb/custom6d240e45a6e04cc1-208x117.jpeg",
"title": "LazyRen(UKF),Vasto(Soviet) vs GentleFox(WM),Barbarossa(OKW)",
"views": 84,
"objectID": "152504367",
"_highlightResult": {
"broadcaster_login": {
"value": "lazy0ren",
"matchLevel": "none",
"matchedWords": []
},
"broadcaster_name": {
"value": "Lazy0Ren",
"matchLevel": "none",
"matchedWords": []
},
"description": {
"value": "ostruppen\nostruppen\nlots of ostruppen and more ostruppen.",
"matchLevel": "none",
"matchedWords": []
},
"game": {
"value": "Company of <em>Hero</em>es 2",
"matchLevel": "full",
"fullyHighlighted": false,
"matchedWords": [ "hero" ]
},
"tags": [
{
"value": "",
"matchLevel": "none",
"matchedWords": []
}
],
"title": {
"value": "LazyRen(UKF),Vasto(Soviet) vs GentleFox(WM),Barbarossa(OKW)",
"matchLevel": "none",
"matchedWords": []
}
}
}
]
}
]
}
Thank you for the help Alca.
I would like to receive the data response as in your example above.
Do you give me your request url?
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.