Locationn: hoursOfOperation

18 views
Skip to first unread message

Kelly Merrell

unread,
May 23, 2013, 5:13:27 PM5/23/13
to brewer...@googlegroups.com
I see hoursOfOperation in PUT: /location/locationId, but not in Get. I will assume that it is there (not able to debug ATM), but what format is it in? If it is just text and not some kind of strict format, that limits what I will be able to do in my app as far as filtering and display. Can someone shed some light on this?

Jason Austin

unread,
May 23, 2013, 5:15:54 PM5/23/13
to brewer...@googlegroups.com
Hey Kelly,

It only shows up in the response on the GET method if the value is set.  If it is not set in the response, we don't have a value for it.  Right now, the field is just a text field with free-form data in it.

Cheers,
Jason


On Thu, May 23, 2013 at 4:13 PM, Kelly Merrell <kel...@gmail.com> wrote:
I see hoursOfOperation in PUT: /location/locationId, but not in Get. I will assume that it is there (not able to debug ATM), but what format is it in? If it is just text and not some kind of strict format, that limits what I will be able to do in my app as far as filtering and display. Can someone shed some light on this?

--
You received this message because you are subscribed to the Google Groups "Brewery DB API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to brewerydb-ap...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Jason Austin
Co-Founder - PintLabs L.L.C.

Kelly Merrell

unread,
May 23, 2013, 5:38:51 PM5/23/13
to brewer...@googlegroups.com
Gotcha. Then consider this a feature request...

Can we have the hours of operation split out by day so we can use that to programmatically tell if a location is open and for how long?

Jason Austin

unread,
May 23, 2013, 5:42:52 PM5/23/13
to brewer...@googlegroups.com
I'll certainly add it to the feature list, but it likely won't be able to be added until we do another version to avoid breaking any backwards compatibility.  But I'll add it to the list so that it is on our radar.

Cheers!
Jason


--
You received this message because you are subscribed to the Google Groups "Brewery DB API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to brewerydb-ap...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply all
Reply to author
Forward
0 new messages