Giter Site home page Giter Site logo

dinesafe-chrome's Introduction

THIS IS A WORK IN PROGRESS. Contact [email protected] for more info.

DineSafe Toronto Chrome extension

This is a Chrome extension which adds Toronto restaurant inspection ("DineSafe") results to popular websites, including Yelp.

Inspired by a similar extension for NYC restaurants by Carlos Cuevas.

How it works

The City of Toronto releases DineSafe inspection results through their Open Data portal.

Unlike NYC, Toronto offers no real time API for restaurant inspections, just an XML dump.

A hosted Ruby on Rails application, jbinto/dinesafe-chrome-backend, retrieves this information from the City and presents it via a searchable API. This extension relies on that API.

When installed, the extension will scan popular restaurant-related websites, such as Yelp, for the names and addresses of Toronto restaurants. If a Toronto address is detected, it will attempt a search for that restaurant, and if a result is found, it will display the result of the most recent health inspection.

Caveats/pitfalls

  • The NYC API uses phone number for a fairly accurate exact match, but Toronto inspection data does not include phone number
  • Exact address matches are insufficient, as multiple restaurants can share the same address, e.g: food courts
  • Exact name matches are also insufficient, e.g: chain restaurants
  • This means the backend will have to perform some sort of fuzzy-matching heuristic based on both name and address

dinesafe-chrome's People

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.