Permalink
Browse files

Update README

  • Loading branch information...
omgimanerd committed Oct 11, 2017
1 parent 8a66bf3 commit 74967fd38c033d7e6f8640441d7e75ef1e351e6d
Showing with 16 additions and 19 deletions.
  1. +16 −19 README.md
@@ -1,23 +1,4 @@
# getnews.tech

This is a web server that formats the latest news from various sources on
the web. A link to each article is included if the user wants to read the full
article.

## Usage
You can fetch the latest news simply by typing
```bash
curl getnews.tech/espn
curl getnews.tech/daily-mail
curl getnews.tech/cnn
```

Get a list of acceptable sources to query using:
```bash
curl getnews.tech/sources
```

## Example Output
```
omgimanerd:~$ curl getnews.tech/ars-technica?n=4
┌──────────────────────────────────────────────────────────────────────┐
@@ -60,6 +41,22 @@ omgimanerd:~$ curl getnews.tech/ars-technica?n=4
│ https://github.com/omgimanerd/getnews.tech │
└──────────────────────────────────────────────────────────────────────┘
```
This is a web server that formats the latest news from various sources on
the web. A link to each article is included if the user wants to read the full
article.

## Usage
You can fetch the latest news simply by typing
```bash
curl getnews.tech/espn
curl getnews.tech/daily-mail
curl getnews.tech/cnn
```

Get a list of acceptable sources to query using:
```bash
curl getnews.tech/sources
```

## Additional Options
By default, getnews.tech will format the table to be a max of 72 characters

0 comments on commit 74967fd

Please sign in to comment.