Can I retrieve the questions and answers based on the user ID?
I need to retrieve the questions and answers associated with a user when the user id is provided. Is there an API available for this?
james598patton Answered question
Yes, you can use the Stack Exchange API: aessuccess org
- For questions:
GET /users/{ids}/questions?site=stackoverflow
- For answers:
GET /users/{ids}/answers?site=stackoverflow
Just replace {ids}
with the user ID and specify the site.
james598patton Edited answer
Escape Road does something similar when tracking player progress through its API—you can fetch a player’s checkpoints, escape attempts, and even the choices they made in dialogue trees. It’s a neat real-world parallel if you’re designing your own Q&A system!
intslovenly Answered question
For retrieving questions and answers associated with a specific user ID, you can use the Stack Exchange API, which is well-documented Golf Hit and supports this functionality.
katyperry23 Answered question