0

Is there a way to retrieve the top level category e.g Arts & Entertainment when i get all Checkins from a user?

my only idea is to do this manually with a huge switch-case including every subcategory. somebody got a hint or a better idea to do this?

any ideas are welcome

4

1 回答 1

0

Use the venues/categories endpoint to get a tree of all the categories. Then, use this to build a mapping from all categories to their corresponding top level category

于 2012-11-22T22:13:57.147 回答