An API to fetch the NYC Restaurant Grades.
50K+
This application allows you to query the NYC Restaurant Inspection Results data (letter ratings for restaurants) via a GraphQL interface.
For example, to query all of the Wendy's in Brooklyn and get a list of their health violations, visit http://nyc-restaurant-grades.com/graphql and enter the following on the left hand side of GraphiQL:
query {
restaurants(name: "Wendy's", borough: BROOKLYN) {
name
address
cuisine
inspections {
grade
violations {
description
}
}
}
}
This application can be bootstrapped by doing the following:
bundle install
bundle exec rake db:create db:migrate db:seed
The db:seed will start the bulk import from the NYC open data website and is
idempotent.
The data backing this application is not regularly updated
Content type
Image
Digest
Size
438.5 MB
Last updated
about 8 years ago
docker pull bswinnerton/nyc-restaurant-grades