@jasonbelmonti/news-api-cli
Advanced tools
Comparing version 0.0.3 to 0.0.4
{ | ||
"name": "@jasonbelmonti/news-api-cli", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "command line interface to News API (https://newsapi.org/)", | ||
@@ -5,0 +5,0 @@ "main": "news.js", |
@@ -10,3 +10,4 @@ # News API CLI | ||
## Getting Started | ||
Make `news.js` executable: | ||
### Make `news.js` executable: | ||
``` | ||
@@ -17,2 +18,12 @@ computer-1:repositories user$ cd news-api-cli | ||
### Add News API Key | ||
Get a key [here](https://newsapi.org/register)). | ||
Add a file called `.env` in the project root containing your News API key. | ||
``` | ||
// contents of news-api-cli/.env | ||
NEWS_API_KEY=YOUR-KEY-HERE | ||
``` | ||
## Commands | ||
@@ -19,0 +30,0 @@ |
8960
84