Stack Apps is a question and answer site for apps, scripts, and development with the Stack Exchange API. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm building an app that works by users punching in big lists of questions. And I want them to be able to use the Data Explorer to create these lists.

My preferred way of getting the data would be a user copying a link to a Query. I've tried grabbing the csv programatically using this kind of URL:

But I'm getting an error page ("Server Error in '/' Application."). Presumably, the data explorer doesn't like it when you grab the results programmatically.

I don't want to cheat. What is the most straightforward way to have a user creater a query, and fetch the results of the query in my app? (If at all possible, the user shouldn't have to upload the file, or copy and paste the results)

share|improve this question
I'd be interested in this too. I assume there is not an API interface for the Data Explorer? – halfer Sep 2 '15 at 16:46
I've discovered from this answer that SEDE does not presently have an API interface. – halfer Sep 2 '15 at 17:41
@halfer, SEDE allegedly has implemented OData endpoints but this seems mostly kaput and I've no bloody clue how to use it. – Brock Adams Sep 2 '15 at 17:43
Thanks @Brock - sadly it looks like it's been disabled now, as of April 2015. – halfer Sep 2 '15 at 17:53
This has been asked on Meta SE as well. Apparently downloading using cURL isn't impossible, as others have said here. – halfer Sep 2 '15 at 18:00

You must log in to answer this question.

Browse other questions tagged .