Take the tour ×  I want to fetch only my accepted answers from
Stack Overflow using the API 2.1 and currently I've following
code  $data = file_get_contents("http://api.stackexchange.com/2.
1/users/741747/answers?page=1&pagesize=10&order=desc&min=1&sort=
votes&site=stackoverflow&filter=!4.nQbW4zw_OOSDSf7");  The above
code returns all answers, but I want to filter to only accepted
answers. Searched the API documentation but didn't find anything
or maybe I don't know where to look for it.  I Appreciate any
kind of advice.  share|improve this question add comment  1
Answer  up vote 2 down vote accepted  The API filters are kept
pretty simple, and there is no way to restrict these answers to
just accepted answers. Your app would loop through the items
array and return/handle only those where is_accepted is true.
Since you appear to be using PHP, the Stack.PHP library may save
you time and effort, overall.  share|improve this answer Thanks!
I'm aware of is_accepted but thought there is another way to do
it. If I d