Skip to content

Fix problems in OpenData Dining API #103

@joshdoman

Description

@joshdoman

The OpenData dining API occasionally returns times that conflict (example below). If one of the times is "Closed," all times that conflict with "Closed" should be removed.

          {
            "date": "2018-03-02", 
            "meal": [
              {
                "close": "14:00:00", 
                "open": "11:00:00", 
                "type": "Lunch"
              }, 
              {
                "close": "19:30:00", 
                "open": "17:00:00", 
                "type": "Dinner"
              }, 
              {
                "close": "23:59:00", 
                "open": "14:00:00", 
                "type": "Closed"
              }
            ]
          }
        ], 
        "facilityURL": "http://university-of-pennsylvania.cafebonappetit.com/cafe/1920-commons/", 
        "id": 593, 
        "name": "1920 Commons", 
        "venueType": "residential", 
        "weeklyMenuURL": "http://www.cafebonappetit.com/feeds/weekly/593"

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions