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

How can I get list of all parent categories? #685

Closed
smimar opened this issue Mar 7, 2023 · 1 comment
Closed

How can I get list of all parent categories? #685

smimar opened this issue Mar 7, 2023 · 1 comment

Comments

@smimar
Copy link

smimar commented Mar 7, 2023

I am trying to find the api that I should use to retrieve list of all parent categories .

I have looked into this
https://docs.developer.yelp.com/reference/v3_all_categories

but the results of this api does not match with the list of categories on this page
https://docs.developer.yelp.com/docs/resources-categories

So I am a bit confused.
I appreciate if someone can help me figure out how to pull the list of parent categories.

Thanks,
Emin

@rockdog
Copy link
Member

rockdog commented Aug 2, 2023

Hi @smimar,

the reference at https://docs.developer.yelp.com/docs/resources-categories might not be 100% accurate when it comes to 2nd or 3rd level categories. However it does include all the top level categories such as active, arts, auto, beautysvc, and so on.

The source of truth is the actual endpoint as documented at https://docs.developer.yelp.com/reference/v3_all_categories.

@rockdog rockdog closed this as completed Dec 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants