{"info":{"_postman_id":"0181725d-f099-4ff6-8d88-1c4a5bd081d9","name":"Dailyhunt Content Syndication","description":"
Partner Integration Reference Version 2.2
\nDailyhunt is offering it’s rich catalogue of content via a seamless API integration. This document describes the details on how a partner can integrate with its Content Syndication API. It will help you understand the technical details of how you can integrate with Dailyhunt’s API, expectations from you & the API protocol specification.
\n\n\nThis section describes the technical details of how to invoke Dailyhunt’s Syndication API. It will help you understand how to use the API security, message signing & the API protocol needed for integration.
\n\nDuring onboarding, Dailyhunt will provision the following items for your integration:
\n\n\n| Item\n | \nDescription\n | \n
| API Key\n | \nAPI access key needed for authentication of the API client\n | \n
| Secret Key\n | \nNeeded for signing the API parameters to generate a signature for API authentication\n | \n
| Partner Code\n | \nPartner identification code\n | \n
| Item\n | \nDescription\n | \n
| Unique Partner user id (puid)\n | \nYour unique user id accessing Dailyhunt API\n | \n
| API Key\n | \nAPI access key needed for authentication of the api user\n | \n
| API Signature\n | \nThe API authentication signature generated using Secret Key\n | \n
| Partner Code\n | \nPartner identification code\n | \n
| Dailyhunt Cookie (dhFeedV1)\n | \nDailyhunt generated cookie (as received from the very first API call) per user\n | \n
The following section describes in detail, the steps needed for integration, including how to generate some of the above fields & how to include them in the API calls.
\nGet API Keys and partner code from Dailyhunt
\nEstablish Signature generation for requests and get response from APIs
\nPuid generation: Unique id for each user to be passed for each request
\nChoose channels from Applicable options below and get configured from Dailyhunt\n - News Channels\n - Video Channels\n - DailyShare Channels\n - Location Channels
\nInclude language onboarding for user to select content language (Recommended)
\nIntegrate Tracking API
\nPlace attribution request along with tracking
\nShare estimated volume and rollout plan with Dailyhunt
\nSince the APIs are protected, you will need to generate a message signature using the secret key as described below and pass it along with the API Key to all the API calls.
\nTo generate a Signature Base String, you will need to do the following steps:
\nAppend ts= in the url as query parameter.
\nURL encode the parameter key & value pairs.
\nSort all the request query parameters lexicographically, sorted on encoded key.
\nAppend all the key=value with “_&_” as separator if more than one key=value is present.
\nUppercase the http method used in the url and in that, append the string from #4 above. This new string (encoded sorted parameters + uppercase http method) represents the Signature Base String.
\nFor testing out the APIs in Postman, this collection includes a Pre-request Script, which handles the generation of Signature. You can use the test environment provided with the collection
\nReplace the below values by values provided by Dailyhunt to test, in the postman environment or the below sample snippets.
\nOr use one of the below sample snippets which use API Key & Secret Key to generate signature and to invoke Dailyhunt API
\n<!DOCTYPE html>\n<html>\n\n<head>\n <title>Dailyhunt Content Syndication</title>\n <style>\n pre {\n width: 100%;\n overflow-x: auto;\n white-space: pre-wrap;\n white-space: -moz-pre-wrap;\n white-space: -pre-wrap;\n white-space: -o-pre-wrap;\n word-wrap: break-word;\n }\n </style>\n <link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/github.min.css\">\n <script type=\"text/javascript\" src=\"https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js\"></script>\n <script src=\"https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.15.9/highlight.min.js\"></script>\n <script src=\"https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.1.9-1/core.js\"></script>\n <script src=\"https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.1.9-1/hmac.js\"></script>\n <script src=\"https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.1.9-1/sha1.js\"></script>\n <script src=\"https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.1.9-1/enc-base64.js\"></script>\n <script>\n $.support.cors = true;\n hljs.initHighlightingOnLoad();\n </script>\n</head>\n\n<body>\n <div>\n <pre><code id=\"result\" class=\"json hljs\" style=\"opacity: 1;\"></code></pre>\n </div>\n <script>\n var urlParams = new URLSearchParams(window.location.search);\n var type = urlParams.get(\"type\") ? urlParams.get(\"type\") : \"items\";\n var partner = urlParams.get(\"partner\") ? urlParams.get(\"partner\") : '<PARTNER_CODE>';\n var channelId = urlParams.get(\"cid\") ? urlParams.get(\"cid\") : 5;\n var langCode = urlParams.get(\"langCode\") ? urlParams.get(\"langCode\") : 'en';\n var env = urlParams.get(\"env\") ? urlParams.get(\"env\") : \"qa\";\n var fm = urlParams.get(\"fm\") ? urlParams.get(\"fm\") : 0;\n var pfm = urlParams.get(\"pfm\") ? urlParams.get(\"pfm\") : 0;\n var puid = urlParams.get(\"puid\")? urlParams.get(\"puid\"):123;\n var ts = urlParams.get(\"ts\")? urlParams.get(\"ts\"):Date.now();\n var fields = urlParams.get(\"fields\")? urlParams.get(\"fields\"):'';\n var pagesize = urlParams.get(\"pageSize\")?urlParams.get(\"pageSize\"):'';\n var config = {\n prod: {\n domain: \"http://feed.dailyhunt.in\",\n keys: {\n PARTNER_CODE: [\"YOUR_PROD_API_KEY\",\"YOUR_PROD_SECRET_KEY\"]\n }\n },\n qa: {\n domain: \"http://qa-news.newshunt.com\",\n keys: {\n PARTNER_CODE: [\"YOUR_STAGE_API_KEY\",\"YOUR_STAGE_SECRET_KEY\"]\n }\n }\n };\n if (!partner) {\n document.getElementById(\"demo\").innerHTML = \"Partner ID is missing\";\n } else if (!config[env].keys[partner]) {\n document.getElementById(\"demo\").innerHTML = \"Partner keys are missing\";\n }\n var domain = config[env].domain;\n console.log(domain)\n var apiKey = config[env].keys[partner][0];\n var apiSecretKey = config[env].keys[partner][1];\n urlRequestParamToMap = function urlRequestParamToMap(url) {\n var keyValueMapping = {};\n if (url) {\n var params = url.split(\"&\");\n var arrayLength = params.length;\n for (var i = 0; i < arrayLength; i++) {\n var keyValue = params[i].split(\"=\");\n var key = encodeURI(keyValue[0]);\n var value = keyValue.length == 2 ? keyValue[1] : \"\";\n // keyValueMapping[key] = encodeURI(value);\n keyValueMapping[key] = encodeURIComponent(value);\n }\n }\n console.log(\"keyValueMapping:\" + JSON.stringify(keyValueMapping));\n return keyValueMapping;\n };\n //Generate SignatureBasevW1bXc1y7qzsYEEq5AAZ1BokhbgRtdLjGI8I3FKlcwQ=\n generateSignatureBase = function (queryString, method) {\n if (queryString) {\n var queryParams = this.urlRequestParamToMap(queryString);\n var encodedAndSortedQueryParams = {};\n Object.keys(queryParams).sort().forEach(function (key) {\n if(queryParams[key]!='')\n encodedAndSortedQueryParams[key] = queryParams[key];\n });\n console.log(\"encodedAndSortedQueryParams:\" + JSON.stringify(encodedAndSortedQueryParams));\n var signatureBaseBuffer = JSON.stringify(encodedAndSortedQueryParams);\n method = method;\n signatureBaseBuffer = signatureBaseBuffer.replace(/:/g, '=')\n .replace(/,/g, '&').replace(/\"/g, '')\n .replace(/[{ }]/g, '') + method;\n console.log('stringbuffer '+signatureBaseBuffer);\n var encrypted = CryptoJS.HmacSHA1(signatureBaseBuffer, apiSecretKey);\n console.log('encrypted '+encrypted);\n var s64 = CryptoJS.enc.Base64.stringify(encrypted);\n console.log(\"s64: \" + s64);\n return s64;\n }\n };\n var url = \"partner=\" + partner + \"&puid=\" + puid + \"&langCode=\" + langCode + '&ts=' + ts;\n if (fm) {\n url += \"&fm=\" + fm;\n }\n if (pfm) {\n url += \"&pfm=\" + pfm;\n }\n if (type == \"items\") {\n url += \"&cid=\" + channelId;\n }\n if(fields) {\n url += \"&fields=\" + fields;\n }\n if(pagesize) {\n url += \"&pageSize=\" + pagesize;\n }\n console.log(\"querystring \" + url);\n var s64 = generateSignatureBase(url, \"GET\")\n var xhttp = new XMLHttpRequest();\n xhttp.onreadystatechange = function () {\n if (this.readyState == 4 && this.status == 200) {\n // Typical action to be performed when the document is ready:\n var response = xhttp.responseText;\n response = JSON.stringify(JSON.parse(response), undefined, 4);\n var result = document.getElementById(\"result\");\n result.innerHTML = response\n .replace(/\\n/g, \"<br/>\")\n .replace(/\\\\n/g, \" \")\n .replace(/\\t/g, \" \");\n\n hljs.highlightBlock(result);\n }\n };\n xhttp.withCredentials = true;\n var url = domain + \"/api/v2/syndication/\" + type + \"?\" + url;\n console.log(\"url =\"+url);\n xhttp.open(\"GET\", url, true);\n xhttp.setRequestHeader(\"SSL_CONNECTION\", \"HTTPS\");\n xhttp.setRequestHeader(\"Authorization\", \"key=\" + apiKey);\n xhttp.setRequestHeader(\"Signature\", s64);\n xhttp.setRequestHeader(\"Content-type\", \"application/json\");\n xhttp.send();\n </script>\n</body>\n\n</html>\n\n/*\n * Copyright (c) 2019 Dailyhunt. All rights reserved.\n */\n\nimport java.io.BufferedWriter;\nimport java.io.FileWriter;\nimport java.io.IOException;\nimport java.io.UnsupportedEncodingException;\nimport java.net.URLEncoder;\nimport java.security.InvalidKeyException;\nimport java.security.NoSuchAlgorithmException;\nimport java.security.SignatureException;\nimport java.util.HashMap;\nimport java.util.Map;\nimport java.util.TreeMap;\n\nimport javax.crypto.Mac;\nimport javax.crypto.spec.SecretKeySpec;\n\nimport org.apache.commons.codec.binary.Base64;\nimport org.apache.http.HttpEntity;\nimport org.apache.http.client.methods.CloseableHttpResponse;\nimport org.apache.http.client.methods.HttpGet;\nimport org.apache.http.impl.client.CloseableHttpClient;\nimport org.apache.http.impl.client.HttpClients;\nimport org.apache.http.util.EntityUtils;\nimport org.json.simple.JSONObject;\nimport org.json.simple.parser.JSONParser;\n\npublic class APIClient {\n\n private static String PARTNER_CODE = \"<PARTNER_CODE>\";\n private static String API_KEY_VALUE = \"<YOUR_API_KEY>\";\n private static String SECRET_KEY = \"<YOUR_SECRET_KEY>\";\n private static String HTTP_METHOD_GET = \"GET\";\n \n public static void main(String[] args) throws Exception {\n APIClient client = new APIClient();\n \n // In query parameter always add the \"ts\" query parameter\n String queryParameter = \"&langCode=en&partner=\"+PARTNER_CODE+\"&cid=1&puid=test123&ts=\" +\n System.currentTimeMillis();\n \n // Generate the signature base string\n String signatureBase = client.generateSignatureBase(HTTP_METHOD_GET, queryParameter);\n\n // Generate the signature i.e. Message Authentication Code using HMAC\n String signature = client.calculateRFC2104HMAC(signatureBase, SECRET_KEY);\n System.out.println(\"signature = \" + signature);\n \n // Form the url & pass the API_KEY and the Signature generated in the header\n String httpUrl = \"http://feed.dailyhunt.in/api/v2/syndication/items?\" + queryParameter;\n Map<String, String> headers = new HashMap<>();\n headers.put(\"Authorization\", \"key=\" + API_KEY_VALUE);\n headers.put(\"Signature\", signature);\n \n // Now call the url now\n client.httpGet(httpUrl, headers,args[0]);\n }\n\n private String calculateRFC2104HMAC(String data, String key) throws SignatureException {\n String result;\n try {\n // get an hmac_sha1 key from the raw key bytes\n SecretKeySpec signingKey = new SecretKeySpec(key.getBytes(), \"HmacSHA1\");\n \n // get an hmac_sha1 Mac instance and initialize with the signing key\n Mac mac = Mac.getInstance(\"HmacSHA1\");\n mac.init(signingKey);\n \n // compute the hmac on input data bytes\n byte[] rawHmac = mac.doFinal(data.getBytes());\n \n // base64-encode the hmac\n result = Base64.encodeBase64String(rawHmac);\n } catch (InvalidKeyException e) {\n throw new SignatureException(\"Failed to generate HMAC as key is invalid\", e);\n } catch (NoSuchAlgorithmException e) {\n throw new SignatureException(\"Failed to generate HMAC as encoding algorithm does not exists\", e);\n }\n return result;\n }\n \n private String generateSignatureBase(String httpMethod, String queryString) {\n StringBuilder signatureBaseBuffer = new StringBuilder();\n \n if (!isEmpty(queryString)) {\n Map<String, String> queryParams = urlRequestParamToMap(queryString);\n \n // Sort all the request query parameters lexicographically, sorted on encoded key\n Map<String, String> encodedAndSortedQueryParams = new TreeMap<>();\n for (String key : queryParams.keySet()) {\n encodedAndSortedQueryParams.put(urlEncodedString(key), \n urlEncodedString(queryParams.get(key)));\n }\n \n // Append all the key=value with “&” as separator if more than one key=value is present\n signatureBaseBuffer.append(formatAsUrl(encodedAndSortedQueryParams));\n }\n // Append the UPPERCASE(http method)\n signatureBaseBuffer.append(httpMethod.toUpperCase());\n return signatureBaseBuffer.toString();\n }\n \n private boolean isEmpty(String str) {\n return null == str || (null != str && \"\".equals(str.trim()));\n }\n \n private Map<String, String> urlRequestParamToMap(String url) {\n if (isEmpty(url)) {\n return new HashMap<String, String>();\n }\n\n Map<String, String> keyValueMapping = new HashMap<>();\n String[] params = url.split(\"&\");\n for (String param : params) {\n String[] keyValue = param.split(\"=\");\n String key = keyValue[0];\n String value = keyValue.length == 2 ? keyValue[1] : \"\";\n keyValueMapping.put(key, value);\n }\n\n return keyValueMapping;\n }\n\n private String formatAsUrl(Map<String, String> pairs) {\n if (pairs == null) {\n return \"\";\n }\n\n StringBuilder urlBuilder = new StringBuilder();\n for (String key : pairs.keySet()) {\n if (urlBuilder.length() != 0) {\n urlBuilder.append(\"&\");\n }\n urlBuilder.append(key).append(\"=\").append(pairs.get(key));\n }\n\n return urlBuilder.toString();\n }\n \n private String urlEncodedString(String normalString) {\n try {\n return URLEncoder.encode(normalString, \"UTF-8\");\n } catch (UnsupportedEncodingException e) {\n return normalString;\n }\n }\n \n private void httpGet(String url, Map<String, String> headers,String fileName) throws IOException {\n CloseableHttpClient httpclient = HttpClients.createDefault();\n \n HttpGet httpGet = new HttpGet(url);\n for (String key : headers.keySet()) {\n httpGet.addHeader(key, headers.get(key));\n }\n \n CloseableHttpResponse response1 = httpclient.execute(httpGet);\n try { \n try (FileWriter writer = new FileWriter(fileName);\n BufferedWriter bw = new BufferedWriter(writer)) {\n if(response1.getStatusLine().getStatusCode() == 200){\n HttpEntity entity1 = response1.getEntity(); \n String str = EntityUtils.toString(entity1, \"UTF-8\"); \n JSONParser parser = new JSONParser();\n JSONObject json = (JSONObject) parser.parse(str);\n JSONObject data = (JSONObject)json.get(\"data\");\n System.out.println(data.get(\"count\"));\n Long c = (Long)data.get(\"count\");\n bw.write(Long.toString(c));\n }else{\n bw.write(response1.getStatusLine().getStatusCode());\n }\n } catch (IOException e) {\n System.err.format(\"IOException: %s%n\", e);\n } \n }catch(Exception ex){\n System.out.println(ex);\n }finally {\n response1.close();\n }\n\n }\n}\n\nFollowing steps need to be followed to pass the API Key & Signature headers to Dailyhunt:
\nHMAC\nhttps://en.wikipedia.org/wiki/Hash-based_message_authentication_code
\n\n\nYou will get below error codes for failures:
\n| 401 | If invalid API key is given in the request header | \n
| 403 | If invalid Signature is given in the request heade | \n
| 500 | For any unexpected issues at Dailyhunt | \n
Example
\ncurl -H\"Authorization:key=<API Key>\" -H\"Signature:<value of S64>\"\" \"http://<host:port>/api/v2/syndication/channels?partner=xxxx&puid=<your unique user id>&ts=<current server local timestamp>\"\nDailyhunt API can also be integrated directly from the browser. In order to avoid Cross-Origin issue, Dailyhunt supports Cross-Origin Resource Sharing (CORS). Dailyhunt will provide the following headers in the preflight response with OPTIONS http method.
\nAccess-Control-Allow-Origin:
\nAccess-Control-Allow-Credentials: true
\nFor more information on CORS, you may refer https://en.wikipedia.org/wiki/Cross-origin_resource_sharing
\nFollowing lists the integration environments available:
\n| Environment\n | \nHost\n | \nPort\n | \nDescription\n | \n
| Stage\n | \nqa-news.newshunt.com\n | \n80\n | \nThe stage integration environment for development & testing\n | \n
| Prod\n | \nfeed.dailyhunt.in\n | \n80\n | \nThe production environment\n | \n
A unique user id is needed for every user accessing and consuming Dailyhunt’s content. \nDailyhunt uses the user id to understand the user’s content consumption pattern and to serve personalized content to the user.
\nFollowing sections describe how you can pass a unique user id and the need for a Dailyhunt Cookie which needs to be maintained at your end.
\n\n\nParameter Name: test123
\nExample: http://host:port/{{api_url}}?puid={{Your_unique_user_id}}
\n
When you access Dailyhunt API with your Unique User Id (i.e. “_puid_”) in the query parameter, Dailyhunt API will provide a user specific Cookie (dhFeedV1) in the API response.
\nYou are expected to maintain the dhFeedV1 Cookie per user at your end and pass it back on subsequent Dailyhunt API calls. For common browser based integrations, this should happen seamlessly.
\nDailyhunt will take care of (re-)generating the dhFeedV1 Cookie, if found missing in the request or if the Cookie is expired. Dailyhunt will reject the request if _dhFeedV1 _Cookie is found invalid.
\nDailyhunt Cookie helps avoid repeated lookup of the Dailyhunt internal user id for a given partner user id (puid) in every API call.
\nDailyhunt Cookie will be having a TTL of one month initially (and this may change in future).
\nFollowing table lists the available language codes supported by Dailyhunt’s content feeds.
\nNote: Some of the channels may not have content for all languages. Please therefore review the feeds for the language of choice prior to rolling out your integration for a chosen language.
\n| Code\n | \nLanguage Name\n | \n
| en\n | \nEnglish\n | \n
| hi\n | \nHindi\n | \n
| mr\n | \nMarathi\n | \n
| gu\n | \nGujarati\n | \n
| pa\n | \nPunjabi\n | \n
| bn\n | \nBangla\n | \n
| kn\n | \nKannada\n | \n
| ta\n | \nTamil\n | \n
| te\n | \nTelugu\n | \n
| ml\n | \nMalayalam\n | \n
| or\n | \nOriya\n | \n
| ur\n | \nUrdu\n | \n
| bh\n | \nBhojpuri\n | \n
| ne\n | \nNepali\n | \n
The content fetch API provides images field, having one or more image urls for the story card. The image url will have the following format:
\n\n\n[http://bcdn.newshunt.com/{CMD}/{W}x{H}_{Q}/(image_folder).{EXT}]
\n
Where,
\n{CMD} = one of “crop” or “resize”\nIf cropped, Dailyhunt will return the exact image size center cropped\nIf resized, Dailyhunt will return the size closest to the one specified.
\n{W} = Desired width of the image based on your user’s device dimension
\n{H} = Desired height of the image based on your user’s device dimension
\n{Q} = Desired image quality in percentage based on user’s network quality, highest possible value is 100 and quality value is directly proportional to the image file size
\n{EXT} = Desired image extension such as webp, jpg, etc.
\nYou should take care of replacing the above placeholders with appropriate values matching your user’s device & network speed qualifier.
\nDailyhunt will dynamically generate each image matching your criteria & cache on Dailyhunt’s CDN.
\nPossible values of the \"Content Type\" of a card are as follows:
\n| Content Type\n | \nApplicable Fields from (/api/v2/syndication/items)\n | \n
| STORY\n | \nAll the fields except \"collectionItems\"\n | \n
| VIDEO\n | \nAll the fields except \"collectionItems\"\n | \n
| PHOTO\n | \nAll the fields except \"collectionItems\"\n | \n
| \n ASTROLOGY (similar to STORY, belonging to ASTRO category)\n | \n\n All the fields except \"collectionItems\"\n | \n
| VHMEME (Dailyshare cards)\n | \nAll the fields except \"collectionItems\"\n | \n
| BANNER\n | \nimages & deepLinkUrl\n | \n
| QUESTION_MULTI_CHOICES\n | \nAll the fields including \"collectionItems\" \n | \n
| HTML\n | \n*description* & *deepLinkUrl* (description will have HTML content for dynamic content channels such as for Elections, Cricket etc)\n | \n
The pfm(Partner feature mask) parameter in Channels and Items API controls which features are enabled for a particular partner or channel.\nIn basic integration, only news items are served under each channel.\nFor advanced cards and features like videos and DailyShare cards etc, the appropriate value of pfm has to be set.
\nThe value of pfm is the sum of all bit vlaues of desired features by a partner.
\nEach feature is controlled by a specific bit defined.
\nList of available features:
\n| Feature\n | \nValue\n | \n
| LIVE_TV_CARD\n | \n1\n | \n
| CRICKET_CARD(Brief)\n | \n8\n | \n
| HERO_CARD\n | \n16\n | \n
| VIDEO_CHANNELS\n | \n32\n | \n
| VIRAL_CHANNELS\n | \n64\n | \n
| CRICKET_CARD(Detailed)\n | \n128\n | \n
*Bit 2 and 4 are reserved for some default feature.
\nFor example:
\nIf a partner wants to get HERO cards and Videos, the pfm value needs to be set to 16+32 = 48
\nIdeally, the pfm should be set at the channels API level. The contenUrl of each channel in the response inherently has the desired value of fm.
\nThe value of fm of a particular channel should only be modified in case there is specific change needed in one particular channel.
\n| Content Type type\n | \nCard Layout uiType\n | \nExample\n | \n
| STORY\n | \nNORMAL \\\n(with image)\n | \n\n \n \n\n | \n
| STORY\n | \nNORMAL (without image)\n | \n\n \n | \n
| STORY\n | \nHERO\n | \n\n \n \n | \n
| STORY\n | \nTILE_3\n | \n\n \n | \n
| PHOTO\n | \nTILE_3\n | \n\n \n | \n
| PHOTO\n | \nGRID_3\n | \n\n \n | \n
| PHOTO\n | \nGRID_5\n | \n\n \n | \n
| VIDEO\n | \nNORMAL\n | \n\n \n | \n
| VIDEO\n | \nHERO\n | \n\n \n | \n
| BANNER\n | \nNORMAL\n | \n\n \n | \n
| QUESTION_MULTI_CHOICES\n | \nGRID\n | \n\n \n | \n
| QUESTION_MULTI_CHOICES\n | \nTAGS\n | \n\n \n | \n
| QUESTION_MULTI_CHOICES\n | \nCAROUSEL\n | \n\n \n | \n
When your user clicks on a story card, you will invoke the story card deepLinkUrl which is given in the syndication/items api response
\nYou need to add the below to deepLinkUrl:
\nFor e.g:
\nIf the deepLinkUrl received from the items API is:
\n\n\nhttp://m.dailyhunt.in/news/india/english/ibtimes-epaper-ibtimes/just+let+the+original+be+malaika+arora+on+chaiyya+chaiyya+being+recreated-newsid-168150810?mode=pwa&s=&ss=Browser-Feed&utm_source=&utm_medium=Browser-Feed&utm_campaign=-Browser-Feed&lite=true&prevRef=1&partnerRef=%7B%22pid%22%3A%22%22%7D
\n
append puid
\n\n\nhttp://m.dailyhunt.in/news/india/english/ibtimes-epaper-ibtimes/just+let+the+original+be+malaika+arora+on+chaiyya+chaiyya+being+recreated-newsid-168150810?mode=pwa&s=&ss=Browser-Feed&utm_source=&utm_medium=Browser-Feed&utm_campaign=-Browser-Feed&lite=true&prevRef=1&partnerRef=%7B%22pid%22%3A%22%22%7D**&puid={puid_value}**
\n
Dailyhunt will include the some explicit tracking parameters in the deepLinkUrl. These parameters should be retained as is.
\nFor eg: s, ss, utm_medium, partnerRef etc.
\nThese are important to ensure proper tracking and attribution.
\nThe deep link URL will either open in the browser (if user does not have Dailyhunt app installed) or in the Dailyhunt app (if user has Dailyhunt app installed & chooses to open with Dailyhunt app)
\nTo help measure/track the cards seen by the user, you will need to pass the tracking data for each item card seen by your user. To enable this, Dailyhunt provides the tracking data & tracking POST URLs in the Content Fetch API response.
\nThis tracking needs to be enabled for each list view. \nA call is required to be made to dailyhunt tracking server for every list view that is invoked:
\nYou will need to form an array of the trackData values and POST the same to the trackUrl for the cards seen by the user. \nFor e.g, if the pageSize is 10, the track request will contain 10 items in the array.
\nYou can do this periodically or every time user sees a page worth of cards (as close to the user activity as possible). Please refer to Tracking API for more details.
\nComScore is a provider for audience measurement using Unified Digital Measurement® (UDM) methodology, which accounts for all unique site visitors from all platforms.\nIt is an industry standard traffic attribution tool that helps advertisers validate attributable traffic data to each site / app / service etc.
\nFor each Pageview that occurs on a particular URL, a single ping is sent to ComScore to count the respective pageview as valid. You can find more info here - https://www.comscore.com/About
\nThe requirement is that the partner places this tracking pixel on the list page so that all list pageviews that occur can be attributed as Dailyhunt content pageviews on ComScore. When each page is loaded (page 1, page 2 etc.), this ping will need to be made.
\nA call is required to be made to comscore for every list view that is invoked:
\nThis can be done alongside each tracking call for list views.
\nThe ComscoreUrl that needs to be pinged is available as a part of Content Fetch API , as shown below:
\n \"track\": {\n \"comscoreUrls\": [\n \"http://b.scorecardresearch.com/p?c1=2&c2=21733245&c4=http://m.dailyhunt.in/news/&c9=m.dailyhunt.in\"\n ]\n }\nThere are two options to do this basis the protocol used HTTP or HTTPS .
\nInclude the below script tag for every list view:
\n<div id=\"csDiv\"></div> <script> document.getElementById(\"csDiv\").innerHTML = '<img src=\"PLACE COMSCORE URL DYNAMICALLY FROM THE API HERE\" />'; </script>\nIn this approach the client loading content page needs to fire a call to ComScore url fetched from the API.
\nThis calls sets cookie back to client on 1st time call. Client needs to pass this cookie in all subsequent calls to ComScore. All standard libraries handles it automatically.
\nFor all the cards displayed at your end, your user may want to give feedback about the cards seen. Dailyhunt provides ability to show the specific feedback options that can be displayed to your user & allow to send the signals to the Dailyhunt server. Dailyhunt will use these signals to further improve the personalized feed of your user.\nRefer : Feedback API
\n| Contact\n | \nPrimary\n | \n
| Das Diwakar (dasdiwakar.bommaji@verse.in)\n \nShashikant Kulkarni (shashikant.kulkarni@dailyhunt.in)\n | \n Tech\n | \n
| Preeti Jain (preeti.jain@verse.in)\n | \nProduct/UX\n | \n
The API key shared with you during onboarding
\n","type":"text"},{"key":"Signature","value":"VALUE_OF_SIGN_GENERATED","description":"The signed message as described in the API Security section
\n","type":"text"}],"url":"http://feed.dailyhunt.in/api/v2/syndication/channels?partner=YOUR_PARTNER_CODE&langCode=en&ts=&puid=test123&pfm=16","description":"A channel is a topic under which certain news items are classified.
\nDailyhunt provides an API that allows discovery of content channels available for one or more language(s).
\nA channel will have a channel name & corresponding data fetch (feed) URL. You can pick and choose the channel you would like to integrate on your app or destination.
\nDailyhunt can provide channels such as the following, for integration with partners.
\n| Channels | \n||||||||||||||||||||||||
| For you | News | India | Sports | Entertainment | Technology | Lifestyle | General | World | Bollywood | Hollywood | Celebrities | Movies | Mobiles and Gadgets | Science | Travel | Education | Employment | Relationship | Recipes | Food | Gossip | Magazines & Articles | Religion & Spirituality | Beauty |
For You is a personalized feed based on user interest.
\nThis API provides a way to dynamically explore the list of available content channels from Dailyhunt.
\nDailyhunt will include other available channels based on partner’s need and the same will be reflected in this API response.
\n| Field\n | \nValue\n | \nData Type\n | \n|||||||||||||||||||||||||||||||||||||||
| code\n | \nHttp Status Code value\n | \nInteger\n | \n|||||||||||||||||||||||||||||||||||||||
| data\n | \n\n\n
| \n JSON object\n\n | \n
The Partner Code shared with you during onboarding
\n","type":"text/plain"},"key":"partner","value":"YOUR_PARTNER_CODE"},{"description":{"content":"The lang code based on which channels will fetch the corresponding language’s content feed. See available languages
\n","type":"text/plain"},"key":"langCode","value":"en"},{"description":{"content":"API invocation time in milliseconds
\n","type":"text/plain"},"key":"ts","value":""},{"description":{"content":"Your unique user id
\n","type":"text/plain"},"key":"puid","value":"test123"},{"description":{"content":"Sum of all the feature mask values supported by the partner. The list of all the features are available here
\n","type":"text/plain"},"key":"pfm","value":"16"}],"variable":[]}},"response":[{"id":"42fac08e-7f48-4465-8fa1-554112f0ecf9","name":"Channels","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"key=YOUR_API_KEY","description":"The API key shared with you during onboarding","type":"text"},{"key":"Signature","value":"VALUE_OF_SIGN_GENERATED","description":"The signed message as described in the API Security section","type":"text"}],"url":{"raw":"http://feed.dailyhunt.in/api/v2/syndication/channels?partner=YOUR_PARTNER_CODE&langCode=en&ts=&puid=test123&pfm=0","protocol":"http","host":["feed.dailyhunt.in"],"path":["api","v2","syndication","channels"],"query":[{"key":"partner","value":"YOUR_PARTNER_CODE","description":"The Partner Code shared with you during onboarding"},{"key":"langCode","value":"en","description":"The lang code based on which channels will fetch the corresponding language’s content feed. The list of allowed lang codes are available in the Appendix section."},{"key":"ts","value":"","description":"API invocation time in milliseconds"},{"key":"puid","value":"test123","description":"Your unique user id"},{"key":"pfm","value":"0","description":"Sum of all the feature mask values supported by the partner. The list of all the features are available here"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"X-Served-By","value":"dh4-a1-news-syndication-ws-n2"},{"key":"X-Request-Id","value":"76b0e717-005f-4146-ac3a-fb44c2b99a87"},{"key":"X-Dh-Client-Id","value":"c1001_d10_p1_567440365"},{"key":"Content-Encoding","value":"gzip"},{"key":"X-Cache-Status","value":"MISS"},{"key":"Content-Length","value":"881"},{"key":"Cache-Control","value":"max-age=0"},{"key":"Expires","value":"Mon, 16 Sep 2019 10:26:39 GMT"},{"key":"Date","value":"Mon, 16 Sep 2019 10:26:39 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Set-Cookie","value":"dhFeedV1=\"CGL/U5hTJdX/vM7t1KkAvE8hC3JGv69xM1I86VVxXzYed5Ahsa79NjRE9m5lgE9kD3sw4oGEX+T3TeyIiG5KeYU6BR1ROottsN3laz3BXwnzoV6xt19oNn958woHWa6iPHbOSRky/2Aqc4lVr/hzal4rCpDimPxcfMOCDDHAmUUGXpiHis3/xmf0pc590QLK4rud9RoCE/pXXV8Zs5Y+MMjdQHbS4B8ssjLcilZwzZfGI86OpCW1m3Vn398dYajYII3po1YY9xRzLY28pzzShIyTjFJN1Es7JsIzS2G3ECNde+sEXqfSICsOpdBNFuoq7waisCtRqSNjdO/riuy7ygAf66hhy85CaJHQDyI3570=\"; Version=1"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 200,\n \"data\": {\n \"count\": 25,\n \"nextPageUrl\": \"http://feed.dailyhunt.in/api/v2/syndication/channels?pageNumber=1&partner=samsung&puid=157260d2b0a28004&pfm=0&langCode=en&pageSize=10\",\n \"rows\": [\n {\n \"id\": \"9\",\n \"name\": \"For you\",\n \"contentUrl\": \"http://feed.dailyhunt.in/api/v2/syndication/items?partner=samsung&puid=157260d2b0a28004&pfm=0&langCode=en&fm=2&cid=9\",\n \"deepLinkUrl\": \"http://m.dailyhunt.in/news/india/english/for+you-topics-965?langcode=en\",\n \"type\": \"FORYOU\"\n },\n {\n \"id\": \"1\",\n \"name\": \"News\",\n \"contentUrl\": \"http://feed.dailyhunt.in/api/v2/syndication/items?partner=samsung&puid=157260d2b0a28004&pfm=0&langCode=en&fm=0&cid=1\",\n \"deepLinkUrl\": \"http://m.dailyhunt.in/news\",\n \"type\": \"TOPIC\"\n },\n {\n \"id\": \"3\",\n \"name\": \"India \",\n \"contentUrl\": \"http://feed.dailyhunt.in/api/v2/syndication/items?partner=samsung&puid=157260d2b0a28004&pfm=0&langCode=en&cid=3\",\n \"deepLinkUrl\": \"http://m.dailyhunt.in/news/india/english/india-topics-15?langcode=en\",\n \"type\": \"TOPIC\"\n },\n {\n \"id\": \"5\",\n \"name\": \"Sports\",\n \"contentUrl\": \"http://feed.dailyhunt.in/api/v2/syndication/items?partner=samsung&puid=157260d2b0a28004&pfm=0&langCode=en&cid=5\",\n \"deepLinkUrl\": \"http://m.dailyhunt.in/news/india/english/sports-topics-17?langcode=en\",\n \"type\": \"TOPIC\"\n },\n {\n \"id\": \"2\",\n \"name\": \"Entertainment\",\n \"contentUrl\": \"http://feed.dailyhunt.in/api/v2/syndication/items?partner=samsung&puid=157260d2b0a28004&pfm=0&langCode=en&cid=2\",\n \"deepLinkUrl\": \"http://m.dailyhunt.in/news/india/english/entertainment-topics-8?langcode=en\",\n \"type\": \"TOPIC\"\n },\n {\n \"id\": \"6\",\n \"name\": \"Technology\",\n \"contentUrl\": \"http://feed.dailyhunt.in/api/v2/syndication/items?partner=samsung&puid=157260d2b0a28004&pfm=0&langCode=en&cid=6\",\n \"deepLinkUrl\": \"http://m.dailyhunt.in/news/india/english/technology-topics-102?langcode=en\",\n \"type\": \"TOPIC\"\n },\n {\n \"id\": \"8\",\n \"name\": \"Lifestyle\",\n \"contentUrl\": \"http://feed.dailyhunt.in/api/v2/syndication/items?partner=samsung&puid=157260d2b0a28004&pfm=0&langCode=en&cid=8\",\n \"deepLinkUrl\": \"http://m.dailyhunt.in/news/india/english/lifestyle-topics-11?langcode=en\",\n \"type\": \"TOPIC\"\n },\n {\n \"id\": \"7\",\n \"name\": \"General\",\n \"contentUrl\": \"http://feed.dailyhunt.in/api/v2/syndication/items?partner=samsung&puid=157260d2b0a28004&pfm=0&langCode=en&cid=7\",\n \"deepLinkUrl\": \"http://m.dailyhunt.in/news/india/english/general-topics-2?langcode=en\",\n \"type\": \"TOPIC\"\n },\n {\n \"id\": \"4\",\n \"name\": \"World\",\n \"contentUrl\": \"http://feed.dailyhunt.in/api/v2/syndication/items?partner=samsung&puid=157260d2b0a28004&pfm=0&langCode=en&cid=4\",\n \"deepLinkUrl\": \"http://m.dailyhunt.in/news/india/english/world-topics-16?langcode=en\",\n \"type\": \"TOPIC\"\n },\n {\n \"id\": \"4143\",\n \"name\": \"Bollywood\",\n \"contentUrl\": \"http://feed.dailyhunt.in/api/v2/syndication/items?partner=samsung&puid=157260d2b0a28004&pfm=0&langCode=en&cid=4143\",\n \"deepLinkUrl\": \"http://m.dailyhunt.in/news/india/english/bollywood-topics-493?langcode=en\",\n \"type\": \"TOPIC\"\n },\n {\n \"id\": \"4144\",\n \"name\": \"Hollywood\",\n \"contentUrl\": \"http://feed.dailyhunt.in/api/v2/syndication/items?partner=samsung&puid=157260d2b0a28004&pfm=0&langCode=en&cid=4144\",\n \"deepLinkUrl\": \"http://m.dailyhunt.in/news/india/english/hollywood-topics-494?langcode=en\",\n \"type\": \"TOPIC\"\n },\n {\n \"id\": \"4145\",\n \"name\": \"Celebrities\",\n \"contentUrl\": \"http://feed.dailyhunt.in/api/v2/syndication/items?partner=samsung&puid=157260d2b0a28004&pfm=0&langCode=en&cid=4145\",\n \"deepLinkUrl\": \"http://m.dailyhunt.in/news/india/english/celebrities-topics-188?langcode=en\",\n \"type\": \"TOPIC\"\n },\n {\n \"id\": \"4142\",\n \"name\": \"Science \",\n \"contentUrl\": \"http://feed.dailyhunt.in/api/v2/syndication/items?partner=samsung&puid=157260d2b0a28004&pfm=0&langCode=en&cid=4142\",\n \"deepLinkUrl\": \"http://m.dailyhunt.in/news/india/english/science-topics-20?langcode=en\",\n \"type\": \"TOPIC\"\n },\n {\n \"id\": \"4149\",\n \"name\": \"Mobiles and Gadgets\",\n \"contentUrl\": \"http://feed.dailyhunt.in/api/v2/syndication/items?partner=samsung&puid=157260d2b0a28004&pfm=0&langCode=en&cid=4149\",\n \"deepLinkUrl\": \"http://m.dailyhunt.in/news/india/english/mobiles+and+gadgets-topics-103?langcode=en\",\n \"type\": \"TOPIC\"\n },\n {\n \"id\": \"4148\",\n \"name\": \"Movies\",\n \"contentUrl\": \"http://feed.dailyhunt.in/api/v2/syndication/items?partner=samsung&puid=157260d2b0a28004&pfm=0&langCode=en&cid=4148\",\n \"deepLinkUrl\": \"http://m.dailyhunt.in/news/india/english/movies-topics-10?langcode=en\",\n \"type\": \"TOPIC\"\n },\n {\n \"id\": \"4140\",\n \"name\": \"Travel\",\n \"contentUrl\": \"http://feed.dailyhunt.in/api/v2/syndication/items?partner=samsung&puid=157260d2b0a28004&pfm=0&langCode=en&cid=4140\",\n \"deepLinkUrl\": \"http://m.dailyhunt.in/news/india/english/travel-topics-107?langcode=en\",\n \"type\": \"TOPIC\"\n },\n {\n \"id\": \"4139\",\n \"name\": \"Education\",\n \"contentUrl\": \"http://feed.dailyhunt.in/api/v2/syndication/items?partner=samsung&puid=157260d2b0a28004&pfm=0&langCode=en&cid=4139\",\n \"deepLinkUrl\": \"http://m.dailyhunt.in/news/india/english/education-topics-258?langcode=en\",\n \"type\": \"TOPIC\"\n },\n {\n \"id\": \"4138\",\n \"name\": \"Employment\",\n \"contentUrl\": \"http://feed.dailyhunt.in/api/v2/syndication/items?partner=samsung&puid=157260d2b0a28004&pfm=0&langCode=en&cid=4138\",\n \"deepLinkUrl\": \"http://m.dailyhunt.in/news/india/english/employment-topics-136?langcode=en\",\n \"type\": \"TOPIC\"\n },\n {\n \"id\": \"4134\",\n \"name\": \"Relationship\",\n \"contentUrl\": \"http://feed.dailyhunt.in/api/v2/syndication/items?partner=samsung&puid=157260d2b0a28004&pfm=0&langCode=en&cid=4134\",\n \"deepLinkUrl\": \"http://m.dailyhunt.in/news/india/english/relationship-topics-104?langcode=en\",\n \"type\": \"TOPIC\"\n },\n {\n \"id\": \"4133\",\n \"name\": \"Recipes\",\n \"contentUrl\": \"http://feed.dailyhunt.in/api/v2/syndication/items?partner=samsung&puid=157260d2b0a28004&pfm=0&langCode=en&cid=4133\",\n \"deepLinkUrl\": \"http://m.dailyhunt.in/news/india/english/recipes-topics-1364?langcode=en\",\n \"type\": \"TOPIC\"\n },\n {\n \"id\": \"4132\",\n \"name\": \"Food\",\n \"contentUrl\": \"http://feed.dailyhunt.in/api/v2/syndication/items?partner=samsung&puid=157260d2b0a28004&pfm=0&langCode=en&cid=4132\",\n \"deepLinkUrl\": \"http://m.dailyhunt.in/news/india/english/food-topics-14?langcode=en\",\n \"type\": \"TOPIC\"\n },\n {\n \"id\": \"4131\",\n \"name\": \"Gossip\",\n \"contentUrl\": \"http://feed.dailyhunt.in/api/v2/syndication/items?partner=samsung&puid=157260d2b0a28004&pfm=0&langCode=en&cid=4131\",\n \"deepLinkUrl\": \"http://m.dailyhunt.in/news/india/english/gossip-topics-503?langcode=en\",\n \"type\": \"TOPIC\"\n },\n {\n \"id\": \"4150\",\n \"name\": \"Magazines & Articles\",\n \"contentUrl\": \"http://feed.dailyhunt.in/api/v2/syndication/items?partner=samsung&puid=157260d2b0a28004&pfm=0&langCode=en&cid=4150\",\n \"deepLinkUrl\": \"http://m.dailyhunt.in/news/india/english/magazines+articles-topics-9?langcode=en\",\n \"type\": \"TOPIC\"\n },\n {\n \"id\": \"4130\",\n \"name\": \"Religion & Spirituality\",\n \"contentUrl\": \"http://feed.dailyhunt.in/api/v2/syndication/items?partner=samsung&puid=157260d2b0a28004&pfm=0&langCode=en&cid=4130\",\n \"deepLinkUrl\": \"http://m.dailyhunt.in/news/india/english/religion+spirituality-topics-135?langcode=en\",\n \"type\": \"TOPIC\"\n },\n {\n \"id\": \"4128\",\n \"name\": \"Beauty\",\n \"contentUrl\": \"http://feed.dailyhunt.in/api/v2/syndication/items?partner=samsung&puid=157260d2b0a28004&pfm=0&langCode=en&cid=4128\",\n \"deepLinkUrl\": \"http://m.dailyhunt.in/news/india/english/beauty-topics-759?langcode=en\",\n \"type\": \"TOPIC\"\n }\n ],\n \"homeUrl\": \"https://m.dailyhunt.in/news/india/english\",\n \"pageNumber\": 1\n }\n}"}],"_postman_id":"383ebeee-3ef2-410c-913b-2fbab9d9d9b5"},{"name":"Location channels ..","id":"875e4f80-7ba4-4f75-aad0-9a1979af4047","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"key=YOUR_API_KEY","description":"API Key
\n","type":"text"},{"key":"Signature","value":"VALUE_OF_SIGN_GENERATED","description":"Signature Base String
\n","type":"text"}],"url":"http://feed.dailyhunt.in/api/v2/syndication/channels/locations?partner=YOUR_PARTNER_CODE&langCode=en&ts=&puid=test123","description":"The Location channels API provides a way to dynamically explore the list of available location based channels from Dailyhunt.
\nThe location channels contain certain channels which will contain news items specific to the particular location.
\nDailyhunt has to enable these channels for specific partners, for them to be able to see this response.
\nAlso, the correct value of pfm needs to be passed.
\n| Field\n | \nValue\n | \nData Type\n | \n||||||||||||||||||||||||||||||||||||
| code\n | \nHttp Status Code value\n | \nInteger\n | \n||||||||||||||||||||||||||||||||||||
| data\n | \n\n\n
| \n JSON object\n\n | \n
The Partner Code shared with you during onboarding
\n","type":"text/plain"},"key":"partner","value":"YOUR_PARTNER_CODE"},{"description":{"content":"The lang code based on which channels will fetch the corresponding language’s content feed. See available languages
\n","type":"text/plain"},"key":"langCode","value":"en"},{"description":{"content":"Current local timestamp of api user
\n","type":"text/plain"},"key":"ts","value":""},{"description":{"content":"Your unique user id
\n","type":"text/plain"},"key":"puid","value":"test123"}],"variable":[]}},"response":[{"id":"1ba1e79e-dd6a-441d-aa74-dbacc84225d1","name":"Location channels","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"key=YOUR_API_KEY","description":"API Key","type":"text"},{"key":"Signature","value":"VALUE_OF_SIGN_GENERATED","description":"Signature Base String","type":"text"}],"url":{"raw":"http://feed.dailyhunt.in/api/v2/syndication/channels/locations?partner=YOUR_PARTNER_CODE&langCode=en&ts=&puid=test123","protocol":"http","host":["feed.dailyhunt.in"],"path":["api","v2","syndication","channels","locations"],"query":[{"key":"partner","value":"YOUR_PARTNER_CODE","description":"The Partner Code shared with you during onboarding"},{"key":"langCode","value":"en","description":"The lang code based on which channels will fetch the corresponding language’s content feed. See available languages "},{"key":"ts","value":"","description":"Current local timestamp of api user"},{"key":"puid","value":"test123","description":"Your unique user id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"X-Served-By","value":"dh4-a1-news-syndication-ws-n10"},{"key":"X-Request-Id","value":"b131fd56-2c09-4ac4-a35e-0a56a40d4ae8"},{"key":"X-Dh-Client-Id","value":"c1001_d10_p1_581753232"},{"key":"Content-Encoding","value":"gzip"},{"key":"X-Cache-Status","value":"MISS"},{"key":"Content-Length","value":"931"},{"key":"Cache-Control","value":"max-age=0"},{"key":"Expires","value":"Wed, 04 Dec 2019 09:31:59 GMT"},{"key":"Date","value":"Wed, 04 Dec 2019 09:31:59 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Set-Cookie","value":"dhFeedV1=\"CGL/U5hTJdX/vM7t1KkAvE8hC3JGv69xM1I86VVxXzZ5zjR2KOnG80hsQEHcgF0bD3sw4oGEX+T3TeyIiG5KeYU6BR1ROottsN3laz3BXwnzoV6xt19oNn958woHWa6iUxY8wQ5QAZX9kbhOv3suCwwBXru/sMGRzhjAvl+wAU4qUDWxNFReK+n76FXuWEM8l0AUrrhOInWlxjw8P1qSL+IAt2cv6VA5OoicdIgSBWVjNwIMS2XkWk+Xq2lBZSROohIGNu3N6mMZ7J2Wo+Y18t+I1dnji0m0P9DstD0JGOFYw/gKreZgklX7xdykw/mbKNaHtz+IKjszPwV0IZPHsOS+fPx3NfxdSxx6+xiFDMTA31SzMfSQW0lbxzOMZ4TKF/C+SrhMY4QWTjLfTbLjYT/tS5pSo7A9Jj27X04r0CVsiaJeNMht/lB9TmVH8d7rX29GXnyxAIireM54Gl/37iwqTpB7+jAfasDHnI02gA2dIH4HJUt+4CCoF3BiDtXWuhl5uyrtBJZf2EuZP2dItxGPhtbqSlVrbnDxZaC97sA=\"; Version=1"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 200,\n \"data\": {\n \"count\": 10,\n \"nextPageUrl\": \"http://feed.dailyhunt.in/api/v2/syndication/channels/locations?pageNumber=1&partner=oppo1&puid=157260d2b0a28004&langCode=en&pageSize=10\",\n \"rows\": [\n {\n \"id\": \"3130\",\n \"name\": \"Andhra Pradesh\",\n \"contentUrl\": \"https://feed.dailyhunt.in/api/v2/syndication/items?cid=3130&partner=oppo1&puid=157260d2b0a28004&langCode=en\",\n \"deepLinkUrl\": \"https://nearme.dailyhunt.in/news/india/english/andhra+pradesh-location-1?langcode=en&mode=pwa&s=Oppo&ss=Browser-Feed&utm_source=Oppo&utm_medium=Browser-Feed&utm_campaign=Oppo-Browser-Feed&lite=true&prevRef=oppo1&partnerRef=%7B%22pid%22%3A%22oppo%22%7D&da=true\",\n \"type\": \"LOCATION\",\n \"subChannels\": [\n {\n \"id\": \"3088\",\n \"name\": \"All Andhra Pradesh\",\n \"contentUrl\": \"https://feed.dailyhunt.in/api/v2/syndication/items?cid=3088&partner=oppo1&puid=157260d2b0a28004&langCode=en\",\n \"deepLinkUrl\": \"https://nearme.dailyhunt.in/news/india/english/all+andhra+pradesh-location-466?langcode=en&mode=pwa&s=Oppo&ss=Browser-Feed&utm_source=Oppo&utm_medium=Browser-Feed&utm_campaign=Oppo-Browser-Feed&lite=true&prevRef=oppo1&partnerRef=%7B%22pid%22%3A%22oppo%22%7D&da=true\",\n \"type\": \"LOCATION\"\n }\n ]\n },\n {\n \"id\": \"3617\",\n \"name\": \"Bengal\",\n \"contentUrl\": \"https://feed.dailyhunt.in/api/v2/syndication/items?cid=3617&partner=oppo1&puid=157260d2b0a28004&langCode=en\",\n \"deepLinkUrl\": \"https://nearme.dailyhunt.in/news/india/english/bengal-location-32?langcode=en&mode=pwa&s=Oppo&ss=Browser-Feed&utm_source=Oppo&utm_medium=Browser-Feed&utm_campaign=Oppo-Browser-Feed&lite=true&prevRef=oppo1&partnerRef=%7B%22pid%22%3A%22oppo%22%7D&da=true\",\n \"type\": \"LOCATION\",\n \"subChannels\": [\n {\n \"id\": \"3120\",\n \"name\": \"Bengal\",\n \"contentUrl\": \"https://feed.dailyhunt.in/api/v2/syndication/items?cid=3120&partner=oppo1&puid=157260d2b0a28004&langCode=en\",\n \"deepLinkUrl\": \"https://nearme.dailyhunt.in/news/india/english/bengal-location-497?langcode=en&mode=pwa&s=Oppo&ss=Browser-Feed&utm_source=Oppo&utm_medium=Browser-Feed&utm_campaign=Oppo-Browser-Feed&lite=true&prevRef=oppo1&partnerRef=%7B%22pid%22%3A%22oppo%22%7D&da=true\",\n \"type\": \"LOCATION\"\n }\n ]\n },\n {\n \"id\": \"3277\",\n \"name\": \"Gujarat\",\n \"contentUrl\": \"https://feed.dailyhunt.in/api/v2/syndication/items?cid=3277&partner=oppo1&puid=157260d2b0a28004&langCode=en\",\n \"deepLinkUrl\": \"https://nearme.dailyhunt.in/news/india/english/gujarat-location-10?langcode=en&mode=pwa&s=Oppo&ss=Browser-Feed&utm_source=Oppo&utm_medium=Browser-Feed&utm_campaign=Oppo-Browser-Feed&lite=true&prevRef=oppo1&partnerRef=%7B%22pid%22%3A%22oppo%22%7D&da=true\",\n \"type\": \"LOCATION\",\n \"subChannels\": [\n {\n \"id\": \"3098\",\n \"name\": \"All Gujarat\",\n \"contentUrl\": \"https://feed.dailyhunt.in/api/v2/syndication/items?cid=3098&partner=oppo1&puid=157260d2b0a28004&langCode=en\",\n \"deepLinkUrl\": \"https://nearme.dailyhunt.in/news/india/english/all+gujarat-location-475?langcode=en&mode=pwa&s=Oppo&ss=Browser-Feed&utm_source=Oppo&utm_medium=Browser-Feed&utm_campaign=Oppo-Browser-Feed&lite=true&prevRef=oppo1&partnerRef=%7B%22pid%22%3A%22oppo%22%7D&da=true\",\n \"type\": \"LOCATION\"\n }\n ]\n },\n {\n \"id\": \"3319\",\n \"name\": \"Jammu & Kashmir\",\n \"contentUrl\": \"https://feed.dailyhunt.in/api/v2/syndication/items?cid=3319&partner=oppo1&puid=157260d2b0a28004&langCode=en\",\n \"deepLinkUrl\": \"https://nearme.dailyhunt.in/news/india/english/jammu+kashmir-location-13?langcode=en&mode=pwa&s=Oppo&ss=Browser-Feed&utm_source=Oppo&utm_medium=Browser-Feed&utm_campaign=Oppo-Browser-Feed&lite=true&prevRef=oppo1&partnerRef=%7B%22pid%22%3A%22oppo%22%7D&da=true\",\n \"type\": \"LOCATION\",\n \"subChannels\": [\n {\n \"id\": \"3101\",\n \"name\": \"All Jammu & Kashmir\",\n \"contentUrl\": \"https://feed.dailyhunt.in/api/v2/syndication/items?cid=3101&partner=oppo1&puid=157260d2b0a28004&langCode=en\",\n \"deepLinkUrl\": \"https://nearme.dailyhunt.in/news/india/english/all+jammu+kashmir-location-478?langcode=en&mode=pwa&s=Oppo&ss=Browser-Feed&utm_source=Oppo&utm_medium=Browser-Feed&utm_campaign=Oppo-Browser-Feed&lite=true&prevRef=oppo1&partnerRef=%7B%22pid%22%3A%22oppo%22%7D&da=true\",\n \"type\": \"LOCATION\"\n }\n ]\n },\n {\n \"id\": \"3353\",\n \"name\": \"Karnataka\",\n \"contentUrl\": \"https://feed.dailyhunt.in/api/v2/syndication/items?cid=3353&partner=oppo1&puid=157260d2b0a28004&langCode=en\",\n \"deepLinkUrl\": \"https://nearme.dailyhunt.in/news/india/english/karnataka-location-15?langcode=en&mode=pwa&s=Oppo&ss=Browser-Feed&utm_source=Oppo&utm_medium=Browser-Feed&utm_campaign=Oppo-Browser-Feed&lite=true&prevRef=oppo1&partnerRef=%7B%22pid%22%3A%22oppo%22%7D&da=true\",\n \"type\": \"LOCATION\",\n \"subChannels\": [\n {\n \"id\": \"3155\",\n \"name\": \"Bangalore\",\n \"contentUrl\": \"https://feed.dailyhunt.in/api/v2/syndication/items?cid=3155&partner=oppo1&puid=157260d2b0a28004&langCode=en\",\n \"deepLinkUrl\": \"https://nearme.dailyhunt.in/news/india/english/bangalore-location-149?langcode=en&mode=pwa&s=Oppo&ss=Browser-Feed&utm_source=Oppo&utm_medium=Browser-Feed&utm_campaign=Oppo-Browser-Feed&lite=true&prevRef=oppo1&partnerRef=%7B%22pid%22%3A%22oppo%22%7D&da=true\",\n \"type\": \"LOCATION\"\n }\n ]\n },\n {\n \"id\": \"3361\",\n \"name\": \"Kerala\",\n \"contentUrl\": \"https://feed.dailyhunt.in/api/v2/syndication/items?cid=3361&partner=oppo1&puid=157260d2b0a28004&langCode=en\",\n \"deepLinkUrl\": \"https://nearme.dailyhunt.in/news/india/english/kerala-location-16?langcode=en&mode=pwa&s=Oppo&ss=Browser-Feed&utm_source=Oppo&utm_medium=Browser-Feed&utm_campaign=Oppo-Browser-Feed&lite=true&prevRef=oppo1&partnerRef=%7B%22pid%22%3A%22oppo%22%7D&da=true\",\n \"type\": \"LOCATION\",\n \"subChannels\": [\n {\n \"id\": \"3104\",\n \"name\": \"All Kerala\",\n \"contentUrl\": \"https://feed.dailyhunt.in/api/v2/syndication/items?cid=3104&partner=oppo1&puid=157260d2b0a28004&langCode=en\",\n \"deepLinkUrl\": \"https://nearme.dailyhunt.in/news/india/english/all+kerala-location-481?langcode=en&mode=pwa&s=Oppo&ss=Browser-Feed&utm_source=Oppo&utm_medium=Browser-Feed&utm_campaign=Oppo-Browser-Feed&lite=true&prevRef=oppo1&partnerRef=%7B%22pid%22%3A%22oppo%22%7D&da=true\",\n \"type\": \"LOCATION\"\n }\n ]\n },\n {\n \"id\": \"3400\",\n \"name\": \"Madhya Pradesh\",\n \"contentUrl\": \"https://feed.dailyhunt.in/api/v2/syndication/items?cid=3400&partner=oppo1&puid=157260d2b0a28004&langCode=en\",\n \"deepLinkUrl\": \"https://nearme.dailyhunt.in/news/india/english/madhya+pradesh-location-17?langcode=en&mode=pwa&s=Oppo&ss=Browser-Feed&utm_source=Oppo&utm_medium=Browser-Feed&utm_campaign=Oppo-Browser-Feed&lite=true&prevRef=oppo1&partnerRef=%7B%22pid%22%3A%22oppo%22%7D&da=true\",\n \"type\": \"LOCATION\",\n \"subChannels\": [\n {\n \"id\": \"3105\",\n \"name\": \"All Madhya Pradesh\",\n \"contentUrl\": \"https://feed.dailyhunt.in/api/v2/syndication/items?cid=3105&partner=oppo1&puid=157260d2b0a28004&langCode=en\",\n \"deepLinkUrl\": \"https://nearme.dailyhunt.in/news/india/english/all+madhya+pradesh-location-482?langcode=en&mode=pwa&s=Oppo&ss=Browser-Feed&utm_source=Oppo&utm_medium=Browser-Feed&utm_campaign=Oppo-Browser-Feed&lite=true&prevRef=oppo1&partnerRef=%7B%22pid%22%3A%22oppo%22%7D&da=true\",\n \"type\": \"LOCATION\"\n },\n {\n \"id\": \"3184\",\n \"name\": \"Bhopal\",\n \"contentUrl\": \"https://feed.dailyhunt.in/api/v2/syndication/items?cid=3184&partner=oppo1&puid=157260d2b0a28004&langCode=en\",\n \"deepLinkUrl\": \"https://nearme.dailyhunt.in/news/india/english/bhopal-location-211?langcode=en&mode=pwa&s=Oppo&ss=Browser-Feed&utm_source=Oppo&utm_medium=Browser-Feed&utm_campaign=Oppo-Browser-Feed&lite=true&prevRef=oppo1&partnerRef=%7B%22pid%22%3A%22oppo%22%7D&da=true\",\n \"type\": \"LOCATION\"\n }\n ]\n },\n {\n \"id\": \"3403\",\n \"name\": \"Maharashtra\",\n \"contentUrl\": \"https://feed.dailyhunt.in/api/v2/syndication/items?cid=3403&partner=oppo1&puid=157260d2b0a28004&langCode=en\",\n \"deepLinkUrl\": \"https://nearme.dailyhunt.in/news/india/english/maharashtra-location-18?langcode=en&mode=pwa&s=Oppo&ss=Browser-Feed&utm_source=Oppo&utm_medium=Browser-Feed&utm_campaign=Oppo-Browser-Feed&lite=true&prevRef=oppo1&partnerRef=%7B%22pid%22%3A%22oppo%22%7D&da=true\",\n \"type\": \"LOCATION\",\n \"subChannels\": [\n {\n \"id\": \"3435\",\n \"name\": \"Mumbai\",\n \"contentUrl\": \"https://feed.dailyhunt.in/api/v2/syndication/items?cid=3435&partner=oppo1&puid=157260d2b0a28004&langCode=en\",\n \"deepLinkUrl\": \"https://nearme.dailyhunt.in/news/india/english/mumbai-location-263?langcode=en&mode=pwa&s=Oppo&ss=Browser-Feed&utm_source=Oppo&utm_medium=Browser-Feed&utm_campaign=Oppo-Browser-Feed&lite=true&prevRef=oppo1&partnerRef=%7B%22pid%22%3A%22oppo%22%7D&da=true\",\n \"type\": \"LOCATION\"\n },\n {\n \"id\": \"3483\",\n \"name\": \"Pune\",\n \"contentUrl\": \"https://feed.dailyhunt.in/api/v2/syndication/items?cid=3483&partner=oppo1&puid=157260d2b0a28004&langCode=en\",\n \"deepLinkUrl\": \"https://nearme.dailyhunt.in/news/india/english/pune-location-271?langcode=en&mode=pwa&s=Oppo&ss=Browser-Feed&utm_source=Oppo&utm_medium=Browser-Feed&utm_campaign=Oppo-Browser-Feed&lite=true&prevRef=oppo1&partnerRef=%7B%22pid%22%3A%22oppo%22%7D&da=true\",\n \"type\": \"LOCATION\"\n }\n ]\n },\n {\n \"id\": \"3461\",\n \"name\": \"Odisha\",\n \"contentUrl\": \"https://feed.dailyhunt.in/api/v2/syndication/items?cid=3461&partner=oppo1&puid=157260d2b0a28004&langCode=en\",\n \"deepLinkUrl\": \"https://nearme.dailyhunt.in/news/india/english/odisha-location-23?langcode=en&mode=pwa&s=Oppo&ss=Browser-Feed&utm_source=Oppo&utm_medium=Browser-Feed&utm_campaign=Oppo-Browser-Feed&lite=true&prevRef=oppo1&partnerRef=%7B%22pid%22%3A%22oppo%22%7D&da=true\",\n \"type\": \"LOCATION\",\n \"subChannels\": [\n {\n \"id\": \"3111\",\n \"name\": \"All Odisha\",\n \"contentUrl\": \"https://feed.dailyhunt.in/api/v2/syndication/items?cid=3111&partner=oppo1&puid=157260d2b0a28004&langCode=en\",\n \"deepLinkUrl\": \"https://nearme.dailyhunt.in/news/india/english/all+odisha-location-488?langcode=en&mode=pwa&s=Oppo&ss=Browser-Feed&utm_source=Oppo&utm_medium=Browser-Feed&utm_campaign=Oppo-Browser-Feed&lite=true&prevRef=oppo1&partnerRef=%7B%22pid%22%3A%22oppo%22%7D&da=true\",\n \"type\": \"LOCATION\"\n }\n ]\n },\n {\n \"id\": \"3484\",\n \"name\": \"Punjab\",\n \"contentUrl\": \"https://feed.dailyhunt.in/api/v2/syndication/items?cid=3484&partner=oppo1&puid=157260d2b0a28004&langCode=en\",\n \"deepLinkUrl\": \"https://nearme.dailyhunt.in/news/india/english/punjab-location-25?langcode=en&mode=pwa&s=Oppo&ss=Browser-Feed&utm_source=Oppo&utm_medium=Browser-Feed&utm_campaign=Oppo-Browser-Feed&lite=true&prevRef=oppo1&partnerRef=%7B%22pid%22%3A%22oppo%22%7D&da=true\",\n \"type\": \"LOCATION\",\n \"subChannels\": [\n {\n \"id\": \"3113\",\n \"name\": \"All Punjab\",\n \"contentUrl\": \"https://feed.dailyhunt.in/api/v2/syndication/items?cid=3113&partner=oppo1&puid=157260d2b0a28004&langCode=en\",\n \"deepLinkUrl\": \"https://nearme.dailyhunt.in/news/india/english/all+punjab-location-490?langcode=en&mode=pwa&s=Oppo&ss=Browser-Feed&utm_source=Oppo&utm_medium=Browser-Feed&utm_campaign=Oppo-Browser-Feed&lite=true&prevRef=oppo1&partnerRef=%7B%22pid%22%3A%22oppo%22%7D&da=true\",\n \"type\": \"LOCATION\"\n }\n ]\n }\n ],\n \"pageNumber\": 1\n }\n}"}],"_postman_id":"875e4f80-7ba4-4f75-aad0-9a1979af4047"},{"name":"Video Channels","id":"1f7c20f0-b024-4a11-adc8-7b4885d913bd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"key=YOUR_API_KEY","type":"text"},{"key":"Signature","value":"VALUE_OF_SIGN_GENERATED","type":"text"}],"url":"http://feed.dailyhunt.in/api/v2/syndication/video/channels?partner=YOUR_PARTNER_CODE&langCode=en&pfm=32&ts=&puid=test123","description":"`This API provides a way to dynamically explore the list of available video content channels from Dailyhunt.
\nThese channels will only contain the video type content.
\nDailyhunt has to enable these channels for specific partners, for them to be able to see this response.
\nAlso, the correct value of pfm needs to be passed.
\n| Field\n | \nValue\n | \nData Type\n | \n||||||||||||||||||||||||||||||
| code\n | \nHttp Status Code value\n | \nInteger\n | \n||||||||||||||||||||||||||||||
| data\n | \n\n\n
| \n JSON object\n\n | \n
The Partner Code shared with you during onboarding
\n","type":"text/plain"},"key":"partner","value":"YOUR_PARTNER_CODE"},{"description":{"content":"The lang code based on which channels will fetch the corresponding language’s content feed. See available languages
\n","type":"text/plain"},"key":"langCode","value":"en"},{"description":{"content":"Sum of all the feature mask values supported by the partner. The list of all the features are available here
\n","type":"text/plain"},"key":"pfm","value":"32"},{"description":{"content":"API invocation time in milliseconds
\n","type":"text/plain"},"key":"ts","value":""},{"description":{"content":"Your unique user id
\n","type":"text/plain"},"key":"puid","value":"test123"}],"variable":[]}},"response":[{"id":"bed95554-8c14-425b-aae6-1614af6b578c","name":"Video Channels","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"key=YOUR_API_KEY","type":"text"},{"key":"Signature","value":"VALUE_OF_SIGN_GENERATED","type":"text"}],"url":{"raw":"http://feed.dailyhunt.in/api/v2/syndication/video/channels?partner=YOUR_PARTNER_CODE&langCode=en&pfm=32&ts=&puid=test123","protocol":"http","host":["feed.dailyhunt.in"],"path":["api","v2","syndication","video","channels"],"query":[{"key":"partner","value":"YOUR_PARTNER_CODE","description":"The Partner Code shared with you during onboarding"},{"key":"langCode","value":"en","description":"The lang code based on which channels will fetch the corresponding language’s content feed. See available languages "},{"key":"pfm","value":"32","description":"Sum of all the feature mask values supported by the partner. The list of all the features are available here"},{"key":"ts","value":"","description":"API invocation time in milliseconds"},{"key":"puid","value":"test123","description":"Your unique user id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"X-Served-By","value":"dh4-a1-news-syndication-ws-n12"},{"key":"X-Request-Id","value":"237829c4-5257-42d2-ae96-aba83f82e755"},{"key":"X-Dh-Client-Id","value":"c1001_d10_p1_581753232"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"414"},{"key":"Cache-Control","value":"max-age=0"},{"key":"Expires","value":"Wed, 04 Dec 2019 09:43:21 GMT"},{"key":"Date","value":"Wed, 04 Dec 2019 09:43:21 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Set-Cookie","value":"dhFeedV1=\"CGL/U5hTJdX/vM7t1KkAvE8hC3JGv69xM1I86VVxXzZ5zjR2KOnG80hsQEHcgF0bD3sw4oGEX+T3TeyIiG5KeYU6BR1ROottsN3laz3BXwnzoV6xt19oNn958woHWa6iUxY8wQ5QAZX9kbhOv3suCwwBXru/sMGRzhjAvl+wAU4qUDWxNFReK+n76FXuWEM8l0AUrrhOInWlxjw8P1qSL+IAt2cv6VA5OoicdIgSBWVjNwIMS2XkWk+Xq2lBZSROohIGNu3N6mMZ7J2Wo+Y18t+I1dnji0m0P9DstD0JGOFYw/gKreZgklX7xdykw/mbKNaHtz+IKjszPwV0IZPHsOS+fPx3NfxdSxx6+xiFDMTA31SzMfSQW0lbxzOMZ4TKF/C+SrhMY4QWTjLfTbLjYT/tS5pSo7A9Jj27X04r0CVsiaJeNMht/lB9TmVH8d7rX29GXnyxAIireM54Gl/37iwqTpB7+jAfasDHnI02gA2dIH4HJUt+4CCoF3BiDtXWuhl5uyrtBJZf2EuZP2dItxGPhtbqSlVrbnDxZaC97sA=\"; Version=1"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 200,\n \"data\": {\n \"count\": 11,\n \"nextPageUrl\": \"http://feed.dailyhunt.in/api/v2/syndication/video/channels?pageNumber=1&partner=oppo1&puid=157260d2b0a28004&pfm=32&langCode=en&pageSize=10\",\n \"rows\": [\n {\n \"id\": \"4158\",\n \"name\": \"For You\",\n \"contentUrl\": \"http://feed.dailyhunt.in/api/v2/syndication/items?partner=oppo1&puid=157260d2b0a28004&pfm=32&langCode=en&fm=32&cid=4158\",\n \"type\": \"DHTV\"\n },\n {\n \"id\": \"4162\",\n \"name\": \"Astrology\",\n \"contentUrl\": \"http://feed.dailyhunt.in/api/v2/syndication/items?partner=oppo1&puid=157260d2b0a28004&pfm=32&langCode=en&fm=32&cid=4162\",\n \"type\": \"DHTV\"\n },\n {\n \"id\": \"4178\",\n \"name\": \"Entertainment\",\n \"contentUrl\": \"http://feed.dailyhunt.in/api/v2/syndication/items?partner=oppo1&puid=157260d2b0a28004&pfm=32&langCode=en&fm=32&cid=4178\",\n \"type\": \"DHTV\"\n },\n {\n \"id\": \"4180\",\n \"name\": \"Health\",\n \"contentUrl\": \"http://feed.dailyhunt.in/api/v2/syndication/items?partner=oppo1&puid=157260d2b0a28004&pfm=32&langCode=en&fm=32&cid=4180\",\n \"type\": \"DHTV\"\n },\n {\n \"id\": \"4196\",\n \"name\": \"Humour\",\n \"contentUrl\": \"http://feed.dailyhunt.in/api/v2/syndication/items?partner=oppo1&puid=157260d2b0a28004&pfm=32&langCode=en&fm=32&cid=4196\",\n \"type\": \"DHTV\"\n },\n {\n \"id\": \"4212\",\n \"name\": \"India Today Live\",\n \"contentUrl\": \"http://feed.dailyhunt.in/api/v2/syndication/items?partner=oppo1&puid=157260d2b0a28004&pfm=32&langCode=en&fm=32&cid=4212\",\n \"type\": \"DHTV\"\n },\n {\n \"id\": \"4232\",\n \"name\": \"Movies and Entertainment\",\n \"contentUrl\": \"http://feed.dailyhunt.in/api/v2/syndication/items?partner=oppo1&puid=157260d2b0a28004&pfm=32&langCode=en&fm=32&cid=4232\",\n \"type\": \"DHTV\"\n },\n {\n \"id\": \"4236\",\n \"name\": \"News and Entertainment\",\n \"contentUrl\": \"http://feed.dailyhunt.in/api/v2/syndication/items?partner=oppo1&puid=157260d2b0a28004&pfm=32&langCode=en&fm=32&cid=4236\",\n \"type\": \"DHTV\"\n },\n {\n \"id\": \"4238\",\n \"name\": \"News9 Live\",\n \"contentUrl\": \"http://feed.dailyhunt.in/api/v2/syndication/items?partner=oppo1&puid=157260d2b0a28004&pfm=32&langCode=en&fm=32&cid=4238\",\n \"type\": \"DHTV\"\n },\n {\n \"id\": \"4244\",\n \"name\": \"Sports\",\n \"contentUrl\": \"http://feed.dailyhunt.in/api/v2/syndication/items?partner=oppo1&puid=157260d2b0a28004&pfm=32&langCode=en&fm=32&cid=4244\",\n \"type\": \"DHTV\"\n },\n {\n \"id\": \"4266\",\n \"name\": \"Timepass\",\n \"contentUrl\": \"http://feed.dailyhunt.in/api/v2/syndication/items?partner=oppo1&puid=157260d2b0a28004&pfm=32&langCode=en&fm=32&cid=4266\",\n \"type\": \"DHTV\"\n }\n ],\n \"pageNumber\": 1\n }\n}"}],"_postman_id":"1f7c20f0-b024-4a11-adc8-7b4885d913bd"},{"name":"DailyShare(Viral) channels","id":"7b2c779c-52e9-4c42-ab5b-4f51c281eeea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"key=YOUR_API_KEY","description":"The API key shared with you during onboarding
\n","type":"text"},{"key":"Signature","value":"VALUE_OF_SIGN_GENERATED","description":"The signed message as described in the API Security section
\n","type":"text"}],"url":"http://feed.dailyhunt.in/api/v2/syndication/channels?partner=YOUR_PARTNER_CODE&langCode=en&ts=&puid=test123&pfm=64","description":"DailyShare Channels API fetches the list of channels avilable under the DailyShare segment.\nThese channels contain cards which are popularly shared across social media, chat groups.
\nSome of the channels under DailyShare are:
\n| Channels | \n|||||
| Greetings | Good Morning | Thought for the day | \nCine Gallery | Jokes | Trending |
| Good Morning | Health & Lifestyle |
This API provides a way to dynamically explore the list of available content channels from Dailyhunt.
\nDailyhunt has to enable these channels for specific partners, for them to be able to see this response.
\nAlso, the correct value of pfm needs to be passed.
\n| Field\n | \nValue\n | \nData Type\n | \n|||||||||||||||||||||||||||||||||
| code\n | \nHttp Status Code value\n | \nInteger\n | \n|||||||||||||||||||||||||||||||||
| data\n | \n\n\n
| \n JSON object\n\n | \n
The Partner Code shared with you during onboarding
\n","type":"text/plain"},"key":"partner","value":"YOUR_PARTNER_CODE"},{"description":{"content":"The lang code based on which channels will fetch the corresponding language’s content feed. See available languages
\n","type":"text/plain"},"key":"langCode","value":"en"},{"description":{"content":"API invocation time in milliseconds
\n","type":"text/plain"},"key":"ts","value":""},{"description":{"content":"Your unique user id
\n","type":"text/plain"},"key":"puid","value":"test123"},{"description":{"content":"Sum of all the feature mask values supported by the partner. The list of all the features are available here
\n","type":"text/plain"},"key":"pfm","value":"64"}],"variable":[]}},"response":[{"id":"dba5718a-6717-426a-bec5-bc94253fffc9","name":"Channels","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"key=YOUR_API_KEY","description":"The API key shared with you during onboarding","type":"text"},{"key":"Signature","value":"VALUE_OF_SIGN_GENERATED","description":"The signed message as described in the API Security section","type":"text"}],"url":{"raw":"http://feed.dailyhunt.in/api/v2/syndication/channels?partner=YOUR_PARTNER_CODE&langCode=en&ts=&puid=test123&pfm=0","protocol":"http","host":["feed.dailyhunt.in"],"path":["api","v2","syndication","channels"],"query":[{"key":"partner","value":"YOUR_PARTNER_CODE","description":"The Partner Code shared with you during onboarding"},{"key":"langCode","value":"en","description":"The lang code based on which channels will fetch the corresponding language’s content feed. The list of allowed lang codes are available in the Appendix section."},{"key":"ts","value":"","description":"API invocation time in milliseconds"},{"key":"puid","value":"test123","description":"Your unique user id"},{"key":"pfm","value":"0","description":"Sum of all the feature mask values supported by the partner. The list of all the features are available here"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"X-Served-By","value":"dh4-a1-news-syndication-ws-n2"},{"key":"X-Request-Id","value":"76b0e717-005f-4146-ac3a-fb44c2b99a87"},{"key":"X-Dh-Client-Id","value":"c1001_d10_p1_567440365"},{"key":"Content-Encoding","value":"gzip"},{"key":"X-Cache-Status","value":"MISS"},{"key":"Content-Length","value":"881"},{"key":"Cache-Control","value":"max-age=0"},{"key":"Expires","value":"Mon, 16 Sep 2019 10:26:39 GMT"},{"key":"Date","value":"Mon, 16 Sep 2019 10:26:39 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Set-Cookie","value":"dhFeedV1=\"CGL/U5hTJdX/vM7t1KkAvE8hC3JGv69xM1I86VVxXzYed5Ahsa79NjRE9m5lgE9kD3sw4oGEX+T3TeyIiG5KeYU6BR1ROottsN3laz3BXwnzoV6xt19oNn958woHWa6iPHbOSRky/2Aqc4lVr/hzal4rCpDimPxcfMOCDDHAmUUGXpiHis3/xmf0pc590QLK4rud9RoCE/pXXV8Zs5Y+MMjdQHbS4B8ssjLcilZwzZfGI86OpCW1m3Vn398dYajYII3po1YY9xRzLY28pzzShIyTjFJN1Es7JsIzS2G3ECNde+sEXqfSICsOpdBNFuoq7waisCtRqSNjdO/riuy7ygAf66hhy85CaJHQDyI3570=\"; Version=1"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 200,\n \"data\": {\n \"count\": 25,\n \"nextPageUrl\": \"http://feed.dailyhunt.in/api/v2/syndication/channels?pageNumber=1&partner=samsung&puid=157260d2b0a28004&pfm=0&langCode=en&pageSize=10\",\n \"rows\": [\n {\n \"id\": \"9\",\n \"name\": \"For you\",\n \"contentUrl\": \"http://feed.dailyhunt.in/api/v2/syndication/items?partner=samsung&puid=157260d2b0a28004&pfm=0&langCode=en&fm=2&cid=9\",\n \"deepLinkUrl\": \"http://m.dailyhunt.in/news/india/english/for+you-topics-965?langcode=en\",\n \"type\": \"FORYOU\"\n },\n {\n \"id\": \"1\",\n \"name\": \"News\",\n \"contentUrl\": \"http://feed.dailyhunt.in/api/v2/syndication/items?partner=samsung&puid=157260d2b0a28004&pfm=0&langCode=en&fm=0&cid=1\",\n \"deepLinkUrl\": \"http://m.dailyhunt.in/news\",\n \"type\": \"TOPIC\"\n },\n {\n \"id\": \"3\",\n \"name\": \"India \",\n \"contentUrl\": \"http://feed.dailyhunt.in/api/v2/syndication/items?partner=samsung&puid=157260d2b0a28004&pfm=0&langCode=en&cid=3\",\n \"deepLinkUrl\": \"http://m.dailyhunt.in/news/india/english/india-topics-15?langcode=en\",\n \"type\": \"TOPIC\"\n },\n {\n \"id\": \"5\",\n \"name\": \"Sports\",\n \"contentUrl\": \"http://feed.dailyhunt.in/api/v2/syndication/items?partner=samsung&puid=157260d2b0a28004&pfm=0&langCode=en&cid=5\",\n \"deepLinkUrl\": \"http://m.dailyhunt.in/news/india/english/sports-topics-17?langcode=en\",\n \"type\": \"TOPIC\"\n },\n {\n \"id\": \"2\",\n \"name\": \"Entertainment\",\n \"contentUrl\": \"http://feed.dailyhunt.in/api/v2/syndication/items?partner=samsung&puid=157260d2b0a28004&pfm=0&langCode=en&cid=2\",\n \"deepLinkUrl\": \"http://m.dailyhunt.in/news/india/english/entertainment-topics-8?langcode=en\",\n \"type\": \"TOPIC\"\n },\n {\n \"id\": \"6\",\n \"name\": \"Technology\",\n \"contentUrl\": \"http://feed.dailyhunt.in/api/v2/syndication/items?partner=samsung&puid=157260d2b0a28004&pfm=0&langCode=en&cid=6\",\n \"deepLinkUrl\": \"http://m.dailyhunt.in/news/india/english/technology-topics-102?langcode=en\",\n \"type\": \"TOPIC\"\n },\n {\n \"id\": \"8\",\n \"name\": \"Lifestyle\",\n \"contentUrl\": \"http://feed.dailyhunt.in/api/v2/syndication/items?partner=samsung&puid=157260d2b0a28004&pfm=0&langCode=en&cid=8\",\n \"deepLinkUrl\": \"http://m.dailyhunt.in/news/india/english/lifestyle-topics-11?langcode=en\",\n \"type\": \"TOPIC\"\n },\n {\n \"id\": \"7\",\n \"name\": \"General\",\n \"contentUrl\": \"http://feed.dailyhunt.in/api/v2/syndication/items?partner=samsung&puid=157260d2b0a28004&pfm=0&langCode=en&cid=7\",\n \"deepLinkUrl\": \"http://m.dailyhunt.in/news/india/english/general-topics-2?langcode=en\",\n \"type\": \"TOPIC\"\n },\n {\n \"id\": \"4\",\n \"name\": \"World\",\n \"contentUrl\": \"http://feed.dailyhunt.in/api/v2/syndication/items?partner=samsung&puid=157260d2b0a28004&pfm=0&langCode=en&cid=4\",\n \"deepLinkUrl\": \"http://m.dailyhunt.in/news/india/english/world-topics-16?langcode=en\",\n \"type\": \"TOPIC\"\n },\n {\n \"id\": \"4143\",\n \"name\": \"Bollywood\",\n \"contentUrl\": \"http://feed.dailyhunt.in/api/v2/syndication/items?partner=samsung&puid=157260d2b0a28004&pfm=0&langCode=en&cid=4143\",\n \"deepLinkUrl\": \"http://m.dailyhunt.in/news/india/english/bollywood-topics-493?langcode=en\",\n \"type\": \"TOPIC\"\n },\n {\n \"id\": \"4144\",\n \"name\": \"Hollywood\",\n \"contentUrl\": \"http://feed.dailyhunt.in/api/v2/syndication/items?partner=samsung&puid=157260d2b0a28004&pfm=0&langCode=en&cid=4144\",\n \"deepLinkUrl\": \"http://m.dailyhunt.in/news/india/english/hollywood-topics-494?langcode=en\",\n \"type\": \"TOPIC\"\n },\n {\n \"id\": \"4145\",\n \"name\": \"Celebrities\",\n \"contentUrl\": \"http://feed.dailyhunt.in/api/v2/syndication/items?partner=samsung&puid=157260d2b0a28004&pfm=0&langCode=en&cid=4145\",\n \"deepLinkUrl\": \"http://m.dailyhunt.in/news/india/english/celebrities-topics-188?langcode=en\",\n \"type\": \"TOPIC\"\n },\n {\n \"id\": \"4142\",\n \"name\": \"Science \",\n \"contentUrl\": \"http://feed.dailyhunt.in/api/v2/syndication/items?partner=samsung&puid=157260d2b0a28004&pfm=0&langCode=en&cid=4142\",\n \"deepLinkUrl\": \"http://m.dailyhunt.in/news/india/english/science-topics-20?langcode=en\",\n \"type\": \"TOPIC\"\n },\n {\n \"id\": \"4149\",\n \"name\": \"Mobiles and Gadgets\",\n \"contentUrl\": \"http://feed.dailyhunt.in/api/v2/syndication/items?partner=samsung&puid=157260d2b0a28004&pfm=0&langCode=en&cid=4149\",\n \"deepLinkUrl\": \"http://m.dailyhunt.in/news/india/english/mobiles+and+gadgets-topics-103?langcode=en\",\n \"type\": \"TOPIC\"\n },\n {\n \"id\": \"4148\",\n \"name\": \"Movies\",\n \"contentUrl\": \"http://feed.dailyhunt.in/api/v2/syndication/items?partner=samsung&puid=157260d2b0a28004&pfm=0&langCode=en&cid=4148\",\n \"deepLinkUrl\": \"http://m.dailyhunt.in/news/india/english/movies-topics-10?langcode=en\",\n \"type\": \"TOPIC\"\n },\n {\n \"id\": \"4140\",\n \"name\": \"Travel\",\n \"contentUrl\": \"http://feed.dailyhunt.in/api/v2/syndication/items?partner=samsung&puid=157260d2b0a28004&pfm=0&langCode=en&cid=4140\",\n \"deepLinkUrl\": \"http://m.dailyhunt.in/news/india/english/travel-topics-107?langcode=en\",\n \"type\": \"TOPIC\"\n },\n {\n \"id\": \"4139\",\n \"name\": \"Education\",\n \"contentUrl\": \"http://feed.dailyhunt.in/api/v2/syndication/items?partner=samsung&puid=157260d2b0a28004&pfm=0&langCode=en&cid=4139\",\n \"deepLinkUrl\": \"http://m.dailyhunt.in/news/india/english/education-topics-258?langcode=en\",\n \"type\": \"TOPIC\"\n },\n {\n \"id\": \"4138\",\n \"name\": \"Employment\",\n \"contentUrl\": \"http://feed.dailyhunt.in/api/v2/syndication/items?partner=samsung&puid=157260d2b0a28004&pfm=0&langCode=en&cid=4138\",\n \"deepLinkUrl\": \"http://m.dailyhunt.in/news/india/english/employment-topics-136?langcode=en\",\n \"type\": \"TOPIC\"\n },\n {\n \"id\": \"4134\",\n \"name\": \"Relationship\",\n \"contentUrl\": \"http://feed.dailyhunt.in/api/v2/syndication/items?partner=samsung&puid=157260d2b0a28004&pfm=0&langCode=en&cid=4134\",\n \"deepLinkUrl\": \"http://m.dailyhunt.in/news/india/english/relationship-topics-104?langcode=en\",\n \"type\": \"TOPIC\"\n },\n {\n \"id\": \"4133\",\n \"name\": \"Recipes\",\n \"contentUrl\": \"http://feed.dailyhunt.in/api/v2/syndication/items?partner=samsung&puid=157260d2b0a28004&pfm=0&langCode=en&cid=4133\",\n \"deepLinkUrl\": \"http://m.dailyhunt.in/news/india/english/recipes-topics-1364?langcode=en\",\n \"type\": \"TOPIC\"\n },\n {\n \"id\": \"4132\",\n \"name\": \"Food\",\n \"contentUrl\": \"http://feed.dailyhunt.in/api/v2/syndication/items?partner=samsung&puid=157260d2b0a28004&pfm=0&langCode=en&cid=4132\",\n \"deepLinkUrl\": \"http://m.dailyhunt.in/news/india/english/food-topics-14?langcode=en\",\n \"type\": \"TOPIC\"\n },\n {\n \"id\": \"4131\",\n \"name\": \"Gossip\",\n \"contentUrl\": \"http://feed.dailyhunt.in/api/v2/syndication/items?partner=samsung&puid=157260d2b0a28004&pfm=0&langCode=en&cid=4131\",\n \"deepLinkUrl\": \"http://m.dailyhunt.in/news/india/english/gossip-topics-503?langcode=en\",\n \"type\": \"TOPIC\"\n },\n {\n \"id\": \"4150\",\n \"name\": \"Magazines & Articles\",\n \"contentUrl\": \"http://feed.dailyhunt.in/api/v2/syndication/items?partner=samsung&puid=157260d2b0a28004&pfm=0&langCode=en&cid=4150\",\n \"deepLinkUrl\": \"http://m.dailyhunt.in/news/india/english/magazines+articles-topics-9?langcode=en\",\n \"type\": \"TOPIC\"\n },\n {\n \"id\": \"4130\",\n \"name\": \"Religion & Spirituality\",\n \"contentUrl\": \"http://feed.dailyhunt.in/api/v2/syndication/items?partner=samsung&puid=157260d2b0a28004&pfm=0&langCode=en&cid=4130\",\n \"deepLinkUrl\": \"http://m.dailyhunt.in/news/india/english/religion+spirituality-topics-135?langcode=en\",\n \"type\": \"TOPIC\"\n },\n {\n \"id\": \"4128\",\n \"name\": \"Beauty\",\n \"contentUrl\": \"http://feed.dailyhunt.in/api/v2/syndication/items?partner=samsung&puid=157260d2b0a28004&pfm=0&langCode=en&cid=4128\",\n \"deepLinkUrl\": \"http://m.dailyhunt.in/news/india/english/beauty-topics-759?langcode=en\",\n \"type\": \"TOPIC\"\n }\n ],\n \"pageNumber\": 1\n }\n}"}],"_postman_id":"7b2c779c-52e9-4c42-ab5b-4f51c281eeea"}],"id":"d0cd9783-c66f-4f2a-85e5-d34dfc1064e9","_postman_id":"d0cd9783-c66f-4f2a-85e5-d34dfc1064e9","description":""},{"name":"Content Fetch","item":[{"name":"Content Fetch (items)","event":[{"listen":"prerequest","script":{"id":"b34a6313-92fa-4506-a141-7835c00106a7","exec":[""],"type":"text/javascript"}}],"id":"b35b0121-ae73-4532-8d83-8d5bd0834f0d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"key=YOUR_API_KEY","description":"API Key
\n","type":"text"},{"key":"Signature","value":"VALUE_OF_SIGN_GENERATED","description":"Signature Base String
\n","type":"text"}],"url":"https://feed.dailyhunt.in/api/v2/syndication/items?partner=YOUR_PARTNER_CODE&cid=1&langCode=en&ts=&puid=test123&pfm=96&fm=96&fields=none&pageSize=10&pageNumber=1","description":"Every channel in the Channel API response has a contentUrl that is used for fetching the cards or content items from the channel.
\nBelow section describes the API details for fetching stories (content items) from a channel.
\n| Field\n | \nValue\n | \nData Type\n | \n||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| code\n | \nHttp Status Code value\n | \nInteger\n | \n||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| data\n | \n\n\n
| \n JSON Object Array having a list of Content Cards.\n\n Cards can be of various Content Types such as STORY, VIDEO, etc described here \n | \n ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| pageNumber\n\n | \nThe current page number of the paginated data\n\n | \nInteger\n\n | \n||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| trackUrl\n\n | \nTracking url of the page - described in tracking section\n\n | \nString\n\n | \n||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| count\n\n | \nTotal number of cards in the page\n\n | \nInteger\n\n | \n||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| nextPageUrl\n\n | \nThe next page url if more content is available via a paginated response. Use all paramenters present in this url + timestamp, to fetch the correct response\n\n | \nString\n\n | \n
For video cards uiType is HERO and duration in payload will be added.
\n","urlObject":{"protocol":"https","path":["api","v2","syndication","items"],"host":["feed.dailyhunt.in"],"query":[{"description":{"content":"The Partner Code shared with you during onboarding
\n","type":"text/plain"},"key":"partner","value":"YOUR_PARTNER_CODE"},{"description":{"content":"Channel id
\n","type":"text/plain"},"key":"cid","value":"1"},{"description":{"content":"The lang code based on which channels will fetch the corresponding language’s content feed. See available languages
\n","type":"text/plain"},"key":"langCode","value":"en"},{"description":{"content":"Current local timestamp of api user
\n","type":"text/plain"},"key":"ts","value":""},{"description":{"content":"Your unique user id
\n","type":"text/plain"},"key":"puid","value":"test123"},{"description":{"content":"Sum of all the feature mask values supported by the partner. The list of all the features are available here
\n","type":"text/plain"},"key":"pfm","value":"96"},{"description":{"content":"Autmoatically added value based on pfm value from channels API
\n","type":"text/plain"},"key":"fm","value":"96"},{"description":{"content":"Comma separated list of fields of the item, to filter out only a subset of item level details, such as “data.rows.id,data.rows.title,data.rows.description”. If none provided, API will return all the available fields for each item.
\n","type":"text/plain"},"key":"fields","value":"none"},{"description":{"content":"[Optional] Number of items in a page (Default is 10 items).
\n","type":"text/plain"},"key":"pageSize","value":"10"},{"description":{"content":"[Optional] Specific page you may wish to fetch. Default starts from “0 - referring to first page”.
\n","type":"text/plain"},"key":"pageNumber","value":"1"}],"variable":[]}},"response":[{"id":"59c23842-7dc9-4a0b-b19c-2a2485d47775","name":"Content Fetch (items)","originalRequest":{"method":"GET","header":[{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"key=YOUR_API_KEY","description":"API Key","type":"text"},{"key":"Signature","value":"VALUE_OF_SIGN_GENERATED","description":"Signature Base String","type":"text"}],"url":{"raw":"https://feed.dailyhunt.in/api/v2/syndication/items?partner=YOUR_PARTNER_CODE&cid=1&langCode=en&ts=&puid=test123&pfm=96&fm=96&fields=none&pageSize=10&pageNumber=0","protocol":"https","host":["feed.dailyhunt.in"],"path":["api","v2","syndication","items"],"query":[{"key":"partner","value":"YOUR_PARTNER_CODE","description":"The Partner Code shared with you during onboarding"},{"key":"cid","value":"1","description":"Channel id"},{"key":"langCode","value":"en","description":"The lang code based on which channels will fetch the corresponding language’s content feed. See available languages "},{"key":"ts","value":"","description":"Current local timestamp of api user"},{"key":"puid","value":"test123","description":"Your unique user id"},{"key":"pfm","value":"96","description":"Sum of all the feature mask values supported by the partner. The list of all the features are available here"},{"key":"fm","value":"96","description":"Autmoatically added value based on pfm value from channels API"},{"key":"fields","value":"none","description":"Comma separated list of fields of the item, to filter out only a subset of item level details, such as “data.rows.id,data.rows.title,data.rows.description”. If none provided, API will return all the available fields for each item."},{"key":"pageSize","value":"10","description":"**[Optional]** Number of items in a page (Default is 10 items)."},{"key":"pageNumber","value":"0","description":"**[Optional]** Specific page you may wish to fetch. Default starts from “0 - referring to first page”."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"X-Served-By","value":"dh4-a1-news-syndication-ws-n2"},{"key":"X-Request-Id","value":"19f87fe1-e81c-4925-a055-0854924a283f"},{"key":"X-Dh-Client-Id","value":"c1001_d10_p1_835120246"},{"key":"Content-Encoding","value":"gzip"},{"key":"X-Cache-Status","value":"MISS"},{"key":"SSL_Connection","value":"HTTPS"},{"key":"Content-Length","value":"6220"},{"key":"Cache-Control","value":"max-age=10"},{"key":"Expires","value":"Fri, 22 May 2020 12:59:14 GMT"},{"key":"Date","value":"Fri, 22 May 2020 12:59:04 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Set-Cookie","value":"dhFeedV1=\"CGL/U5hTJdX/vM7t1KkAvE8hC3JGv69xM1I86VVxXzatd4IuXH8NFjWf2TwH5t9jD3sw4oGEX+T3TeyIiG5Keff3x942DXXSSYoukb72vrzZ5SSyn+92BOBQtXvKyayeWB9gJOD/F1t9Ce6oo8lGKhy4yR6pH1/9i5IkInspLlcr4E1znb4PKGSZ/5OI9yLh4rud9RoCE/pXXV8Zs5Y+MHldaNeZvnpC1gtwAgvJ8MKLGlnZzh8VknM5e/e5IvxBuRVEHUkeLN/koyyow3sty/1Ach/KPhhghSGDz5HJ3EO4BG48pW3SjgP9f4TB3FvfN85AK85pBs7/CQFer/5cMU9fZjsHM8/df+8KfWMIfnk=\"; Version=1; Domain=dailyhunt.in; Max-Age=2592000; Expires=Sun, 21-Jun-2020 12:59:04 GMT; Path=/"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 200,\n \"data\": {\n \"count\": 10,\n \"nextPageUrl\": \"https://feed.dailyhunt.in/api/v2/syndication/items?pageNumber=2&partner=snapdeal1&puid=snapdeal-test123&pageScrollStart=-CL_CRN_NSCRN_TRENDING%231590151320000%3An186290422%3APUBLISH_DATE_SORT&pfm=96&langCode=en&fm=96&psi=VNa4%2BYpJcOgb%2B3BEob%2FLO3fvIzzNtPPWKrzHgB54OnsP4HP2ZOBEvLiY5bXQSRzgLoH08vfHSsaPbkvmG3yae2E%2BoPYPiz7BLxMjkNPBjQvaEPNuHdzm6fu0KXFaglzo&pageSize=10&fields=none&dsOffset=0&cid=1\",\n \"rows\": [\n {\n \"id\": \"n186291720\",\n \"title\": \"Panchayats to become industry clusters: Nitin Gadkari plans agro MSMEs to push rural entrepreneurship\",\n \"description\": \"Ease of Doing Business for MSMEs: The government is working on creating an agro MSME category to push entrepreneurship in rural and tribal areas and help manufacturing via local and raw produce. Ease of Doing Business for MSMEs: The government is working on creating an agro MSME category to push entrepreneurship in rural and tribal areas and help manufacturing via local and raw produce. Under this category, 'MSME industries will be planned at Gram Panchayat level and such industries will contribute towards the development of the respective village,' Nitin Gadkari, Union Road Transport & MSME Minister, said on Friday, adding that plans to build smart village, smart city, industrial clusters and other facilities at both sides of highways are also on cards.\",\n \"deepLinkUrl\": \"https://m.dailyhunt.in/news/india/english/the+financial+express-epaper-finexp/panchayats+to+become+industry+clusters+nitin+gadkari+plans+agro+msmes+to+push+rural+entrepreneurship-newsid-n186291720?mode=pwa&s=Snapdeal&ss=Content-Feed&lite=true&prevRef=snapdeal1&partnerRef=%7B%22pid%22%3A%22snapdeal1%22%7D\",\n \"publishTime\": 1590152178000,\n \"images\": [\n \"https://assets-news-bcdn.dailyhunt.in/cmd/{CMD}/{W}x{H}_{Q}/fetchdata16/images/14/88/78/1488786643b793aaf8e6157450030a08bde9163bc514932bf7196624db869164.{EXT}?src=synd\"\n ],\n \"source\": \"The Financial Express\",\n \"type\": \"STORY\",\n \"trackData\": \"p=snapdeal1&sid=n186291720&l=english&topicid=a3617d6e958a315152f3c08c3f2b5f1b&tname=News&stype=STORY&ctype=STORY&gid=HTML_n186291720&ll=en&requestType=null§ion=News\",\n \"sourceLogo\": \"https://assets-news-bcdn.dailyhunt.in/cmd/resize/96x96_80/fetchdata16/images/50/1d/72/501d72aa3182cc4aee5c4bdb705f203c680b2dd73cea5dc80ee2b1172548a53f.jpg?src=synd\",\n \"uiType\": \"NORMAL\",\n \"imagesCount\": 1,\n \"recommendationTs\": 1590152178000,\n \"shareInfo\": {\n \"shareString\": \"Panchayats to become industry clusters: Nitin Gadkari plans agro MSMEs to push rural entrepreneurshipThis API will fetch the Viral Cards/Stories from the Dailyshare Channel. Below section describes the API details for fetching stories (content items) from the channel.
\nImage height and width is returned as a part of the response.\nTo handle the UI for cards/images received from Dailyshare, Dailyhunt recommends below aspect ratios:
\n| width = height\n | \n1:1\n | \n
| width > height\n | \n16:9 , 4:3\n | \n
| height > width\n | \n1:1 (center crop)\n | \n
For more details on image quality and resolution handling, view Image Resolutions
\n| Field\n | \nValue\n | \nData Type\n | \n|||||||||||||||||||||||||||||||||||||||||||||||||||
| code\n | \nHttp Status Code value\n | \nInteger\n | \n|||||||||||||||||||||||||||||||||||||||||||||||||||
| data\n | \n\n\n
| \n JSON Object Array having a list of Content Cards.\n\n | \n|||||||||||||||||||||||||||||||||||||||||||||||||||
| pageNumber\n\n | \nThe current page number of the paginated data\n\n | \nInteger\n\n | \n|||||||||||||||||||||||||||||||||||||||||||||||||||
| trackUrl\n\n | \nTracking url of the page - described in tracking section\n\n | \nString\n\n | \n|||||||||||||||||||||||||||||||||||||||||||||||||||
| count\n\n | \nTotal number of cards in the page\n\n | \nInteger\n\n | \n|||||||||||||||||||||||||||||||||||||||||||||||||||
| nextPageUrl\n\n | \nThe next page API url\n\n | \nString\n\n | \n
The Partner Code shared with you during onboarding
\n","type":"text/plain"},"key":"partner","value":"YOUR_PARTNER_CODE"},{"description":{"content":"Channel Id, this is already populated as part of the “contentUrl” field of the “/syndication/channels” API response.
\n","type":"text/plain"},"key":"cid","value":"4342"},{"description":{"content":"Language code to get the channel story cards (content items), this is already populated as part of the “contentUrl” field of the “/syndication/channels” API response.
\n","type":"text/plain"},"key":"langCode","value":"en"},{"description":{"content":"Current local timestamp of api user
\n","type":"text/plain"},"key":"ts","value":""},{"description":{"content":"Uniquie client id
\n","type":"text/plain"},"key":"puid","value":"test123"},{"description":{"content":"Sum of all the feature mask values supported by the partner. The list of all the features are available here
\n","type":"text/plain"},"key":"pfm","value":"0"},{"description":{"content":"Autmoatically added value based on pfm value from channels API
\n","type":"text/plain"},"key":"fm","value":"64"},{"description":{"content":"Comma separated list of fields of the item, to filter out only a subset of item level details, such as “data.rows.id,data.rows.title,data.rows.description”. If none provided, API will return all the available fields for each item.
\n","type":"text/plain"},"key":"fields","value":"none"},{"description":{"content":"[Optional]Number of items in a page (Default is 10 items).
\n","type":"text/plain"},"key":"pageSize","value":"10"},{"description":{"content":"[Optional]Specific page you may wish to fetch. Default starts from “0 - referring to first page”.
\n","type":"text/plain"},"key":"pageNumber","value":"0"}],"variable":[]}},"response":[{"id":"d8d8eb54-3b59-4154-bddf-4313b0a65631","name":"DailyShare(Viral) Content Fetch","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"key=YOUR_API_KEY","type":"text"},{"key":"Signature","value":"VALUE_OF_SIGN_GENERATED","type":"text"}],"url":{"raw":"http://feed.dailyhunt.in/api/v2/syndication/items?partner=YOUR_PARTNER_CODE&cid=4342&langCode=en&ts=&puid=test123&pfm=64&fm=64","protocol":"http","host":["feed.dailyhunt.in"],"path":["api","v2","syndication","items"],"query":[{"key":"partner","value":"YOUR_PARTNER_CODE","description":"The Partner Code shared with you during onboarding"},{"key":"cid","value":"4342","description":"Channel Id, this is already populated as part of the “contentUrl” field of the “/syndication/channels” API response."},{"key":"langCode","value":"en","description":"Language code to get the channel story cards (content items), this is already populated as part of the “contentUrl” field of the “/syndication/channels” API response."},{"key":"ts","value":"","description":"Current local timestamp of api user"},{"key":"puid","value":"test123","description":"Uniquie client id"},{"key":"pfm","value":"64","description":"Sum of all the feature mask values supported by the partner. The list of all the features are available here"},{"key":"fields","value":"","description":"Comma separated list of fields of the item, to filter out only a subset of item level details, such as \ndata.rows.id,data.rows.title,data.rows.description. If none provided, API will return all the available fields for each item.","disabled":true},{"key":"fm","value":"64","description":"Autmoatically added value based on pfm value from channels API"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"X-Served-By","value":"dh4-a1-news-syndication-ws-n11"},{"key":"X-Request-Id","value":"6b9a2317-cc9a-459c-aac4-afc88dbb8abb"},{"key":"X-Dh-Client-Id","value":"c1001_d10_p1_581753232"},{"key":"Content-Encoding","value":"gzip"},{"key":"X-Cache-Status","value":"MISS"},{"key":"Content-Length","value":"1645"},{"key":"Cache-Control","value":"max-age=10"},{"key":"Expires","value":"Tue, 03 Dec 2019 13:30:20 GMT"},{"key":"Date","value":"Tue, 03 Dec 2019 13:30:10 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Set-Cookie","value":"dhFeedV1=\"CGL/U5hTJdX/vM7t1KkAvE8hC3JGv69xM1I86VVxXzZ5zjR2KOnG80hsQEHcgF0bD3sw4oGEX+T3TeyIiG5KeYU6BR1ROottsN3laz3BXwnzoV6xt19oNn958woHWa6iUxY8wQ5QAZX9kbhOv3suCwwBXru/sMGRzhjAvl+wAU4qUDWxNFReK+n76FXuWEM8l0AUrrhOInWlxjw8P1qSL+IAt2cv6VA5OoicdIgSBWVjNwIMS2XkWk+Xq2lBZSROohIGNu3N6mMZ7J2Wo+Y18t+I1dnji0m0P9DstD0JGOFYw/gKreZgklX7xdykw/mbKNaHtz+IKjszPwV0IZPHsOS+fPx3NfxdSxx6+xiFDMTA31SzMfSQW0lbxzOMZ4TKF/C+SrhMY4QWTjLfTbLjYT/tS5pSo7A9Jj27X04r0CVsiaJeNMht/lB9TmVH8d7rX29GXnyxAIireM54Gl/37iwqTpB7+jAfasDHnI02gA2dIH4HJUt+4CCoF3BiDtXWuhl5uyrtBJZf2EuZP2dItxGPhtbqSlVrbnDxZaC97sA=\"; Version=1"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 200,\n \"data\": {\n \"count\": 10,\n \"nextPageUrl\": \"http://feed.dailyhunt.in/api/v2/syndication/items?pageNumber=1&partner=oppo1&puid=157260d2b0a28004&pageScrollStart=1575379750747&pfm=0&langCode=en&fm=64&psi=u6rBes9vVDt36eWea4ILHPd4Bm85UV12gkmJOrpRvzZjITLJIEMBCQHiJoKl0%2FVMpjl4lj5LXoo5gOIop%2BuCDpOe1WH%2BV9WLsWBtiY2RbBN7ZivR0GwkypaWO1qbxsitj2djoReOyMd0Bq2ATXwrlQ55%2BrHYYf82IHH96ay0H3Cx8j6FaO6F3eFDIjFRGVmXPj9vZzO4UvC%2BkuwR7Swslo2y8y0n4iuKGCTeWvzmfsZIuBeEMpCGP6d8jY%2BWSRAn&pageSize=10&dsOffset=10&cid=4342\",\n \"rows\": [\n {\n \"id\": \"609627\",\n \"title\": \"Marriage theraphy\",\n \"deepLinkUrl\": \"https://nearme.dailyhunt.in/viral/india/english/vhmeme/marriage+theraphy-en-viralid-609627?mode=pwa&s=Oppo&ss=Browser-Feed&utm_source=Oppo&utm_medium=Browser-Feed&utm_campaign=Oppo-Browser-Feed&lite=true&prevRef=oppo1&partnerRef=%7B%22pid%22%3A%22oppo%22%7D&da=true\",\n \"trackData\": \"p=oppo1&sid=609627&l=english&topicid=3815&tname=DAILYSHARETOPIC&stype=null&ctype=null&gid=null&ll=null&requestType=null§ion=VIRAL\",\n \"uiType\": \"VH_FIT_BACKGROUND\",\n \"tags\": [\n \"#Romance\"\n ],\n \"nsfw\": false,\n \"shareCount\": \"80\",\n \"thumbnail\": {\n \"url\": \"https://bcdn.newshunt.com/cmd/{CMD}/{W}x{H}_{Q}/viral/images//items/6/0/9/6/27/609627.{EXT}\",\n \"width\": 1080,\n \"height\": 1080\n },\n \"contentType\": \"VHMEME\",\n \"authorName\": \"Vishnu Shankar\"\n },\n {\n \"id\": \"609631\",\n \"title\": \"Staying in love is very special\",\n \"deepLinkUrl\": \"https://nearme.dailyhunt.in/viral/india/english/vhmeme/staying+in+love+is+very+special-en-viralid-609631?mode=pwa&s=Oppo&ss=Browser-Feed&utm_source=Oppo&utm_medium=Browser-Feed&utm_campaign=Oppo-Browser-Feed&lite=true&prevRef=oppo1&partnerRef=%7B%22pid%22%3A%22oppo%22%7D&da=true\",\n \"trackData\": \"p=oppo1&sid=609631&l=english&topicid=3815&tname=DAILYSHARETOPIC&stype=null&ctype=null&gid=null&ll=null&requestType=null§ion=VIRAL\",\n \"uiType\": \"VH_FIT_BACKGROUND\",\n \"tags\": [\n \"#Romance\"\n ],\n \"nsfw\": false,\n \"shareCount\": \"283\",\n \"thumbnail\": {\n \"url\": \"https://bcdn.newshunt.com/cmd/{CMD}/{W}x{H}_{Q}/viral/images//items/6/0/9/6/31/609631.{EXT}\",\n \"width\": 1080,\n \"height\": 1100\n },\n \"contentType\": \"VHMEME\",\n \"authorName\": \"Mytri Shenoy\"\n },\n {\n \"id\": \"609629\",\n \"title\": \"My favorite person\",\n \"deepLinkUrl\": \"https://nearme.dailyhunt.in/viral/india/english/vhmeme/my+favorite+person-en-viralid-609629?mode=pwa&s=Oppo&ss=Browser-Feed&utm_source=Oppo&utm_medium=Browser-Feed&utm_campaign=Oppo-Browser-Feed&lite=true&prevRef=oppo1&partnerRef=%7B%22pid%22%3A%22oppo%22%7D&da=true\",\n \"trackData\": \"p=oppo1&sid=609629&l=english&topicid=3815&tname=DAILYSHARETOPIC&stype=null&ctype=null&gid=null&ll=null&requestType=null§ion=VIRAL\",\n \"uiType\": \"VH_FIT_BACKGROUND\",\n \"tags\": [\n \"#Romance\"\n ],\n \"nsfw\": false,\n \"shareCount\": \"282\",\n \"thumbnail\": {\n \"url\": \"https://bcdn.newshunt.com/cmd/{CMD}/{W}x{H}_{Q}/viral/images//items/6/0/9/6/29/609629.{EXT}\",\n \"width\": 1080,\n \"height\": 1350\n },\n \"contentType\": \"VHMEME\",\n \"authorName\": \"Ravi Murlidhar\"\n },\n {\n \"id\": \"609267\",\n \"title\": \"True love\",\n \"deepLinkUrl\": \"https://nearme.dailyhunt.in/viral/india/english/vhmeme/true+love-en-viralid-609267?mode=pwa&s=Oppo&ss=Browser-Feed&utm_source=Oppo&utm_medium=Browser-Feed&utm_campaign=Oppo-Browser-Feed&lite=true&prevRef=oppo1&partnerRef=%7B%22pid%22%3A%22oppo%22%7D&da=true\",\n \"trackData\": \"p=oppo1&sid=609267&l=english&topicid=3815&tname=DAILYSHARETOPIC&stype=null&ctype=null&gid=null&ll=null&requestType=null§ion=VIRAL\",\n \"uiType\": \"VH_FIT_BACKGROUND\",\n \"tags\": [\n \"#Romance\"\n ],\n \"nsfw\": false,\n \"shareCount\": \"147\",\n \"thumbnail\": {\n \"url\": \"https://bcdn.newshunt.com/cmd/{CMD}/{W}x{H}_{Q}/viral/images//items/6/0/9/2/67/609267.{EXT}\",\n \"width\": 564,\n \"height\": 564\n },\n \"contentType\": \"VHMEME\",\n \"authorName\": \"Savitha Shekar\"\n },\n {\n \"id\": \"609273\",\n \"title\": \"Growing old together\",\n \"deepLinkUrl\": \"https://nearme.dailyhunt.in/viral/india/english/vhmeme/growing+old+together-en-viralid-609273?mode=pwa&s=Oppo&ss=Browser-Feed&utm_source=Oppo&utm_medium=Browser-Feed&utm_campaign=Oppo-Browser-Feed&lite=true&prevRef=oppo1&partnerRef=%7B%22pid%22%3A%22oppo%22%7D&da=true\",\n \"trackData\": \"p=oppo1&sid=609273&l=english&topicid=3815&tname=DAILYSHARETOPIC&stype=null&ctype=null&gid=null&ll=null&requestType=null§ion=VIRAL\",\n \"uiType\": \"VH_FIT_BACKGROUND\",\n \"tags\": [\n \"#Romance\"\n ],\n \"nsfw\": false,\n \"shareCount\": \"102\",\n \"thumbnail\": {\n \"url\": \"https://bcdn.newshunt.com/cmd/{CMD}/{W}x{H}_{Q}/viral/images//items/6/0/9/2/73/609273.{EXT}\",\n \"width\": 564,\n \"height\": 705\n },\n \"contentType\": \"VHMEME\",\n \"authorName\": \"Umesh Subramanya\"\n },\n {\n \"id\": \"609266\",\n \"title\": \"Favorite love story\",\n \"deepLinkUrl\": \"https://nearme.dailyhunt.in/viral/india/english/vhmeme/favorite+love+story-en-viralid-609266?mode=pwa&s=Oppo&ss=Browser-Feed&utm_source=Oppo&utm_medium=Browser-Feed&utm_campaign=Oppo-Browser-Feed&lite=true&prevRef=oppo1&partnerRef=%7B%22pid%22%3A%22oppo%22%7D&da=true\",\n \"trackData\": \"p=oppo1&sid=609266&l=english&topicid=3815&tname=DAILYSHARETOPIC&stype=null&ctype=null&gid=null&ll=null&requestType=null§ion=VIRAL\",\n \"uiType\": \"VH_FIT_BACKGROUND\",\n \"tags\": [\n \"#Romance\"\n ],\n \"nsfw\": false,\n \"shareCount\": \"71\",\n \"thumbnail\": {\n \"url\": \"https://bcdn.newshunt.com/cmd/{CMD}/{W}x{H}_{Q}/viral/images//items/6/0/9/2/66/609266.{EXT}\",\n \"width\": 564,\n \"height\": 379\n },\n \"contentType\": \"VHMEME\",\n \"authorName\": \"Peacexoom\"\n },\n {\n \"id\": \"609242\",\n \"title\": \"When you really love someone , only the person matters.\",\n \"deepLinkUrl\": \"https://nearme.dailyhunt.in/viral/india/english/vhmeme/when+you+really+love+someone+only+the+person+matters-en-viralid-609242?mode=pwa&s=Oppo&ss=Browser-Feed&utm_source=Oppo&utm_medium=Browser-Feed&utm_campaign=Oppo-Browser-Feed&lite=true&prevRef=oppo1&partnerRef=%7B%22pid%22%3A%22oppo%22%7D&da=true\",\n \"trackData\": \"p=oppo1&sid=609242&l=english&topicid=3815&tname=DAILYSHARETOPIC&stype=null&ctype=null&gid=null&ll=null&requestType=null§ion=VIRAL\",\n \"uiType\": \"VH_FIT_BACKGROUND\",\n \"tags\": [\n \"#Romance\"\n ],\n \"nsfw\": false,\n \"shareCount\": \"135\",\n \"thumbnail\": {\n \"url\": \"https://bcdn.newshunt.com/cmd/{CMD}/{W}x{H}_{Q}/viral/images//items/6/0/9/2/42/609242.{EXT}\",\n \"width\": 960,\n \"height\": 800\n },\n \"contentType\": \"VHMEME\",\n \"authorName\": \"Netra Parthasarati\"\n },\n {\n \"id\": \"609244\",\n \"title\": \"Wherever I am with you, that is heaven for me.\",\n \"deepLinkUrl\": \"https://nearme.dailyhunt.in/viral/india/english/vhmeme/wherever+i+am+with+you+that+is+heaven+for+me-en-viralid-609244?mode=pwa&s=Oppo&ss=Browser-Feed&utm_source=Oppo&utm_medium=Browser-Feed&utm_campaign=Oppo-Browser-Feed&lite=true&prevRef=oppo1&partnerRef=%7B%22pid%22%3A%22oppo%22%7D&da=true\",\n \"trackData\": \"p=oppo1&sid=609244&l=english&topicid=3815&tname=DAILYSHARETOPIC&stype=null&ctype=null&gid=null&ll=null&requestType=null§ion=VIRAL\",\n \"uiType\": \"VH_FIT_BACKGROUND\",\n \"tags\": [\n \"#Romance\"\n ],\n \"nsfw\": false,\n \"shareCount\": \"53\",\n \"thumbnail\": {\n \"url\": \"https://bcdn.newshunt.com/cmd/{CMD}/{W}x{H}_{Q}/viral/images//items/6/0/9/2/44/609244.{EXT}\",\n \"width\": 1055,\n \"height\": 983\n },\n \"contentType\": \"VHMEME\",\n \"authorName\": \"KingAtomic\"\n },\n {\n \"id\": \"609249\",\n \"title\": \"Forever in love with you.\",\n \"deepLinkUrl\": \"https://nearme.dailyhunt.in/viral/india/english/vhmeme/forever+in+love+with+you-en-viralid-609249?mode=pwa&s=Oppo&ss=Browser-Feed&utm_source=Oppo&utm_medium=Browser-Feed&utm_campaign=Oppo-Browser-Feed&lite=true&prevRef=oppo1&partnerRef=%7B%22pid%22%3A%22oppo%22%7D&da=true\",\n \"trackData\": \"p=oppo1&sid=609249&l=english&topicid=3815&tname=DAILYSHARETOPIC&stype=null&ctype=null&gid=null&ll=null&requestType=null§ion=VIRAL\",\n \"uiType\": \"VH_FIT_BACKGROUND\",\n \"tags\": [\n \"#Romance\"\n ],\n \"nsfw\": false,\n \"shareCount\": \"117\",\n \"thumbnail\": {\n \"url\": \"https://bcdn.newshunt.com/cmd/{CMD}/{W}x{H}_{Q}/viral/images//items/6/0/9/2/49/609249.{EXT}\",\n \"width\": 1080,\n \"height\": 1080\n },\n \"contentType\": \"VHMEME\",\n \"authorName\": \"Trollborn\"\n },\n {\n \"id\": \"609245\",\n \"title\": \"I am going to love you for long long time.\",\n \"deepLinkUrl\": \"https://nearme.dailyhunt.in/viral/india/english/vhmeme/i+am+going+to+love+you+for+long+long+time-en-viralid-609245?mode=pwa&s=Oppo&ss=Browser-Feed&utm_source=Oppo&utm_medium=Browser-Feed&utm_campaign=Oppo-Browser-Feed&lite=true&prevRef=oppo1&partnerRef=%7B%22pid%22%3A%22oppo%22%7D&da=true\",\n \"trackData\": \"p=oppo1&sid=609245&l=english&topicid=3815&tname=DAILYSHARETOPIC&stype=null&ctype=null&gid=null&ll=null&requestType=null§ion=VIRAL\",\n \"uiType\": \"VH_FIT_BACKGROUND\",\n \"tags\": [\n \"#Romance\"\n ],\n \"nsfw\": false,\n \"shareCount\": \"19\",\n \"thumbnail\": {\n \"url\": \"https://bcdn.newshunt.com/cmd/{CMD}/{W}x{H}_{Q}/viral/images//items/6/0/9/2/45/609245.{EXT}\",\n \"width\": 1080,\n \"height\": 718\n },\n \"contentType\": \"VHMEME\",\n \"authorName\": \"Suhas Reddy\"\n }\n ],\n \"pageMarker\": \"1575379750747\",\n \"pageNumber\": 1,\n \"trackUrl\": \"http://track.dailyhunt.in/api/v2/syndication/tracking?s=Oppo&ss=Browser-Feed&utm_source=Oppo&utm_medium=Browser-Feed&utm_campaign=Oppo-Browser-Feed&lite=true&prevRef=oppo1&partnerRef=%7B%22pid%22%3A%22oppo%22%7D&da=true\"\n }\n}"}],"_postman_id":"5eeda276-1f09-4c1e-876d-d03bbb3547de"},{"name":"Search","id":"f4cabd13-e8cf-4bf8-ba37-94b9c501317c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"key=YOUR_API_KEY","description":"The API key shared with you during onboarding
\n","type":"text"},{"key":"Signature","value":"VALUE_OF_SIGN_GENERATED","description":"The signed message as described in the API Security section
\n","type":"text"}],"url":"http://feed.dailyhunt.in/api/v2/syndication/search?partner=YOUR_PARTNER_CODE&langCode=en&ts=&puid=test123&query={{query}}","description":"This API is used to get the content based on user search query.
\nBelow section describes the API details for fetching stories based on user query
\n| Field\n | \nValue\n | \nData Type\n | \n||||||||||||||||||||||||||||||||||||||||||||||||||||||
| code\n | \nHttp Status Code value\n | \nInteger\n | \n||||||||||||||||||||||||||||||||||||||||||||||||||||||
| data\n | \n\n\n
| \n JSON Object Array having a list of Content Cards.\n\n | \n||||||||||||||||||||||||||||||||||||||||||||||||||||||
| pageNumber\n\n | \nThe current page number of the paginated data\n\n | \nInteger\n\n | \n||||||||||||||||||||||||||||||||||||||||||||||||||||||
| trackUrl\n\n | \nTracking url of the page - described in tracking section\n\n | \nString\n\n | \n||||||||||||||||||||||||||||||||||||||||||||||||||||||
| count\n\n | \nTotal number of cards in the page\n\n | \nInteger\n\n | \n||||||||||||||||||||||||||||||||||||||||||||||||||||||
| nextPageUrl\n\n | \nThe next page API url\n\n | \nString\n\n | \n
The Partner Code shared with you during onboarding
\n","type":"text/plain"},"key":"partner","value":"YOUR_PARTNER_CODE"},{"description":{"content":"The lang code based on which channels will fetch the corresponding language’s content feed. See available languages
\n","type":"text/plain"},"key":"langCode","value":"en"},{"description":{"content":"API invocation time in milliseconds
\n","type":"text/plain"},"key":"ts","value":""},{"description":{"content":"Your unique user id
\n","type":"text/plain"},"key":"puid","value":"test123"},{"description":{"content":"Search text will show up
\n","type":"text/plain"},"key":"query","value":"{{query}}"}],"variable":[]}},"response":[{"id":"131b55a9-ba2d-4846-8b3b-8c24f309bbd2","name":"search","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"key=YOUR_API_KEY","description":"The API key shared with you during onboarding","type":"text"},{"key":"Signature","value":"VALUE_OF_SIGN_GENERATED","description":"The signed message as described in the API Security section","type":"text"}],"url":{"raw":"http://feed.dailyhunt.in/api/v2/syndication/search?partner=YOUR_PARTNER_CODE&langCode=en&ts=&puid=test123&query={{query}}","protocol":"http","host":["feed.dailyhunt.in"],"path":["api","v2","syndication","search"],"query":[{"key":"partner","value":"YOUR_PARTNER_CODE","description":"The Partner Code shared with you during onboarding"},{"key":"langCode","value":"en","description":"The lang code based on which channels will fetch the corresponding language’s content feed. The list of allowed lang codes are available in the Appendix section."},{"key":"ts","value":"","description":"API invocation time in milliseconds"},{"key":"puid","value":"test123","description":"Your unique user id"},{"key":"query","value":"{{query}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"X-Served-By","value":"dh4-a1-news-syndication-ws-n2"},{"key":"X-Request-Id","value":"76b0e717-005f-4146-ac3a-fb44c2b99a87"},{"key":"X-Dh-Client-Id","value":"c1001_d10_p1_567440365"},{"key":"Content-Encoding","value":"gzip"},{"key":"X-Cache-Status","value":"MISS"},{"key":"Content-Length","value":"881"},{"key":"Cache-Control","value":"max-age=0"},{"key":"Expires","value":"Mon, 16 Sep 2019 10:26:39 GMT"},{"key":"Date","value":"Mon, 16 Sep 2019 10:26:39 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Set-Cookie","value":"dhFeedV1=\"CGL/U5hTJdX/vM7t1KkAvE8hC3JGv69xM1I86VVxXzYed5Ahsa79NjRE9m5lgE9kD3sw4oGEX+T3TeyIiG5KeYU6BR1ROottsN3laz3BXwnzoV6xt19oNn958woHWa6iPHbOSRky/2Aqc4lVr/hzal4rCpDimPxcfMOCDDHAmUUGXpiHis3/xmf0pc590QLK4rud9RoCE/pXXV8Zs5Y+MMjdQHbS4B8ssjLcilZwzZfGI86OpCW1m3Vn398dYajYII3po1YY9xRzLY28pzzShIyTjFJN1Es7JsIzS2G3ECNde+sEXqfSICsOpdBNFuoq7waisCtRqSNjdO/riuy7ygAf66hhy85CaJHQDyI3570=\"; Version=1"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 200,\n \"data\": {\n \"count\": 10,\n \"nextPageUrl\": \"https://feed.dailyhunt.in/api/v2/syndication/search?pageNumber=1&partner=samsung&puid=3499&pageScrollStart=1629436681483&langCode=en&query=corona%20virus&psi=bhbncTYMW2UDl88Wi%2Fp1Rw%3D%3D&pageSize=10&dsOffset=0\",\n \"rows\": [\n {\n \"id\": \"n307342638\",\n \"title\": \"Afghanistan: Kabul airport is the only way to get out amidst the tightening grip of Taliban\",\n \"description\": \"Afghan Security Force (Photo Credits: Twitter) New Delhi: Meanwhile, huge crowds can be seen at the ticket counter in the parking lot outside the airport terminal, collecting their belongings, carpets, television sets, souvenirs and clothing as they move forward. are visible so that their luggage does not exceed the weight carrying limit.\",\n \"deepLinkUrl\": \"https://samsung.dailyhunt.in/news/india/english/ampinity+news-epaper-amptnw/afghanistan+kabul+airport+is+the+only+way+to+get+out+amidst+the+tightening+grip+of+taliban-newsid-n307342638?mode=pwa&s=Samsung&ss=Browser-UHP&utm_source=Samsung&utm_medium=Browser-UHP&utm_campaign=Samsung-Browser-UHP&lite=true&prevRef=samsung&partnerRef=%7B%22pid%22%3A%22samsung%22%7D\",\n \"publishTime\": 1628965641000,\n \"images\": [\n \"https://assets-news-bcdn.dailyhunt.in/cmd/{CMD}/{W}x{H}_{Q}/fetchdata16/images/a1/6f/ad/a16fad7f2ccf8725b60c43d0afe038a8a148bbf13c1b396b65cfc503d08a99ca.{EXT}?src=synd\"\n ],\n \"source\": \"Ampinity News\",\n \"type\": \"STORY\",\n \"trackData\": \"p=samsung&sid=n307342638&l=null&topicid=null&tname=null&stype=null&ctype=null&gid=null&ll=null&requestType=%2Fsearch§ion=null\",\n \"sourceLogo\": \"https://assets-news-bcdn.dailyhunt.in/cmd/resize/96x96_80/fetchdata16/images/80/65/20/8065205070ff477f758cf0fcd0fffdf9e37159583accbb3e27156ed35333edcc.jpg?src=synd\",\n \"uiType\": \"NORMAL\",\n \"imagesCount\": 3,\n \"shareInfo\": {\n \"shareString\": \"Afghanistan: Kabul airport is the only way to get out amidst the tightening grip of Taliban\n https://dhunt.in/kyi9i\n\n Source: \\\"Ampinity News\\\" via Dailyhunt \n\n Download Now https://dhunt.in/DWND\",\n \"shareUrl\": \"https://dhunt.in/kyi9i?s=syn&ss=pd&partnerRef=%7B%22pid%22%3A%2211%22%7D\"\n },\n \"appDeepLinkUrl\": \"dailyhunt://m.dailyhunt.in/news/india/english/ampinity+news-epaper-amptnw/afghanistan+kabul+airport+is+the+only+way+to+get+out+amidst+the+tightening+grip+of+taliban-newsid-n307342638?mode=pwa&s=Samsung&ss=Browser-UHP&utm_source=Samsung&utm_medium=Browser-UHP&utm_campaign=Samsung-Browser-UHP&lite=true&prevRef=samsung&partnerRef=%7B%22pid%22%3A%22samsung%22%7D\"\n },\n {\n \"id\": \"n307292380\",\n \"title\": \"'A Long Way From 1947': President Kovind Addresses the Nation on I-Day Eve | Highlights\",\n \"description\": \"Addressing the nation on the eve of India's Independence Day on August 15, President Ram Nath Kovind said the country has come a long way from 1947. 'Our dream of freedom was realized through the struggle of many generations of known and unknown freedom fighters. All of them set unique examples of sacrifice and sacrifice. I bow down to the sacred memory of all those immortal fighters,\\\" Kovind said. The President also hailed the athletes who had competed in the Olympics, calling them 'heroes'. A Look at PM Narendra Modi's Independence Day Speeches - from Clean India to Self-reliant India President Kovind talked about the devastating second wave of Covid-19 in the country, expressing sympathy with those who had lost their loved ones, adding that he was standing with them in their loss. Read all the latest updates on COVID-19 here.\",\n \"deepLinkUrl\": \"https://samsung.dailyhunt.in/news/india/english/news18+english-epaper-newseigh/a+long+way+from+1947+president+kovind+addresses+the+nation+on+iday+eve+highlights-newsid-n307292380?mode=pwa&s=Samsung&ss=Browser-UHP&utm_source=Samsung&utm_medium=Browser-UHP&utm_campaign=Samsung-Browser-UHP&lite=true&prevRef=samsung&partnerRef=%7B%22pid%22%3A%22samsung%22%7D\",\n \"publishTime\": 1628953666000,\n \"images\": [\n \"https://assets-news-bcdn.dailyhunt.in/cmd/{CMD}/{W}x{H}_{Q}/fetchdata16/images/86/7f/79/867f798dc0c5b072751f564fd0e760cdd6031e9bd0ca1c5c696caaf69e56835d.{EXT}?src=synd\"\n ],\n \"source\": \"News18\",\n \"type\": \"STORY\",\n \"trackData\": \"p=samsung&sid=n307292380&l=null&topicid=null&tname=null&stype=null&ctype=null&gid=null&ll=null&requestType=%2Fsearch§ion=null\",\n \"sourceLogo\": \"https://assets-news-bcdn.dailyhunt.in/cmd/resize/96x96_80/fetchdata16/images/17/c5/66/17c56673f21df35dde259d79585a13d1dc4ca80ad0f9a140e55d72c4cfabd6af.jpg?src=synd\",\n \"uiType\": \"NORMAL\",\n \"imagesCount\": 1,\n \"shareInfo\": {\n \"shareString\": \"'A Long Way From 1947': President Kovind Addresses the Nation on I-Day Eve | Highlights\n https://dhunt.in/kxYtx\n\n Source: \\\"News18\\\" via Dailyhunt \n\n Download Now https://dhunt.in/DWND\",\n \"shareUrl\": \"https://dhunt.in/kxYtx?s=syn&ss=pd&partnerRef=%7B%22pid%22%3A%2211%22%7D\"\n },\n \"appDeepLinkUrl\": \"dailyhunt://m.dailyhunt.in/news/india/english/news18+english-epaper-newseigh/a+long+way+from+1947+president+kovind+addresses+the+nation+on+iday+eve+highlights-newsid-n307292380?mode=pwa&s=Samsung&ss=Browser-UHP&utm_source=Samsung&utm_medium=Browser-UHP&utm_campaign=Samsung-Browser-UHP&lite=true&prevRef=samsung&partnerRef=%7B%22pid%22%3A%22samsung%22%7D\"\n },\n {\n \"id\": \"n307292574\",\n \"title\": \"COVID Not Over Yet, Lowering Guard Would be Unwise Now, Says President Kovind in His Address to Nation\",\n \"description\": \"New Delhi: President Ram Nath Kovind addressed the nation on the eve of 75th Independence Day on Saturday, and said it is a festival of freedom for all Indians. In his address to the nation, President Kovind said the dream of freedom was realized through the struggle of many generations of known and unknown freedom fighters. He also bowed in respect to the pious memory of those brave martyrs. \\\"Independence Day is a festival of freedom for us. Our dream of freedom was realized through the struggle of many generations of known and unknown freedom fighters. They made great sacrifices. Read all the latest updates on COVID-19 here.\",\n \"deepLinkUrl\": \"https://samsung.dailyhunt.in/news/india/english/india-epaper-india/covid+not+over+yet+lowering+guard+would+be+unwise+now+says+president+kovind+in+his+address+to+nation-newsid-n307292574?mode=pwa&s=Samsung&ss=Browser-UHP&utm_source=Samsung&utm_medium=Browser-UHP&utm_campaign=Samsung-Browser-UHP&lite=true&prevRef=samsung&partnerRef=%7B%22pid%22%3A%22samsung%22%7D\",\n \"publishTime\": 1628948542000,\n \"images\": [\n \"https://assets-news-bcdn.dailyhunt.in/cmd/{CMD}/{W}x{H}_{Q}/fetchdata16/images/45/d4/ec/45d4ecdf711a862f754015ea465a2384e09ff1bd1d2d9c682acfaae47c7aaa0d.{EXT}?src=synd\"\n ],\n \"source\": \"India.com\",\n \"type\": \"STORY\",\n \"trackData\": \"p=samsung&sid=n307292574&l=null&topicid=null&tname=null&stype=null&ctype=null&gid=null&ll=null&requestType=%2Fsearch§ion=null\",\n \"sourceLogo\": \"https://assets-news-bcdn.dailyhunt.in/cmd/resize/96x96_80/fetchdata16/images/43/cd/8c/43cd8c160d59e07de9e4d109427a937133e911d8fbea65da67a67183c70e56e7.jpg?src=synd\",\n \"uiType\": \"NORMAL\",\n \"imagesCount\": 1,\n \"shareInfo\": {\n \"shareString\": \"COVID Not Over Yet, Lowering Guard Would be Unwise Now, Says President Kovind in His Address to Nation\n https://dhunt.in/kxOog\n\n Source: \\\"India.com\\\" via Dailyhunt \n\n Download Now https://dhunt.in/DWND\",\n \"shareUrl\": \"https://dhunt.in/kxOog?s=syn&ss=pd&partnerRef=%7B%22pid%22%3A%2211%22%7D\"\n },\n \"appDeepLinkUrl\": \"dailyhunt://m.dailyhunt.in/news/india/english/india-epaper-india/covid+not+over+yet+lowering+guard+would+be+unwise+now+says+president+kovind+in+his+address+to+nation-newsid-n307292574?mode=pwa&s=Samsung&ss=Browser-UHP&utm_source=Samsung&utm_medium=Browser-UHP&utm_campaign=Samsung-Browser-UHP&lite=true&prevRef=samsung&partnerRef=%7B%22pid%22%3A%22samsung%22%7D\"\n },\n {\n \"id\": \"n307318990\",\n \"title\": \"Covid not yet over, urge all to get vaccinated: Prez Kovind addresses nation on eve of I-Day\",\n \"description\": \"In a televised address to the nation on the eve of 75th Independence Day, the President also referred to the second COVID-19 wave, and said the country is yet to come out of its devastating effects. He asserted this is the time for extra care and caution, and people should not let their guard down. \\\"Our experience of the pandemic has taught that we still need to take precautions,\\\" the President said. Prez Kovind said while the intensity of the Covid-19 pandemic has come down, but the virus has not yet gone away. \\\"We are yet to come out of the devastating effects of its recurrence this year.\\\" \\\"I appreciate the hard work done by our doctors, nurses, health workers and other Corona warriors. Read all the latest updates on COVID-19 here.\",\n \"deepLinkUrl\": \"https://samsung.dailyhunt.in/news/india/english/hindustan+times-epaper-httimes/covid+not+yet+over+urge+all+to+get+vaccinated+prez+kovind+addresses+nation+on+eve+of+iday-newsid-n307318990?mode=pwa&s=Samsung&ss=Browser-UHP&utm_source=Samsung&utm_medium=Browser-UHP&utm_campaign=Samsung-Browser-UHP&lite=true&prevRef=samsung&partnerRef=%7B%22pid%22%3A%22samsung%22%7D\",\n \"publishTime\": 1628955970000,\n \"images\": [],\n \"source\": \"Hindustan Times\",\n \"type\": \"STORY\",\n \"trackData\": \"p=samsung&sid=n307318990&l=null&topicid=null&tname=null&stype=null&ctype=null&gid=null&ll=null&requestType=%2Fsearch§ion=null\",\n \"sourceLogo\": \"https://assets-news-bcdn.dailyhunt.in/cmd/resize/96x96_80/fetchdata16/images/84/2a/9d/842a9db31babfa10c9508c95f25193c9f6c20e41bd23759cba8ccf100bf590eb.jpg?src=synd\",\n \"uiType\": \"NORMAL\",\n \"imagesCount\": 0,\n \"shareInfo\": {\n \"shareString\": \"Covid not yet over, urge all to get vaccinated: Prez Kovind addresses nation on eve of I-Day\n https://dhunt.in/ky9Z6\n\n Source: \\\"Hindustan Times\\\" via Dailyhunt \n\n Download Now https://dhunt.in/DWND\",\n \"shareUrl\": \"https://dhunt.in/ky9Z6?s=syn&ss=pd&partnerRef=%7B%22pid%22%3A%2211%22%7D\"\n },\n \"appDeepLinkUrl\": \"dailyhunt://m.dailyhunt.in/news/india/english/hindustan+times-epaper-httimes/covid+not+yet+over+urge+all+to+get+vaccinated+prez+kovind+addresses+nation+on+eve+of+iday-newsid-n307318990?mode=pwa&s=Samsung&ss=Browser-UHP&utm_source=Samsung&utm_medium=Browser-UHP&utm_campaign=Samsung-Browser-UHP&lite=true&prevRef=samsung&partnerRef=%7B%22pid%22%3A%22samsung%22%7D\"\n },\n {\n \"id\": \"n307303794\",\n \"title\": \"President Kovind addresses India on Independence Day, says we must strive for more equality in an unequal world\",\n \"description\": \"President of India Ram Nath Kovind addressed the nation at 7 PM on the eve of 75th Independence Day on August 14, 2021. The President’s speech on eve of Independence Day will be broadcasted from 7 PM on the entire national network of All India Radio. The address by the President on eve of Independence Day will also be telecasted over all the channels of Doordarshan in Hindi followed by the English version. The broadcast of President Kovind’s address in Hindi and English on Doordarshan will be followed by the broadcast in regional languages by the regional channels of DD. All India Radio will broadcast the regional language versions at 9.30 PM on its regional networks. Watch LIVE: President Kovind addresses the nation on the eve of the 75th Independence Day. https://t.co/aFdgjhwNwJ — President of India (@rashtrapatibhvn) August 14, 2021 President Ram Nath Kovind addresses nation: Highlights • President Ram Nath Kovind on the occasion of 75th Independence Day extended his greetings to all the Indians living in India and abroad. Read all the latest updates on COVID-19 here.\",\n \"deepLinkUrl\": \"https://samsung.dailyhunt.in/news/india/english/jagran+josh+english-epaper-jajoshen/president+kovind+addresses+india+on+independence+day+says+we+must+strive+for+more+equality+in+an+unequal+world-newsid-n307303794?mode=pwa&s=Samsung&ss=Browser-UHP&utm_source=Samsung&utm_medium=Browser-UHP&utm_campaign=Samsung-Browser-UHP&lite=true&prevRef=samsung&partnerRef=%7B%22pid%22%3A%22samsung%22%7D\",\n \"publishTime\": 1628955241000,\n \"images\": [],\n \"source\": \"Jagran josh\",\n \"type\": \"STORY\",\n \"trackData\": \"p=samsung&sid=n307303794&l=null&topicid=null&tname=null&stype=null&ctype=null&gid=null&ll=null&requestType=%2Fsearch§ion=null\",\n \"sourceLogo\": \"https://assets-news-bcdn.dailyhunt.in/cmd/resize/96x96_80/fetchdata16/images/35/86/ad/3586ad064285597932211628737402a97f48a2781ede629d695baccb2722c416.jpg?src=synd\",\n \"uiType\": \"NORMAL\",\n \"imagesCount\": 0,\n \"shareInfo\": {\n \"shareString\": \"President Kovind addresses India on Independence Day, says we must strive for more equality in an unequal world\n https://dhunt.in/kxXTe\n\n Source: \\\"Jagran josh\\\" via Dailyhunt \n\n Download Now https://dhunt.in/DWND\",\n \"shareUrl\": \"https://dhunt.in/kxXTe?s=syn&ss=pd&partnerRef=%7B%22pid%22%3A%2211%22%7D\"\n },\n \"appDeepLinkUrl\": \"dailyhunt://m.dailyhunt.in/news/india/english/jagran+josh+english-epaper-jajoshen/president+kovind+addresses+india+on+independence+day+says+we+must+strive+for+more+equality+in+an+unequal+world-newsid-n307303794?mode=pwa&s=Samsung&ss=Browser-UHP&utm_source=Samsung&utm_medium=Browser-UHP&utm_campaign=Samsung-Browser-UHP&lite=true&prevRef=samsung&partnerRef=%7B%22pid%22%3A%22samsung%22%7D\"\n },\n {\n \"id\": \"n307239962\",\n \"title\": \"Photos: Jacqueline Fernandez snapped at a covid vaccine center\",\n \"description\": \"Jacqueline Fernandez Jacqueline Fernandez Jacqueline Fernandez Jacqueline Fernandez Jacqueline Fernandez BOLLYWOOD NEWS\",\n \"deepLinkUrl\": \"https://samsung.dailyhunt.in/news/india/english/bollywood+hungama+english-epaper-blhuen/photos+jacqueline+fernandez+snapped+at+a+covid+vaccine+center-newsid-n307239962?mode=pwa&s=Samsung&ss=Browser-UHP&utm_source=Samsung&utm_medium=Browser-UHP&utm_campaign=Samsung-Browser-UHP&lite=true&prevRef=samsung&partnerRef=%7B%22pid%22%3A%22samsung%22%7D\",\n \"publishTime\": 1628935452000,\n \"images\": [\n \"https://assets-news-bcdn.dailyhunt.in/cmd/{CMD}/{W}x{H}_{Q}/fetchdata16/images/50/5d/9b/505d9b87407faacf065deaaeec346c7adc74f8ad01c41d8cd042a21622a0294e.{EXT}?src=synd\",\n \"https://assets-news-bcdn.dailyhunt.in/cmd/{CMD}/{W}x{H}_{Q}/fetchdata16/images/a8/8b/b3/a88bb3e5a2ca2adb3ee1eccb76f2521fe8adb88a0f0071094eaadfcd649f6c06.{EXT}?src=synd\",\n \"https://assets-news-bcdn.dailyhunt.in/cmd/{CMD}/{W}x{H}_{Q}/fetchdata16/images/92/83/dc/9283dcc0c055568b1eefa86e8a015bb6976a1e9288f51b691afadfa13645bab0.{EXT}?src=synd\"\n ],\n \"source\": \"Bollywood Hungama\",\n \"type\": \"STORY\",\n \"trackData\": \"p=samsung&sid=n307239962&l=null&topicid=null&tname=null&stype=null&ctype=null&gid=null&ll=null&requestType=%2Fsearch§ion=null\",\n \"sourceLogo\": \"https://assets-news-bcdn.dailyhunt.in/cmd/resize/96x96_80/fetchdata16/images/db/35/6f/db356fa87e1f16e7f1c75d3acbfdc0915712414eeb4db23cf53b72e57fa5dc2d.jpg?src=synd\",\n \"uiType\": \"TILE_3\",\n \"imagesCount\": 6,\n \"shareInfo\": {\n \"shareString\": \"Photos: Jacqueline Fernandez snapped at a covid vaccine center\n https://dhunt.in/kxvBZ\n\n Source: \\\"Bollywood Hungama\\\" via Dailyhunt \n\n Download Now https://dhunt.in/DWND\",\n \"shareUrl\": \"https://dhunt.in/kxvBZ?s=syn&ss=pd&partnerRef=%7B%22pid%22%3A%2211%22%7D\"\n },\n \"appDeepLinkUrl\": \"dailyhunt://m.dailyhunt.in/news/india/english/bollywood+hungama+english-epaper-blhuen/photos+jacqueline+fernandez+snapped+at+a+covid+vaccine+center-newsid-n307239962?mode=pwa&s=Samsung&ss=Browser-UHP&utm_source=Samsung&utm_medium=Browser-UHP&utm_campaign=Samsung-Browser-UHP&lite=true&prevRef=samsung&partnerRef=%7B%22pid%22%3A%22samsung%22%7D\"\n },\n {\n \"id\": \"n307249382\",\n \"title\": \"Rajasthan: This time due to corona infection, this will not happen in the state-level Independence Day celebrations!\",\n \"description\": \"Independence Day will be celebrated in the country tomorrow. State-level Independence Day celebrations will be organized at Sawai Man Singh Stadium in the capital Jaipur. Because of the infection of the Corona virus, this time the award ceremony will not be organized at the state level Independence Day function.\",\n \"deepLinkUrl\": \"https://samsung.dailyhunt.in/news/india/english/news+crab-epaper-newcrb/rajasthan+this+time+due+to+corona+infection+this+will+not+happen+in+the+statelevel+independence+day+celebrations-newsid-n307249382?mode=pwa&s=Samsung&ss=Browser-UHP&utm_source=Samsung&utm_medium=Browser-UHP&utm_campaign=Samsung-Browser-UHP&lite=true&prevRef=samsung&partnerRef=%7B%22pid%22%3A%22samsung%22%7D\",\n \"publishTime\": 1628939052000,\n \"images\": [\n \"https://assets-news-bcdn.dailyhunt.in/cmd/{CMD}/{W}x{H}_{Q}/fetchdata16/images/3d/52/32/3d523286202dd849d2622c9c64d33b9294af84015be10e7a6b6ed18d617d3c9e.{EXT}?src=synd\"\n ],\n \"source\": \"News Crab\",\n \"type\": \"STORY\",\n \"trackData\": \"p=samsung&sid=n307249382&l=null&topicid=null&tname=null&stype=null&ctype=null&gid=null&ll=null&requestType=%2Fsearch§ion=null\",\n \"sourceLogo\": \"https://assets-news-bcdn.dailyhunt.in/cmd/resize/96x96_80/fetchdata16/images/63/77/e0/6377e01e974d030e7543f44ef3c651543768ddbe7f2570f032349476120c7299.jpg?src=synd\",\n \"uiType\": \"NORMAL\",\n \"imagesCount\": 3,\n \"shareInfo\": {\n \"shareString\": \"Rajasthan: This time due to corona infection, this will not happen in the state-level Independence Day celebrations!\n https://dhunt.in/kxqjB\n\n Source: \\\"News Crab\\\" via Dailyhunt \n\n Download Now https://dhunt.in/DWND\",\n \"shareUrl\": \"https://dhunt.in/kxqjB?s=syn&ss=pd&partnerRef=%7B%22pid%22%3A%2211%22%7D\"\n },\n \"appDeepLinkUrl\": \"dailyhunt://m.dailyhunt.in/news/india/english/news+crab-epaper-newcrb/rajasthan+this+time+due+to+corona+infection+this+will+not+happen+in+the+statelevel+independence+day+celebrations-newsid-n307249382?mode=pwa&s=Samsung&ss=Browser-UHP&utm_source=Samsung&utm_medium=Browser-UHP&utm_campaign=Samsung-Browser-UHP&lite=true&prevRef=samsung&partnerRef=%7B%22pid%22%3A%22samsung%22%7D\"\n },\n {\n \"id\": \"n307212196\",\n \"title\": \"Pune: This gram panchayat is distributing free condoms! Know what is the connection between Zika virus and condom distribution?\",\n \"description\": \"Condoms (Photo Credits: Pixabay) Pune: While the corona infection is now under control, the threat of a third wave still remains. Vaccination has been intensified in the state. There are reports that a case of Zika virus has been found in a village in Pune. This remains a matter of concern for the health department. Read all the latest updates on COVID-19 here.\",\n \"deepLinkUrl\": \"https://samsung.dailyhunt.in/news/india/english/ampinity+news-epaper-amptnw/pune+this+gram+panchayat+is+distributing+free+condoms+know+what+is+the+connection+between+zika+virus+and+condom+distribution-newsid-n307212196?mode=pwa&s=Samsung&ss=Browser-UHP&utm_source=Samsung&utm_medium=Browser-UHP&utm_campaign=Samsung-Browser-UHP&lite=true&prevRef=samsung&partnerRef=%7B%22pid%22%3A%22samsung%22%7D\",\n \"publishTime\": 1628930842000,\n \"images\": [\n \"https://assets-news-bcdn.dailyhunt.in/cmd/{CMD}/{W}x{H}_{Q}/fetchdata16/images/82/c9/e0/82c9e0ddaaae4035eade7f0b63107b8ba9a1eb5fa246f3c87eb7a474767192c0.{EXT}?src=synd\"\n ],\n \"source\": \"Ampinity News\",\n \"type\": \"STORY\",\n \"trackData\": \"p=samsung&sid=n307212196&l=null&topicid=null&tname=null&stype=null&ctype=null&gid=null&ll=null&requestType=%2Fsearch§ion=null\",\n \"sourceLogo\": \"https://assets-news-bcdn.dailyhunt.in/cmd/resize/96x96_80/fetchdata16/images/80/65/20/8065205070ff477f758cf0fcd0fffdf9e37159583accbb3e27156ed35333edcc.jpg?src=synd\",\n \"uiType\": \"NORMAL\",\n \"imagesCount\": 3,\n \"shareInfo\": {\n \"shareString\": \"Pune: This gram panchayat is distributing free condoms! Know what is the connection between Zika virus and condom distribution?\n https://dhunt.in/kxftE\n\n Source: \\\"Ampinity News\\\" via Dailyhunt \n\n Download Now https://dhunt.in/DWND\",\n \"shareUrl\": \"https://dhunt.in/kxftE?s=syn&ss=pd&partnerRef=%7B%22pid%22%3A%2211%22%7D\"\n },\n \"appDeepLinkUrl\": \"dailyhunt://m.dailyhunt.in/news/india/english/ampinity+news-epaper-amptnw/pune+this+gram+panchayat+is+distributing+free+condoms+know+what+is+the+connection+between+zika+virus+and+condom+distribution-newsid-n307212196?mode=pwa&s=Samsung&ss=Browser-UHP&utm_source=Samsung&utm_medium=Browser-UHP&utm_campaign=Samsung-Browser-UHP&lite=true&prevRef=samsung&partnerRef=%7B%22pid%22%3A%22samsung%22%7D\"\n },\n {\n \"id\": \"n307170368\",\n \"title\": \"India logs 38,667 new Covid cases, 478 deaths\",\n \"description\": \"New Delhi, August: India on Saturday showed a marginal dip in daily Covid-19 caseload as it recorded 38,667 fresh infections in the last 24 hours while the recovery rate from the SARS-CoV2 virus stood at 97.45 per cent. A total of 478 deaths in the same duration pushed the toll to 4,30,732. Less than 50,000 daily new cases have been reported for 48 consecutive days, as per the Covid bulletin released by the Ministry of Health and Family Welfare. The active caseload registered a growth of 2,446 on Saturday and the total caseload climbed to 3,87,673. The active caseloads constitute 1.21 per cent of total cases, as per the bulletin released. A total 35,743 patients were discharged from the hospitals and health centers in past one day, taking the total number of cured to 3,13,38,088 till date in India. Read all the latest updates on COVID-19 here.\",\n \"deepLinkUrl\": \"https://samsung.dailyhunt.in/news/india/english/thehansindia-epaper-hans/india+logs+38667+new+covid+cases+478+deaths-newsid-n307170368?mode=pwa&s=Samsung&ss=Browser-UHP&utm_source=Samsung&utm_medium=Browser-UHP&utm_campaign=Samsung-Browser-UHP&lite=true&prevRef=samsung&partnerRef=%7B%22pid%22%3A%22samsung%22%7D\",\n \"publishTime\": 1628921685000,\n \"images\": [\n \"https://assets-news-bcdn.dailyhunt.in/cmd/{CMD}/{W}x{H}_{Q}/fetchdata16/images/88/49/67/884967214f43a5b0c8659700a8b67ab9c40972a0c86d811251be965850e7bfe4.{EXT}?src=synd\"\n ],\n \"source\": \"The Hans India\",\n \"type\": \"STORY\",\n \"trackData\": \"p=samsung&sid=n307170368&l=null&topicid=null&tname=null&stype=null&ctype=null&gid=null&ll=null&requestType=%2Fsearch§ion=null\",\n \"sourceLogo\": \"https://assets-news-bcdn.dailyhunt.in/cmd/resize/96x96_80/fetchdata16/images/09/0c/47/090c470c4d862ab60a2c0076b6b86cb848529943b53b9e97072553a67949e681.jpg?src=synd\",\n \"uiType\": \"NORMAL\",\n \"imagesCount\": 1,\n \"shareInfo\": {\n \"shareString\": \"India logs 38,667 new Covid cases, 478 deaths\n https://dhunt.in/kwKEN\n\n Source: \\\"The Hans India\\\" via Dailyhunt \n\n Download Now https://dhunt.in/DWND\",\n \"shareUrl\": \"https://dhunt.in/kwKEN?s=syn&ss=pd&partnerRef=%7B%22pid%22%3A%2211%22%7D\"\n },\n \"appDeepLinkUrl\": \"dailyhunt://m.dailyhunt.in/news/india/english/thehansindia-epaper-hans/india+logs+38667+new+covid+cases+478+deaths-newsid-n307170368?mode=pwa&s=Samsung&ss=Browser-UHP&utm_source=Samsung&utm_medium=Browser-UHP&utm_campaign=Samsung-Browser-UHP&lite=true&prevRef=samsung&partnerRef=%7B%22pid%22%3A%22samsung%22%7D\"\n },\n {\n \"id\": \"n307159824\",\n \"title\": \"This many cases reported as corona not being controlled due to negligence of people\",\n \"description\": \"New Delhi: The corona epidemic has created panic everywhere, with 38,743 new cases of corona infection reported and 478 deaths recorded in the country in the last 24 hours. According to the Union Health Ministry, 35,743 people have recovered from infection in the last 24 hours. The coronavirus has so far killed 4,30,732 people in the country, up from 1.34 percent of the total infected cases. The number of active cases in the country has increased to 3,87,673, which is 1.21 percent of the total cases of infection. According to the Health Ministry, the total number of infected cases has increased to 3,21,56,493 after the new cases came in, out of which more than 3.13 crore people have recovered. The recovery rate in the country is currently 97.45 percent. The transition rate was recorded at 1.73 percent in the newly arrived cases. This is the 19th consecutive day that the positivity rate has been reported below 3 percent. Read all the latest updates on COVID-19 here.\",\n \"deepLinkUrl\": \"https://samsung.dailyhunt.in/news/india/english/news+track+english-epaper-ntrack/this+many+cases+reported+as+corona+not+being+controlled+due+to+negligence+of+people-newsid-n307159824?mode=pwa&s=Samsung&ss=Browser-UHP&utm_source=Samsung&utm_medium=Browser-UHP&utm_campaign=Samsung-Browser-UHP&lite=true&prevRef=samsung&partnerRef=%7B%22pid%22%3A%22samsung%22%7D\",\n \"publishTime\": 1628917800000,\n \"images\": [\n \"https://assets-news-bcdn.dailyhunt.in/cmd/{CMD}/{W}x{H}_{Q}/fetchdata16/images/02/85/4d/02854d92b3b06b569bec36562a7ec65994a43ed775e31069b8b07c9748163f65.{EXT}?src=synd\"\n ],\n \"source\": \"News Track Live\",\n \"type\": \"STORY\",\n \"trackData\": \"p=samsung&sid=n307159824&l=null&topicid=null&tname=null&stype=null&ctype=null&gid=null&ll=null&requestType=%2Fsearch§ion=null\",\n \"sourceLogo\": \"https://assets-news-bcdn.dailyhunt.in/cmd/resize/96x96_80/fetchdata16/images/e9/b9/5d/e9b95d19e524e807628ae3a51066abae090ffe7c56f80a3bd874529ed46ca33b.jpg?src=synd\",\n \"uiType\": \"NORMAL\",\n \"imagesCount\": 1,\n \"shareInfo\": {\n \"shareString\": \"This many cases reported as corona not being controlled due to negligence of people\n https://dhunt.in/kwKLX\n\n Source: \\\"News Track Live\\\" via Dailyhunt \n\n Download Now https://dhunt.in/DWND\",\n \"shareUrl\": \"https://dhunt.in/kwKLX?s=syn&ss=pd&partnerRef=%7B%22pid%22%3A%2211%22%7D\"\n },\n \"appDeepLinkUrl\": \"dailyhunt://m.dailyhunt.in/news/india/english/news+track+english-epaper-ntrack/this+many+cases+reported+as+corona+not+being+controlled+due+to+negligence+of+people-newsid-n307159824?mode=pwa&s=Samsung&ss=Browser-UHP&utm_source=Samsung&utm_medium=Browser-UHP&utm_campaign=Samsung-Browser-UHP&lite=true&prevRef=samsung&partnerRef=%7B%22pid%22%3A%22samsung%22%7D\"\n }\n ],\n \"pageMarker\": \"1629436681483\",\n \"pageNumber\": 1,\n \"trackUrl\": \"https://track.dailyhunt.in/api/v2/syndication/tracking?s=Samsung&ss=Browser-UHP&utm_source=Samsung&utm_medium=Browser-UHP&utm_campaign=Samsung-Browser-UHP&lite=true&prevRef=samsung&partnerRef=%7B%22pid%22%3A%22samsung%22%7D\"\n }\n}"}],"_postman_id":"f4cabd13-e8cf-4bf8-ba37-94b9c501317c"}],"id":"89fea8f0-ab2d-49f7-97f3-d71e56bbc037","_postman_id":"89fea8f0-ab2d-49f7-97f3-d71e56bbc037","description":""},{"name":"Feedback","item":[{"name":"Fetch Feedback Options","id":"324cec39-1a69-4f0d-bdc5-f2a0f9ea9023","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"key=YOUR_API_KEY","type":"text"},{"key":"Signature","value":"VALUE_OF_SIGN_GENERATED","type":"text"}],"url":"http://feed.dailyhunt.in/api/v2/syndication/feedback?partner=YOUR_PARTNER_CODE&langCode=en&ts=&puid=test123","description":"This API allows fetching a list of supported feedback options that can be displayed to your user.
\n| Field\n | \nValue\n | \nData Type\n | \n|||||||||||||||||||||
| code\n | \nHttp Status Code value\n | \nInteger\n | \n|||||||||||||||||||||
| data\n | \n\n\n
| \n JSON object\n\n | \n
The Partner Code shared with you during onboarding
\n","type":"text/plain"},"key":"partner","value":"YOUR_PARTNER_CODE"},{"description":{"content":"The lang code based on which channels will fetch the corresponding language’s content feed. See available languages
\n","type":"text/plain"},"key":"langCode","value":"en"},{"description":{"content":"Current local timestamp of api user
\n","type":"text/plain"},"key":"ts","value":""},{"description":{"content":"You unique user id
\n","type":"text/plain"},"key":"puid","value":"test123"}],"variable":[]}},"response":[],"_postman_id":"324cec39-1a69-4f0d-bdc5-f2a0f9ea9023"},{"name":"Submit Feedback","id":"f762395a-3828-4bcc-ba7c-62f8df592a3a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n \"itemId\": \"123456\",\n \"options\":[\n {\n \"id\": \"86319579\",\n \"value\":\"inappropriate\"\n},\n {\n \"id\": \"86318599\",\n \"value\":\"incorrect\"\n}\n ]\n}\n"},"url":"http://feed.dailyhunt.in/api/v2/syndication/feedback?partner=YOUR_PARTNER_CODE&langCode=en&ts=&puid=test123","description":"This API allows submission of the feedback options given by user to Dailyhunt server.
\n| Field\n | \nValue\n | \nData Type\n | \n|||||||||
| options\n | \n\n\n
| \n JSON Object Array\n\n | \n|||||||||
| itemId\n\n | \nThe card's item id where feedback was reported\n\n | \nString\n\n | \n
This API allows to stream the score of a given match. Below section describes the request and response of the match score streaming API.
\n200 - OK for success
\n204 - No match found
\n500 - For any issues during processing
\n| Field\n | \nValue\n | \nData Type\n | \n|||||||||
| code\n | \nHttp Status Code value\n | \nInteger\n | \n|||||||||
| data\n | \n\n\n
| \n JSON object\n\n | \n
The s = ScoreDetail object has the following attributes:
\n| Field\n | \nValue\n | \nData Type\n | \n
| sb\n | \nIt has the scoreboard as explained below\n | \nScoreBoard Object \n | \n
| ti\n | \nIt has the team inining details as explained below\n | \nTeamInnings Object\n | \n
| lw\n | \nThe last wicket of the match\n | \nString\n | \n
The sb = ScoreBoard object has the following attributes:
\n| Field\n | \nValue\n | \nData Type\n | \n
| h\n | \nHomeTeam\n | \nString\n | \n
| a\n | \nAway team\n | \nString\n | \n
| v\n | \nVenue name\n | \nString\n | \n
| md\n | \nMatch Date\n | \nString\n | \n
| mt\n | \nMatch Time\n | \nString\n | \n
| cr\n | \nCurrent run rate while in play\n | \nString\n | \n
| mom\n | \nMan of the match (will be available post match)\n | \nString\n | \n
| s\n | \nStatus line of the match (e.g: England lead West Indies by 62 runs)\n | \nString \n | \n
| p\n | \ntrue means the match is in prematch & not started yet\n | \nBoolean\n | \n
| t11\n | \nFirst team’s first inning score\n | \nTeamScore Object\n | \n
| t21\n | \nSecond team’s first inning score\n | \nTeamScore Object\n | \n
| t12\n | \nFirst team’s second inning score\n | \nTeamScore Object\n | \n
| t22\n | \nSecond team’s second inning score\n | \nTeamScore Object\n | \n
| c\n | \ntrue means the match is completed\n | \nBoolean\n | \n
The t11 or t21 or t12 or t22 = TeamScore object has the following attributes:
\n| Field\n | \nValue\n | \nData Type\n | \n
| r\n | \nRuns\n | \nInteger\n | \n
| o\n | \nOvers\n | \nString\n | \n
| w\n | \nWickets\n | \nInteger\n | \n
The ti_ = TeamInnings_ object has the following attributes:
\n| Field\n | \nValue\n | \nData Type\n | \n
| ci\n | \nCurrent innings identifier\n | \nString\n | \n
| t11\n | \nThe first team’s first inning score details\n | \nTeamInningScore Object\n | \n
| t21\n | \nThe second team’s first inning score details\n | \nTeamInningScore Object\n | \n
| t12\n | \nThe first team’s second inning score details\n | \nTeamInningScore Object\n | \n
| t22\n | \nThe second team’s second inning score details\n | \nTeamInningScore Object\n | \n
The t11 or t21 or t12 or t22 = TeamInningScore object has the following attributes:
\n| Field\n | \nValue\n | \nData Type\n | \n
| btn\n | \nBatting Team Name\n | \nString\n | \n
| s\n | \nThe innings score\n | \nInteger\n | \n
| o\n | \nThe innings overs\n | \nString\n | \n
| w\n | \nThe innings wickets\n | \nInteger\n | \n
| od\n | \nOrder\n | \nInteger\n | \n
| bm\n | \nBatsmen score details for the inning\n | \nBatsmanDetail Array\n | \n
| bl\n | \nBowlers score details for the inning\n | \nBowlerDetail Array\n | \n
| fow\n | \nFall Of Wickets\n | \nWicketsDetails Object\n | \n
| extras\n | \nExtras\n | \nExtrasDetail Object\n | \n
The bm = BatsmanDetail object has the following attributes:
\n| Field\n | \nValue\n | \nData Type\n | \n
| n\n | \nBatsman name\n | \nString\n | \n
| r\n | \nRuns made by the batsman\n | \nInteger\n | \n
| b\n | \nBalls faced by the batsman\n | \nInteger\n | \n
| f\n | \nTotal number of fours scored by the batsman\n | \nInteger\n | \n
| s\n | \nTotal number of sixes scored by the batsman\n | \nInteger\n | \n
| sr\n | \nStrike Rate of the batsman\n | \nString\n | \n
| os\n | \nWhen value is true, batsman is ‘On Strike’\n | \nBoolean\n | \n
| ho\n | \nThe status string of how batsman was out\n | \nString\n | \n
The bl = BowlerDetail object has the following attributes:
\n| Field\n | \nValue\n | \nData Type\n | \n
| n\n | \nBowler name\n | \nString\n | \n
| o\n | \nOvers\n | \nString\n | \n
| m\n | \nMaidens\n | \nInteger\n | \n
| r\n | \nRuns\n | \nInteger\n | \n
| w\n | \nWickets\n | \nInteger\n | \n
| e\n | \nEconomy\n | \nString\n | \n
| os\n | \nOn Strike\n | \nBoolean\n | \n
| ns\n | \nNon Striker\n | \nBoolean\n | \n
The fow = WicketsDetails object has the following attributes:
\n| Field\n | \nValue\n | \nData Type\n | \n
| no\n | \nOrder\n | \nInteger\n | \n
| n\n | \nName\n | \nString\n | \n
| s\n | \nScore\n | \nString\n | \n
| o\n | \nOver\n | \nString\n | \n
The extras = ExtrasDetail object has the following attributes:
\n| Field\n | \nValue\n | \nData Type\n | \n
| nb\n | \nNo Balls\n | \nString\n | \n
| e\n | \nExtras\n | \nString\n | \n
| b\n | \nByes\n | \nString\n | \n
| lb\n | \nLeg Byes\n | \nString\n | \n
| wd\n | \nWides\n | \nString\n | \n
The match id for which we want to stream the score
\n","type":"text/plain"},"key":"matchId","value":""}],"variable":[]}},"response":[],"_postman_id":"4ffc941b-1d3a-4b04-9c85-87dc3b28db9a"},{"name":"Stream Cricket Match Commentary","id":"9b3ae9d3-b270-4e09-9d2c-840205bf3ca9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://feed.dailyhunt.in/api/v2/syndication/streams/cricket/commentary?matchId&pageSize&pageNumber","description":"This API allows to stream the commentary of a given match. Below section describes the request and response of the match score streaming API.
\nIt needs all the common parameters & headers including the following parameter(s):
\n| Name\n | \nValue\n | \nType\n | \n
| matchId\n | \nThe match id for which we want to stream the score\n | \nQuery Parameter\n | \n
| pageSize\n | \nThe number of commentary lines (per bowl or per end-of-over) in a page\n | \nQuery Parameter\n | \n
| pageNumber\n | \nThe commentary page number requested\n | \nQuery Parameter\n | \n
200 - OK for success
\n204 - No match found or no more commentary available
\n500 - For any issues during processing
\n| Field\n | \nValue\n | \nData Type\n | \n||||||||||||||||||||||||||||||||||||
| code\n | \nHttp Status Code value\n | \nInteger\n | \n||||||||||||||||||||||||||||||||||||
| data\n | \n\n\n
| \n JSON object\n\n | \n
The match id for which we want to stream the score
\n","type":"text/plain"},"key":"matchId","value":""},{"description":{"content":"The number of commentary lines (per bowl or per end-of-over) in a page
\n","type":"text/plain"},"key":"pageSize","value":""},{"description":{"content":"The commentary page number requested
\n","type":"text/plain"},"key":"pageNumber","value":""}],"variable":[]}},"response":[],"_postman_id":"9b3ae9d3-b270-4e09-9d2c-840205bf3ca9"}],"id":"c9991e0a-63b0-4d61-bf01-b01d687a448a","description":"Dailyhunt exposes cricket matches feed through APIs and the same can be used for integration in your app.
\nDailyhunt provides Cricket channel that will provide a list of the upcoming, current & past matches. The below table describes the channel fields and descriptions of a Cricket Channel.
\n| Channel Field\n | \nCricket Channel Description\n | \nData Type\n | \n
| id\n | \nThe cricket channel id\n | \nString\n | \n
| type\n | \nThe channel type will be CRICKET\n | \nString\n | \n
| name\n | \nThe channel name will be Cricket in unicode\n | \nString\n | \n
| contentUrl\n | \nThe cricket matches browse API url as explained below\n | \nString\n | \n
| deepLinkUrl\n | \nThis is not used currently\n | \n\n | \n
Like every other channel, Cricket channel also will have a content fetch API that is of the form /syndication/items. The cricket channel content Fetch API provides a way to dynamically explore the list of upcoming, current & past cricket matches.
\nBelow table describes the fields of a Cricket Match that will be given in the /syndication/items API response.
\n| Item Field\n | \nCricket Match Description\n | \nData Type\n | \n
| id\n | \nThe cricket match id\n | \nString\n | \n
| type\n | \nThe item type will be “CRICKET”\n | \nString\n | \n
| title\n | \nThe title of the cricket match\n | \nString\n | \n
| matchDate*\n | \nThe start date time of the cricket match\n | \nLong\n | \n
| team1*\n | \nThe cricket match playing first team\n | \nTeam Object\n | \n
| team2*\n | \nThe cricket match playing second team\n | \nTeam Object\n | \n
| streamUrl*\n | \nThe score streaming api url of the cricket match\n | \nString\n | \n
| commentaryUrl*\n | \nThe commentary streaming api url of the cricket match as described in section “Stream Cricket Match Commentary API”\n | \nString\n | \n
| trackData\n | \nThe tracking data for the match\n | \nString\n | \n
| trackFrequency*\n | \nThe time gap in milliseconds for POSTing trackData to Dailyhunt\n | \nLong\n | \n
* - fields specific to \"Cricket Match\" item (not applicable to other content types)
\nThe fields of the \"Team\" object above has the following attributes:
\n| Field\n | \nDescription\n | \nData Type\n | \n
| id\n | \nThe team id of the cricket match\n | \nString\n | \n
| teamName\n | \nThe short name of the team such as IND, AUS etc\n | \nString\n | \n
| teamIcon\n | \nThe flag image url of the team\n | \nString\n | \n
A match card in the Browse Cricket section has the trackData attribute and you can use the same tracking approach mentioned in the section - Managing Tracking to POST the cricket score views to Dailyhunt. Just that, the frequency of POSTing the trackData for cricket content refreshes, will be managed by the trackFrequency field given along with the trackData.
\n","event":[{"listen":"prerequest","script":{"id":"b09d8bf9-db6c-4641-bfc3-b028e92ef010","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"d4736d78-c51c-45a1-9697-ba905ba6c9ff","type":"text/javascript","exec":[""]}}],"_postman_id":"c9991e0a-63b0-4d61-bf01-b01d687a448a"},{"name":"Languages","item":[{"name":"Languages Fetch","id":"d6fa4409-3b76-44fc-9ee8-32de04b3026d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"key=YOUR_API_KEY","type":"text","description":"The API key shared with you during onboarding
\n"},{"key":"Signature","value":"VALUE_OF_SIGN_GENERATED","type":"text","description":"The signed message as described in the API Security section
\n"}],"url":"http://feed.dailyhunt.in/api/v2/syndication/languages?partner=YOUR_PARTNER_CODE&ts=","description":"This API will provide a list of the supported languages by Dailyhunt.
\n| Field\n | \nValue\n | \nData Type\n | \n|||||||||||||||||||||
| code\n | \nHttp Status Code value\n | \nInteger\n | \n|||||||||||||||||||||
| data\n | \n\n\n
| \n JSON object\n\n | \n
Following table lists the available language codes supported by Dailyhunt’s content feeds.
\nNote: Some of the channels may not have content for all languages. Please therefore review the feeds for the language of choice prior to rolling out your integration for a chosen language.
\n| Code\n | \nLanguage Name\n | \n
| en\n | \nEnglish\n | \n
| hi\n | \nHindi\n | \n
| mr\n | \nMarathi\n | \n
| gu\n | \nGujarati\n | \n
| pa\n | \nPunjabi\n | \n
| bn\n | \nBangla\n | \n
| kn\n | \nKannada\n | \n
| ta\n | \nTamil\n | \n
| te\n | \nTelugu\n | \n
| ml\n | \nMalayalam\n | \n
| or\n | \nOriya\n | \n
| ur\n | \nUrdu\n | \n
| bh\n | \nBhojpuri\n | \n
| ne\n | \nNepali\n | \n
This API is used for tracking the cards seen by your user.
\nUse the trackUrl being passed in the Content Fetch API response, as it contains certain parameters added by Dailyhunt needed for proper tracking and append the params given here partner, puid, ts.
\nAs described in the above section, in this api, you will need to pass an array of the cards seen along with the corresponding trackData. Following defines the payload structure:
\n| Field\n | \nValue\n | \nData Type\n | \n|||||||||
| viewedDate\n | \nThe long time when user saw the item cards\n | \nLong\n | \n|||||||||
| stories\n | \n\n\n
| \n Array JSON Object\n\n | \n
204 No Content - for a successful processing
\n400 Bad Request - for any bad request detected
\n500 Internal Server Error - for any issues during processing
\n","urlObject":{"protocol":"http","path":["api","v2","syndication","tracking"],"host":["track","dailyhunt","in"],"query":[{"key":"partner","value":"YOUR_PARTNER_CODE"},{"key":"puid","value":"test123"},{"key":"ts","value":""}],"variable":[]}},"response":[],"_postman_id":"adc70028-74e5-466e-abdd-351fc04c945c"}],"id":"a2d23afb-1a6c-426c-85b4-7a6241bc402f","event":[{"listen":"prerequest","script":{"id":"d13144d7-0a6a-4fbb-b9e5-52d4e5589aaa","type":"text/javascript","exec":["var urlParams = {};","var ts = Date.now();","pm.environment.set('timestamp',ts);","","","pm.request.url.query.all().forEach((param) => { urlParams[param.key] = param.value});","urlParams['partner'] = pm.environment.get('partner');","urlParams['puid'] = pm.environment.get('puid');","urlParams['ts'] = pm.environment.get('timestamp');","console.log(urlParams);","// var partner = pm.environment.get('partner');","// var channelId = urlParams[\"cid\"];","// var langCode = urlParams[\"langCode\"]","// var fm = urlParams[\"fm\"]","// var pfm = urlParams[\"pfm\"]","// var puid = pm.environment.get('puid')? pm.environment.get('puid'):123;","// var ts = Date.now();","// var fields = urlParams[\"fields\"]? urlParams[\"fields\"]:'';","// var pagesize = urlParams[\"pageSize\"];","// var pageNumber = urlParams[\"pageNumber\"];","","pm.environment.set('timestamp',ts);","","// var queryString = \"partner=\" + partner + \"&puid=\" + puid + \"&ts=\" + ts;"," ","// if (langCode) {","// queryString += \"&langCode=\" + langCode;","// }","// if (fm) {","// queryString += \"&fm=\" + fm;","// }","// if (pfm) {","// queryString += \"&pfm=\" + pfm;","// }","// if (channelId) {","// queryString += \"&cid=\" + channelId;","// }","// if(fields) {","// queryString += \"&fields=\" + fields;","// }","// if(pagesize) {","// queryString += \"&pageSize=\" + pagesize;","// }","// if(pageNumber) {","// queryString += \"&pageNumber=\" + pageNumber;","// }"," "," // for (var j=0; j