Questions tagged [bing-news-search-api]

19 questions
3
votes
1 answer

Can Bing News search return the news last year?

I am looking into Bing News Search, and my testing results (with a free trial api-key) only contains articles in the last month. However I would like to get articles from last 1 or 2 years. for…
Oscar
  • 1,993
  • 2
  • 18
  • 27
2
votes
1 answer

Trouble finding Ocp-Apim-Subscription-Key for Azure Bing News

I am trying to create a successful request using Azure's Bing News API. The below screenshot from the docs says that the Ocp-Apim-Subscription-Key is a required header.…
nizoom
  • 105
  • 6
1
vote
0 answers

Get Snippets from Bing News Search that are Most Relevant to Query

I am using the https://api.bing.microsoft.com/v7.0/news/search?q=Some query endpoint to search for news articles. The web search endpoint returns snippets from the website that are relevant to the query. Is it possible to get the same for this…
1
vote
2 answers

Error 401 when accessing Bing News API v7 using from Unity

I would like to use UnityEngine.Networking and StartCoroutine() to retrieve data from Bing API in Unity/C#. I am getting Error 401 which is: {"error":{"code":"401","message": "Access denied due to invalid subscription key or wrong API endpoint. Make…
1
vote
1 answer

Access Error while accessing Azure API from NodeJS

I am trying to use Azure News Search in my NodeJS App. The code for the router is here: const CognitiveServicesCredentials = require('ms-rest-azure').CognitiveServicesCredentials; let credentials = new CognitiveServicesCredentials('apikey'); let…
goryef
  • 1,337
  • 3
  • 22
  • 37
0
votes
1 answer

originalImg parameter not working in Bing News Search APIs

Bing news search API not providing image in original thumbnail size in News Category. const url = 'https://bing-news-search1.p.rapidapi.com/news?&originalImg=true&category=india&cc=in&safeSearch=Off&textFormat=Raw'; const options = { method:…
0
votes
0 answers

How to only show only news from UK using news search api

Currently, my code is displaying news from south Africa and also America. How does one only produce results strictly from the UK? search_term = "flood, fire, storm" date = datetime.today().strftime('%Y-%m-%d') search_url =…
SeunA
  • 1
  • 1
0
votes
1 answer

News sample skill returns unauthorized error

I am trying to use the experimental skills provided by the bot framework. I downloaded the code for the news skill and created all azure resources. I got the bing key from here and placed it in my appsettings.json I also updated all my config…
0
votes
1 answer

Bing News Search results from a particular website

Is there an option in Bing Search to get search results from a particular news website?
Kevv Keka
  • 183
  • 11
0
votes
1 answer

Bing News Search API language translation of results?

I am querying Bing News Search for foreign markets like China, Malaysia, Russia etc. The results are not always in English. Is there a way or a parameter I can set which would translate all results to English? Or would I have to do this separately…
0
votes
1 answer

Does Bing News Search API's C# SDK support querying a private endpoint using an App Id?

The quick-start sample documentation shows how one can query the public endpoint using a subscription key. But say I have a private Bing News API endpoint and an AppId generated that identifies me - Can I use the C# SDK to call this endpoint using…
0
votes
1 answer

Bing Search API v7 Pagination

I work on Bing News API v7 integration. More precisely, I use https://api.cognitive.microsoft.com/bing/v7.0/news/search API endpoint. I found some 'unexpected' behavior for paging. (Expected behavior is each page has the constant size). On this…
djm.im
  • 3,295
  • 4
  • 30
  • 45
0
votes
1 answer

Bing news search API Json response url param

Today in the Bing the news search API response Json, I found that the url parameter is coming in a different way then it was coming previously. As per the documentation at…
0
votes
1 answer

Why does Bing News Search API "since" parameter do nothing?

I need to routinely call Bing News Search results via its API, checking for fresh stories matching a given search query. I only want to return stories newly published since the last time I called the API. For example, an hourly call to the API…
0
votes
1 answer

How can i display 50 or 100 results of Bing News API

The following code is not returning 50 results of news. I am using &count=50&offset=0 but is not working. Any help is appreciated. $endpoint = 'https://api.cognitive.microsoft.com/bing/v7.0/news'; $term = $_GET['q']; $site =…
aloai
  • 35
  • 3
1
2