Niger News

Would you like to access news/blog content published by sources located in Niger?

Code example

# If you'd like to do a POST request then call endpoint:
http://localhost:8090/api/v1/article/getArticles
Body:
            
            {
    "sourceLocationUri": "http://en.wikipedia.org/wiki/Niger",
    "resultType": "articles",
    "apiKey": "API_KEY"
}
        
# If you'd like instead to do a GET request then call:
http://localhost:8090/api/v1/article/getArticles?sourceLocationUri=http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FNiger&resultType=articles&apiKey=API_KEY

Example of JSON response

Below is an example JSON object that you would receive as the result of the request. You can retrieve also additional properties such as concepts, categories, source details, etc. by specifying additional parameters in the request as described on the documentation page.

            
            {
  "articles": {
    "results": [],
    "totalResults": 0,
    "page": 1,
    "count": 0,
    "pages": 1
  },
  "info": "No results match the search conditions."
}