Place Categories in v1.2

19 views
Skip to first unread message

Mobijack

unread,
Apr 3, 2013, 5:45:32 PM4/3/13
to wallabee-...@googlegroups.com
Hi,

With the upcoming changes to Place Categories, will it impact the structure of responses in the API?

Thanks,

Jonathan
@mobijack

Ben Dodson

unread,
Apr 4, 2013, 4:53:11 AM4/4/13
to wallabee-...@googlegroups.com
The categories API will change to support sub-categories but it shouldn't be a breaking change (the response will be the same as now but there will be less categories and there will be a new 'subcategories' property with a further array of categories on each category).

Ben
> --
> You received this message because you are subscribed to the Google Groups "WallaBee Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to wallabee-develo...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

Mobijack

unread,
Apr 4, 2013, 5:37:29 AM4/4/13
to wallabee-...@googlegroups.com
Hi Ben,

Glad to hear it shouldn't be a breaking change.

So in principle, if we don't make any changes our 3rd party applications, that currently use category information, will provide the reduced set of over-arching categories.  We'll need to make changes to our code if we wish to expose the additional sub-category information.  Both the category (place_category_id) and sub-category (presumably something like place_subcategory_id) will come back on any API call requesting place information.

I know you can't make a blanket guarantee, as you don't know how each developer has written their specific code, so there is an obvious assumption that we haven't used any techniques to hard code or cache category information.

Thanks,

Jonathan
@mobijack 

Ben Dodson

unread,
Apr 5, 2013, 4:44:41 AM4/5/13
to wallabee-...@googlegroups.com
You'll need to make changes to support the subcategories and the existing place categories will be incorrect for places (i.e. if you look at a place, the category id will have changed and will be one of the new subcategories). We will be making the subcategory database available in advance so that developers can update their apps.
Reply all
Reply to author
Forward
0 new messages