Good
Morning Tech News now available for Robots
Integrate our news into your creation. Just one click away from getting your API key.
API Documentation
After you get
your API key in your email, you can get started.
https://goodmorningtech.news/api/news/ GET
Returns a list of articles.
Authentification
Request Headers:
X-API-KEY YOUR-API-KEY required
Options
URL Parameters:
sources comma separated list of sources optional
Available sources: bbc , cnn ,
gmt , verge , guardian , techcrunch
Example
Request
Python
Javascript
curl
import requests
url = "http://goodmorningtech.news/api/news/?sources=examplesource1,examplesource2,examplesource3"
headers = {
'X-API-KEY' : 'YOUR-API-KEY'
}
response = requests . request( "GET" , url, headers = headers )
print (response . text)
var myHeaders = new Headers ();
myHeaders . append ( "X-API-KEY" , "YOUR-API-KEY" );
var requestOptions = {
method : 'GET' ,
headers : myHeaders ,
redirect : 'follow'
};
fetch ( "http://goodmorningtech.news/api/news/?sources=examplesource1,examplesource2,examplesource3" , requestOptions )
. then ( response => response . text ())
. then ( result => console . log ( result ))
. catch ( error => console . log ( 'error' , error ));
curl -- location -- request GET 'http://goodmorningtech.news/api/news/?sources=examplesource1,examplesource2,examplesource3' \
-- header 'X-API-KEY: YOUR-API-KEY'
Example
Response
[
...
{ ... },
{
"_id" :{
"$oid" : "648e03d0fcf9738fd48888f9"
},
"author" : "Wes Davis" ,
"date" :{
"$date" : "2023-06-17T19:04:27.069Z"
},
"description" : "Meta is rolling back its covid misinformation [...]" ,
"formatted_source" : " Verge " ,
"source" : "verge" ,
"thumbnail" ":"https://cdn.vox-cdn.com/thumbor/aFVf1nZ5PjZNbxd151IaoqXfmvA=/0x0:2040x1 [...]" ,
"title" : "Meta is rolling back its covid-19 misinformation rules in the US" ,
"url" : "https://www.theverge.com/2023/6/17/23764429/meta-covid-misinformation-rules-facebook-instagram"
},
{ ... },
...
]
Connect with us on social networks:
Good Morning Tech is a project by Good Morning Tech Team
and is licensed under the MIT License . All rights reserved.
Good Morning Tech is not affiliated with any of the companies
mentioned in the articles. All trademarks and registered trademarks are the property of their respective
owners.
© 2024 Good Morning Tech. All rights reserved