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

Food data #21

Open
vonbearshark opened this issue Jan 23, 2017 · 18 comments
Open

Food data #21

vonbearshark opened this issue Jan 23, 2017 · 18 comments

Comments

@vonbearshark
Copy link
Contributor

Would be great to rope in the food inspection data! Map which restaurants receive subpar health reports. This info is on the WPRDC

@vonbearshark
Copy link
Contributor Author

@vonbearshark
Copy link
Contributor Author

@brandonp728 want to take on this one, too? You already did most of the rest we had in mind, haha

@brandonp728
Copy link
Collaborator

@vonbearshark absolutely!

@Rahi374
Copy link
Member

Rahi374 commented Jan 31, 2017

Could we add data for what food Market has for the day?
Or would we run into an issue with CORS?
Or is this not considered food data.

@vonbearshark
Copy link
Contributor Author

@Rahi374 We definitely could try--does Market have an API we could hit? I don't know if there's a digitized endpoint for that. If there is we should create a new Issue for that!

@Rahi374
Copy link
Member

Rahi374 commented Jan 31, 2017

@vonbearshark There's no API but there's an HTML page from Panther Central that we could try to GET and process and spit out JSON. In my knowledge that would require a server. Is that not feasible?

@vonbearshark
Copy link
Contributor Author

We could do that. That is actually very possible to do on the client, but it's something we were already considering for the PittAPI library and the server wrapper we're making for that: https://github.com/Pitt-CSC/PittAPI (wrapper: https://github.com/Pitt-CSC/PittAPIWebWrapper). @RitwikGupta : what do you think? Do you want to open an Issue for this in the PittAPI lib/wrapper? @Rahi374 are you familiar with Python? Do you want to be assigned to those Issues? Would be great to have.

@Rahi374
Copy link
Member

Rahi374 commented Jan 31, 2017

@vonbearshark Unfortunately I don't do Python. I have done what I described in Ruby though: https://github.com/Rahi374/jreast-train-info

@vonbearshark
Copy link
Contributor Author

I think you will find Python to be very similar to Ruby; I think you should give it a shot!

@Rahi374
Copy link
Member

Rahi374 commented Jan 31, 2017

I think I'll give it a shot!

@RitwikGupta
Copy link
Member

Please check the relevant issue at the PittAPI page: pittcsc/PittAPI#11. There are details on where to start hooking into Pitt dining hours data.

@vonbearshark
Copy link
Contributor Author

@Rahi374 I sent you an invite to be a collaborator on that repo, if you accept I can assign you to that Issue. We have another member interested in helping, too

@Rahi374
Copy link
Member

Rahi374 commented Jan 31, 2017

@RitwikGupta @vonbearshark Got it.
What's the difference between PittAPI and PittAPIWebWrapper?

@vonbearshark
Copy link
Contributor Author

The PittAPI is a library for handling all the actual Pitt data, agnostic to the platform. The WebWrapper creates a website server so that when you make a request to an endpoint, we use the PittAPI to get the actual data

@Rahi374
Copy link
Member

Rahi374 commented Feb 1, 2017

@vonbearshark Okay I think I got it.
Thanks!

@vonbearshark
Copy link
Contributor Author

@Rahi374 How is this coming along? I think the PittAPI accommodate this food data stuff now!

@Rahi374
Copy link
Member

Rahi374 commented Apr 1, 2017

Oh oops I did the backend and forgot about the frontend :p
Should I inplement the food safety data too or just the dining statuses?

@vonbearshark
Copy link
Contributor Author

Just the dining statuses, I think. Unless you're feeling ambitious, haha

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants