Skip to content

maldahleh-archive/dinesmart-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dinesmart API

Dinesmart is a JSON API that provides inspection data for places inspected by local public health units.

Currently supported areas:

  • Toronto
  • Mississauga
  • Brampton
  • Caledon

Endpoints

/inspections - Returns a JSON response containing inspection data for the above listed areas.

Sample Response:

[
  {
    "name": "SAI-LILA KHAMAN DHOKLA HOUSE",
    "type": "Food Take Out",
    "address": "870 MARKHAM RD",
    "coords": {
      "lat": "43.76797956",
      "lon": "-79.229029122"
    },
    "inspections": [
      {
        "date": "2019-05-13",
        "status": "Pass",
        "infractions": []
      },
      {
        "date": "2019-05-09",
        "status": "Conditional Pass",
        "infractions": [
          {
            "details": "FAIL TO ENSURE FACILITY SURFACE CLEANED AS NECESSARY - SEC. 22",
            "severity": "Significant"
          },
          {
            "details": "FAIL TO MAINTAIN HANDWASHING STATIONS (LIQUID SOAP AND PAPER TOWELS) - SEC. 7(3)(C)",
            "severity": "Significant"
          },
          {
            "details": "FOOD PREMISE NOT MAINTAINED WITH FOOD HANDLING ROOM IN SANITARY CONDITION - SEC. 7(1)(E)",
            "severity": "Minor"
          },
          {
            "details": "Fail to ensure completion of food handling training by food handler or supervisor - Sec. 32",
            "severity": "Not Applicable"
          },
          {
            "details": "Fail to protect food from contamination or adulteration - Sec. 26(1)",
            "severity": "Crucial"
          },
          {
            "details": "Use handwashing station other than for handwashing of employees - Sec. 7(4)",
            "severity": "Significant"
          }
        ]
      },
      {
        "date": "2018-08-07",
        "status": "Pass",
        "infractions": [
          {
            "details": "Operate food premise - equipment not arranged to permit cleaning - Sec. 9",
            "severity": "Minor"
          },
          {
            "details": "Use handwashing station other than for handwashing of employees - Sec. 7(4)",
            "severity": "Significant"
          }
        ]
      },
      {
        "date": "2018-06-20",
        "status": "Pass",
        "infractions": [
          {
            "details": "Fail to Hold a Valid Food Handler's Certificate. Muncipal Code Chapter 545-157(17)(b)",
            "severity": "Not Applicable"
          },
          {
            "details": "Operator fail to properly wash equipment",
            "severity": "Minor"
          },
          {
            "details": "Operator fail to properly wash surfaces in rooms",
            "severity": "Minor"
          }
        ]
      },
      {
        "date": "2017-10-04",
        "status": "Pass",
        "infractions": []
      }
    ]
  }
]

About

Restaurant Inspection Data API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages