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:
- 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 Answered question