ADI-Labs / density

wireless density API
13 stars 26 forks source link

Show hours for different locations #67

Closed thebrianzeng closed 6 years ago

thebrianzeng commented 9 years ago

it would be cool to know if a place is closed or not. or when the place opens/closes.

jzf2101 commented 9 years ago

Do we want some sort of status indicator on the on other end of the table cell?

thebrianzeng commented 9 years ago

that would be good

On Fri Dec 12 2014 at 4:22:14 PM jzf2101 notifications@github.com wrote:

Do we want some sort of status indicator on the on other end of the table cell?

— Reply to this email directly or view it on GitHub https://github.com/adicu/density/issues/67#issuecomment-66837313.

jzf2101 commented 9 years ago

Do we have a way to query the schedule for that day from Columbia?

schlosser commented 9 years ago

We'll probably just have to hard code it

On Sun Dec 14 2014 at 7:27:40 PM jzf2101 notifications@github.com wrote:

Do we have a way to query the schedule for that day from Columbia?

— Reply to this email directly or view it on GitHub https://github.com/adicu/density/issues/67#issuecomment-66937482.

schlosser commented 9 years ago

Or we could hard code, then link to the library website.

On Sun Dec 14 2014 at 9:40:23 PM Dan Schlosser dan.r.schlosser@gmail.com wrote:

We'll probably just have to hard code it

On Sun Dec 14 2014 at 7:27:40 PM jzf2101 notifications@github.com wrote:

Do we have a way to query the schedule for that day from Columbia?

— Reply to this email directly or view it on GitHub https://github.com/adicu/density/issues/67#issuecomment-66937482.

jzf2101 commented 9 years ago

We can use this page as a reference:

http://hours.library.columbia.edu/summary.php

chmullig commented 9 years ago

I wonder if at least the Libraries would be willing to expose an API? They just added this last year: http://hours.library.columbia.edu/study-spaces-open-now.php

natebrennand commented 9 years ago

We're in talks w/ CUIT for a variety of data sources, for now we'll probably just manually update it for now. Or we could hardcode the availability since it's already set for the rest of the school year but that would be tedious.

swbae31 commented 9 years ago

2015-03-27 5 22 13 pm

Scraping from http://hours.library.columbia.edu/study-spaces-open-now.php but don't have closing time for Lerner, jjs, John Jay Dining Hall, Roone Arledge Auditorium, and Butler Library Stacks

jzf2101 commented 9 years ago

:+1:

swbae31 commented 9 years ago

So the hours are now scraped from three places

and Lerner just uses static weekly hours

image

but one prob is that the hours have two formats. 1) until 9:00 pm 2) 9:00 am ~ 9:00 pm

should I unify the format? which would take some amount of datetime coding. converting everything to the 1) format

evantarrh commented 9 years ago

@swbae31 I would say not to worry about changing it. Everything is clear and makes sense as it is. I vote for :ship: it

jzf2101 commented 9 years ago

@swbae31 :ship: for now and we'll fix formatting later.

thebrianzeng commented 9 years ago

yeah, i think the format looks good right now.

swbae31 commented 9 years ago

k i'll :ship: after I add some error handling code with scraping

evantarrh commented 9 years ago

what is the current status on this? would be super cool if we could get a PR up by the end of today

jzf2101 commented 9 years ago

@samw7823 we're closed on this right?

alanhdu commented 8 years ago

@swbae31 Did you get around to shipping this?

wessilfie commented 6 years ago

Basic version of this now up here

evantarrh commented 6 years ago

:’)