Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

General Discussion

tan zhang
tan zhang
69 Points

How to find a API for my need?

I am looking for specific database to build my website,but I am confused about how to find the API contain the data I want. For example I need data about hotpot restaurants,where can I find it?

3 Answers

Taylor Espejo
Taylor Espejo
3,939 Points

Hi qinghao,

Im a little confused; are you looking for two things a. API's and b. data on hotpot restaurants ?

I don't think you could find specific API for DB development around hotpots specifically.

tan zhang
tan zhang
69 Points

I am looking for database about hotpot restaurants. I thought API is some time a database too? Because I used to use a pokemon API and it contain lot of data of pokemons. So for example if I want to get data for certain topic,what should I looking? Thank you!

Taylor Espejo
Taylor Espejo
3,939 Points

mmm im not sure tbh, I've personally never heard of it in that way

I mean technically I suppose API as set collectively are a database of functions and procedures that allow the creation of applications which access the features or data of an operating system, application, or other service.

So to some degree its a database for information but not in a context like restaurants.

You could probably find data sets for restaurants but api is more like this https://www.drupal.org/docs/7/api/database-api/database-api-overview

tan zhang
tan zhang
69 Points

Thank you!