This package has some sample code using mediastack. Mediastack is an API that is extremely easy to use for accessing live news and blog data. It has specific keyword, country, language, and category search.
Clone the repository and run npm i
.
You'll need to get an API key (from mediastack) and rename .sample.env
file to .env
and place your api key there.
There are different functions that are well documented within src/index.ts
.
After that, you just need to run npm start
.
Tested on Node v12.4.0 and NPM v6.9.0.
After installing NodeJS you should be able to just run the following in the terminal.
npm i
- Jordan Hansen - Initial work - Jordan Hansen
This project is licensed under the ISC License