Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andyklimczak/thereportoftheweek-api
API of The Report Of The Week Reviews
https://github.com/andyklimczak/thereportoftheweek-api
api drink food report review
Last synced: 24 days ago
JSON representation
API of The Report Of The Week Reviews
- Host: GitHub
- URL: https://github.com/andyklimczak/thereportoftheweek-api
- Owner: andyklimczak
- License: mit
- Created: 2016-04-03T04:55:55.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-09-07T01:43:54.000Z (about 6 years ago)
- Last Synced: 2024-10-04T12:55:14.712Z (about 1 month ago)
- Topics: api, drink, food, report, review
- Language: JavaScript
- Homepage: https://thereportoftheweek-api.herokuapp.com/reports
- Size: 140 KB
- Stars: 28
- Watchers: 6
- Forks: 11
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/andyklimczak/TheReportOfTheWeek-API.svg?branch=master)](https://travis-ci.org/andyklimczak/TheReportOfTheWeek-API)
# The Report Of The Week API
Basic API to provide information on [The Report Of The Week](https://www.youtube.com/user/TheReportOfTheWeek)
### Example Review
```json
{
"product": "5 Hour Energy Pomegranate",
"manufacturer": "Living Essentials",
"category": "Energy Crisis",
"videoTitle": "Energy Crisis--Energy Drink Review",
"videoCode": "wyD3nCv_emI",
"dateReleased": "2011-02-20T00:00:00.000Z",
"rating": 7
}
```### Usage
* Check status:
* [GET /](https://thereportoftheweek-api.herokuapp.com/)
* All reports (sorted by date):
* [GET /reports](https://thereportoftheweek-api.herokuapp.com/reports)
* Reports by category
* [GET /reports?category=Energy Crisis](https://thereportoftheweek-api.herokuapp.com/reports?category=Energy%20Crisis)
* [GET /reports?category=Running On Empty](https://thereportoftheweek-api.herokuapp.com/reports?category=Running%20On%20Empty)
* Reports between certain dates
* [GET /reports?between=2012-1-1|2013-1-1](https://thereportoftheweek-api.herokuapp.com/reports?between=2012-1-1|2013-1-1)
### Example Frontends* [The Report of the Week Client](https://thereportoftheweek-client.herokuapp.com/) Interactive charts using React, Redux, and Recharts
## Development
0. Install mongodb, node, and npm
1. Clone the repo
2. __npm install__
3. __npm start__ will load the data and start the server
4. __npm test__ will run the tests### Update data
The json information the server returns is created from seeds/reports.json. Information from new videos needs to be entered manually. Please feel free to update/append new data !