5

How can I export all of my own answers but only my own answers without any comments but together with the questions into a text document?

  • 3
    Use the API? Copy/Paste? – Naftali aka Neal Aug 23 '13 at 14:19
  • @amanaPlanaCAnalPAnaMA I have asked how. Tell me how. If it is API say API, if it is Copy/Paste say Copy/Paste. – ceving Aug 23 '13 at 18:09
3

You can build your own App to do that. With Answers on Users you can query for your ID in a given site. These are your first 100 answers on Stack Overflow:

http://api.stackexchange.com/2.1/users/402322/answers?pagesize=100&order=asc&sort=creation&site=stackoverflow

I see that you have 99 answers and the result of the query has the following at the very end: "has_more":false. With this you'll iterate through all pages when there are 100+ results. As pointed by Dave Chen bellow, you can add a filter to retrieve the body of the posts.

Take note of the Throttling limits and research on Stack Apps to see if something like this has already been built.

An example for WordPress/PHP: How to Embed Stackexchange Account Metrics into Wordpress?

  • 1
    To extend, if you use a filter, you can also include the body. You then don't need to make additional queries. – Dave Chen Aug 23 '13 at 15:45
  • 1
    @DaveChen, still, the answer body is not too useful without the question body. – Acumenus Mar 12 '14 at 16:30

Not the answer you're looking for? Browse other questions tagged .