nyc-restaurant-grades

GraphQL & REST API for NYC restaurant health inspections

  • 所有者: bswinnerton/nyc-restaurant-grades
  • 平台:
  • 許可證:
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

NYC Restaurant Grades via GraphQL

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
      }
    }
  }
}

Development

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

主要指標

概覽
名稱與所有者bswinnerton/nyc-restaurant-grades
主編程語言Ruby
編程語言Ruby (語言數: 5)
平台
許可證
所有者活动
創建於2016-06-05 21:01:27
推送於2018-09-02 14:19:12
最后一次提交2018-09-02 10:19:06
發布數0
用户参与
星數29
關注者數3
派生數2
提交數139
已啟用問題?
問題數7
打開的問題數3
拉請求數10
打開的拉請求數0
關閉的拉請求數0
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?