Welcome to the Treehouse Community
Looking to learn something new?
How can I query Treehouse's database to see a person's best answers count?
I would like to see the amount of best answers that a person has for a given topic. I know that this information, unlike badge data, is not stored in the user's
.json file as I've already looked and is therefore logically stored in a database.
- How does someone query a database?
- Would 'postman' help send a request?
- How does one find out which database a website is using?
- Is it legal/against policy? (This concern is the reason I'm asking instead of probing around)
Jason AndersTreehouse Moderator 145,624 Points
Here's how I see it... (my opinion only)
Unless a site's API allows access to the information, the database is basically off-limits to 'outsiders.' The API for Treehouse (The JSON file) is the only information that is available publicly... the rest is the sole property of Treehouse.
As for the legal part of your question... the short answer is no, it's not legal. If a site does not make the information readily available, then 'poking around' would be considered unauthorized access (hacking).