Skip to content

Latest commit

 

History

History
41 lines (35 loc) · 1.02 KB

README.md

File metadata and controls

41 lines (35 loc) · 1.02 KB

NYC Restaurant Grades via GraphQL

This application was presented at the Ruby Roundtable Meetup in New York City in June of 2016.

--

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 and enter the following on the left hand side of GraphiQL:

query {
  restaurants(name:"Wendy's", borough:BROOKLYN) {
    edges {
      node {
        name
        buildingNumber
        street
        zipcode
        borough
        cuisine
        inspections {
          edges {
            node {
              violationDescription
            }
          }
        }
      }
    }
  }
}

The data backing this application is not regularly updated