Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix problems in OpenData Dining API #103

Open
joshdoman opened this issue Mar 2, 2018 · 0 comments
Open

Fix problems in OpenData Dining API #103

joshdoman opened this issue Mar 2, 2018 · 0 comments
Assignees

Comments

@joshdoman
Copy link
Member

joshdoman commented Mar 2, 2018

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"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants