curl -X GET 'https://api.currentsapi.services/v1/search?
keywords=Amazon&language=en'
-H 'Authorization: API_KEY'
-H 'cache-control: no-cache'
var url = 'https://api.currentsapi.services/v1/search?' +
'keywords=Amazon&language=en&' +
'apiKey=API_KEY';
var req = new Request(url);
fetch(req)
.then(function(response) {
console.log(response.json());
})
import requests
url = ('https://api.currentsapi.services/v1/search?'
'keywords=Amazon&language=en'
'apiKey=API_KEY')
response = requests.get(url)
print(response.json())
library(httr)
res <- GET(paste(
"https://api.currentsapi.services/v1/search?",
"keywords=Amazon&language=en",
"apiKey=API_KEY"
,sep = ""))
content(res, "json")