Skip to content

Instantly share code, notes, and snippets.

@vishwanatharondekar
Created December 12, 2018 13:26
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vishwanatharondekar/5ede512666f3954c8cc8e396e303a0a3 to your computer and use it in GitHub Desktop.
Save vishwanatharondekar/5ede512666f3954c8cc8e396e303a0a3 to your computer and use it in GitHub Desktop.
{
"body": {
"results": {
"uri": "https://qa-api.hotstar.com/o/v1/page/2735?offset=0&size=10&tao=0&tas=10",
"pageType": "NAVIGATION_LANDING_PAGE",
"responseType": "TRAY_LIST",
"trays": {
"items": [
{
"title": "news masthead yash",
"traySource": "GRAVITY",
"layoutType": "MASTHEAD",
"addIdentifier": "BYW_TV_PERSONALIZED",
"trayTypeId": 1,
"traySourceId": 200,
"uqId": "4487_25_16",
"assets": {
"items": []
}
},
{
"title": "ADS",
"traySource": "THIRD_PARTY",
"addIdentifier": "news",
"trayTypeId": 402,
"traySourceId": 500,
"uqId": "4447_25_16"
},
{
"title": "EMPTY",
"traySource": "THIRD_PARTY",
"trayTypeId": 402,
"traySourceId": 500,
"uqId": "3405_25_16"
},
{
"title": "EMPTY",
"traySource": "THIRD_PARTY",
"addIdentifier": "news",
"trayTypeId": 402,
"traySourceId": 500,
"uqId": "3751_25_16"
},
{
"title": "News Masthead",
"uri": "https://qa-api.hotstar.com/o/v1/tray/m/3409/detail?tao=0&tas=10",
"traySource": "CATALOG",
"layoutType": "MASTHEAD",
"addIdentifier": "false",
"assets": {
"items": [
{
"title": "News 24 Think First",
"contentId": 1000119250,
"uri": "https://qa-api.hotstar.com/o/v1/content/detail?id=376450&offset=0&size=20&tao=0&tas=5",
"description": "News 24 is one of the most prominent Hindi News Channels bringing you all the Breaking News, Headlines, Live updates and detailed reports from India and across the globe. We also deliver India's biggest debate shows on all national issues. No twist, no spin, only News. Follow us for nonstop unbiased news coverage streaming live on Hotstar.",
"duration": 0,
"contentType": "SHOW_LIVE",
"contentProvider": "Unknown",
"cpDisplayName": "Unknown",
"assetType": "VIDEO",
"genre": [
"News"
],
"lang": [
"Hindi"
],
"premium": false,
"live": true,
"hboContent": false,
"encrypted": false,
"startDate": 1526968800,
"endDate": 1588962540,
"line1": "Separatists Violence",
"line2": "Security Forces Attacked",
"playbackUri": "https://qa-api.hotstar.com/h/v1/play?contentId=1000119250"
},
{
"title": "ABP Ananda",
"contentId": 1000119096,
"uri": "https://qa-api.hotstar.com/o/v1/content/detail?id=203242&offset=0&size=20&tao=0&tas=5",
"description": "ABP Ananda is a Bengali news channel delivering live breaking news, headlines, debates and latest updates from the developing stories in West Bengal, India and across the globe. Watch all the latest live updates from ABP Ananda, streaming on Hotstar.",
"duration": 0,
"contentType": "SHOW_LIVE",
"contentProvider": "ABP Ananda",
"cpDisplayName": "ABP Ananda",
"assetType": "VIDEO",
"genre": [
"News"
],
"lang": [
"Bengali audit"
],
"premium": false,
"live": true,
"hboContent": false,
"encrypted": false,
"startDate": 1512191700,
"endDate": 1602959340,
"line1": "BJP Workers' Death",
"line2": "12-hr Bandh",
"playbackUri": "https://qa-api.hotstar.com/h/v1/play?contentId=1000119096"
},
{
"title": "TV9 Kannada",
"contentId": 1000119251,
"uri": "https://qa-api.hotstar.com/o/v1/content/detail?id=367709&offset=0&size=20&tao=0&tas=5",
"description": "TV9 Kannada delivers breaking and live news alerts, updates and analysis in Kannada, from Karnataka, India and the world. Watch all the latest live updates from TV9 Kannada, streaming on Hotstar.",
"duration": 0,
"contentType": "SHOW_LIVE",
"contentProvider": "Unknown",
"cpDisplayName": "Unknown",
"assetType": "VIDEO",
"genre": [
"News"
],
"lang": [
"Kannada"
],
"premium": false,
"live": true,
"hboContent": false,
"encrypted": false,
"startDate": 1524893400,
"endDate": 4070975340,
"line1": "Karnataka gets new CM",
"line2": "Kumaraswamy floor test",
"playbackUri": "https://qa-api.hotstar.com/h/v1/play?contentId=1000119251"
},
{
"title": "Republic TV",
"contentId": 1000116802,
"uri": "https://qa-api.hotstar.com/o/v1/content/detail?id=203179&offset=0&size=20&tao=0&tas=5",
"description": "Republic TV with Arnab Goswami brings you live breaking news, headlines, debates and latest updates from developing stories in India and across the globe. Follow the biggest news stories on Republic TV, now streaming on Hotstar.",
"duration": 0,
"contentType": "SHOW_LIVE",
"contentProvider": "ARG Outlier Media Private Limited",
"cpDisplayName": "ARG Outlier Media Private Limited",
"assetType": "VIDEO",
"genre": [
"News"
],
"lang": [
"English"
],
"premium": false,
"live": true,
"hboContent": false,
"encrypted": false,
"startDate": 1494037800,
"endDate": 1557100740,
"line1": "Modi's SE Asia Trip",
"line2": "Modi in Singapore",
"playbackUri": "https://qa-api.hotstar.com/h/v1/play?contentId=1000116802"
},
{
"title": "Asianet News",
"contentId": 1000119061,
"uri": "https://qa-api.hotstar.com/o/v1/content/detail?id=203226&offset=0&size=20&tao=0&tas=5",
"description": "Asianet News delivers breaking and live news alerts, updates and analysis in Malayalam, from Kerala, India and the world. Watch all the latest live updates from Asianet News, streaming on Hotstar.",
"duration": 0,
"contentType": "SHOW_LIVE",
"contentProvider": "Unknown",
"cpDisplayName": "Unknown",
"assetType": "VIDEO",
"genre": [
"News"
],
"lang": [
"Malayalam"
],
"premium": false,
"live": true,
"hboContent": false,
"encrypted": false,
"startDate": 1509182700,
"endDate": 1602959340,
"line1": "Nipah Scare",
"line2": "Fresh Alert",
"playbackUri": "https://qa-api.hotstar.com/h/v1/play?contentId=1000119061"
},
{
"title": "ABP Majha",
"contentId": 1000119099,
"uri": "https://qa-api.hotstar.com/o/v1/content/detail?id=203246&offset=0&size=20&tao=0&tas=5",
"description": "ABP Majha is a Marathi news channel delivering live breaking news, headlines, debates and latest updates from the developing stories in Maharashtra, India and across the globe. Watch all the latest live updates from ABP Majha, streaming on Hotstar.",
"duration": 0,
"contentType": "SHOW_LIVE",
"contentProvider": "In house",
"cpDisplayName": "In house",
"assetType": "VIDEO",
"genre": [
"News"
],
"lang": [
"Marathi"
],
"premium": false,
"live": true,
"hboContent": false,
"encrypted": false,
"startDate": 1512638400,
"endDate": 1602959340,
"line1": "Obituary",
"line2": "Rice Breeder Dadaji Khobragade no more",
"playbackUri": "https://qa-api.hotstar.com/h/v1/play?contentId=1000119099"
},
{
"title": "Fox News",
"contentId": 1000102697,
"uri": "https://qa-api.hotstar.com/o/v1/content/detail?id=203067&offset=0&size=20&tao=0&tas=5",
"description": "Fox News brings you the latest news alerts, updates and analysis from America and the world. Watch all the latest live updates from Fox News, streaming on Hotstar.",
"duration": 0,
"contentType": "SHOW_LIVE",
"contentProvider": "NA",
"cpDisplayName": "NA",
"assetType": "VIDEO",
"genre": [
"News"
],
"lang": [
"English"
],
"premium": false,
"live": true,
"hboContent": false,
"encrypted": false,
"startDate": 1468681200,
"endDate": 4072012200,
"line1": "Anti-Gun Campaign",
"line2": "Thousands March Across New York",
"playbackUri": "https://qa-api.hotstar.com/h/v1/play?contentId=1000102697"
}
],
"totalResults": 15,
"offset": 0,
"size": 10,
"nextOffsetURL": "https://qa-api.hotstar.com/o/v1/tray/m/3409/assets?tao=10&tas=10",
"totalPages": 2,
"totalPageResults": 7
},
"trayTypeId": 1,
"traySourceId": 100,
"uqId": "3409"
},
{
"title": "Aaj Tak Test",
"uri": "https://qa-api.hotstar.com/o/v1/tray/e/4497/detail?tao=0&tas=10",
"traySource": "CATALOG",
"layoutType": "HORIZONTAL",
"addIdentifier": "false",
"assets": {
"items": [
{
"title": "Watch| Protestors pour kerosene oil on police personnel in Siliguri",
"contentId": 1351234564,
"uri": "https://qa-api.hotstar.com/o/v1/content/detail?id=428608&offset=0&size=20&tao=0&tas=5",
"description": "The Left cadres protesting in Hill Cart road in Siliguri poured kerosene oil on the police personnel. The protestors continued to beat the cops leaving them severely injured.",
"duration": 44,
"contentType": "NEWS_CLIPS",
"contentProvider": "INDIATODAY",
"cpDisplayName": "INDIATODAY",
"assetType": "VIDEO",
"genre": [
"News"
],
"lang": [
"English"
],
"premium": false,
"live": false,
"hboContent": false,
"encrypted": false,
"startDate": 1537864200,
"endDate": 4102424999,
"playbackUri": "https://qa-api.hotstar.com/h/v1/play?contentId=1351234564",
"images": {
"h": "sources/r1/cms/qa/6606/26606-h"
}
},
{
"title": "Is there now a need for Modi govt to probe Rafale deal charges?",
"contentId": 1351234561,
"uri": "https://qa-api.hotstar.com/o/v1/content/detail?id=428612&offset=0&size=20&tao=0&tas=5",
"description": "Watch BJP minister Prakash Javadekar and Congress MP Abhishek Manu Singhvi debate in a big Rafale deal showdown.",
"duration": 2193,
"contentType": "NEWS_CLIPS",
"contentProvider": "INDIATODAY",
"cpDisplayName": "INDIATODAY",
"assetType": "VIDEO",
"genre": [
"News"
],
"lang": [
"English"
],
"premium": false,
"live": false,
"hboContent": false,
"encrypted": false,
"startDate": 1537867800,
"endDate": 4102424999,
"playbackUri": "https://qa-api.hotstar.com/h/v1/play?contentId=1351234561",
"images": {
"h": "sources/r1/cms/qa/6605/26605-h"
}
},
{
"title": "Watch| Bellandur Lake begins to froth",
"contentId": 1351234566,
"uri": "https://qa-api.hotstar.com/o/v1/content/detail?id=428617&offset=0&size=20&tao=0&tas=5",
"description": "The infamous Bellandur Lake is frothing again in spite of measures put in place by the local agencies and the state government. Sewage still enters the lake.",
"duration": 76,
"contentType": "NEWS_CLIPS",
"contentProvider": "INDIATODAY",
"cpDisplayName": "INDIATODAY",
"assetType": "VIDEO",
"genre": [
"News"
],
"lang": [
"English"
],
"premium": false,
"live": false,
"hboContent": false,
"encrypted": false,
"startDate": 1537865100,
"endDate": 4102424999,
"playbackUri": "https://qa-api.hotstar.com/h/v1/play?contentId=1351234566",
"images": {
"h": "sources/r1/cms/qa/6608/26608-h"
}
},
{
"title": "65 Watch| Protestors pour kerosene oil on police personnel in Siliguri",
"contentId": 1351234565,
"uri": "https://qa-api.hotstar.com/o/v1/content/detail?id=428618&offset=0&size=20&tao=0&tas=5",
"description": "The Left cadres protesting in Hill Cart road in Siliguri poured kerosene oil on the police personnel. The protestors continued to beat the cops leaving them severely injured.",
"duration": 44,
"contentType": "NEWS_CLIPS",
"contentProvider": "INDIATODAY",
"cpDisplayName": "INDIATODAY",
"assetType": "VIDEO",
"genre": [
"News"
],
"lang": [
"English"
],
"premium": false,
"live": false,
"hboContent": false,
"encrypted": false,
"startDate": 1537864200,
"endDate": 4102424999,
"playbackUri": "https://qa-api.hotstar.com/h/v1/play?contentId=1351234565",
"images": {
"h": "sources/r1/cms/qa/6609/26609-h"
}
}
],
"totalResults": 4,
"offset": 0,
"size": 10,
"totalPages": 1,
"totalPageResults": 4
},
"trayTypeId": 12,
"traySourceId": 100,
"uqId": "4497"
},
{
"title": "Imran Khan Wins Elections",
"uri": "https://qa-api.hotstar.com/o/v1/tray/e/4101/detail?tao=0&tas=10",
"traySource": "CATALOG",
"assets": {
"totalResults": 10,
"offset": 0,
"size": 10,
"totalPages": 1,
"totalPageResults": 0
},
"trayTypeId": 12,
"traySourceId": 100,
"uqId": "4101"
},
{
"title": "Trending News",
"traySource": "GRAVITY",
"addIdentifier": "NEWS_RECENCY",
"trayTypeId": 804,
"traySourceId": 200,
"uqId": "3410_25_16",
"assets": {
"items": []
}
}
],
"totalResults": 49,
"offset": 0,
"size": 10,
"nextOffsetURL": "https://qa-api.hotstar.com/o/v1/tray/20/25/16/all?offset=10&size=10&tao=0&tas=10",
"totalPages": 5,
"totalPageResults": 8
},
"refIdentifier": ""
}
},
"statusCode": "OK",
"statusCodeValue": 200
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment