The tag has no wiki summary.

learn more… | top users | synonyms

3
votes
0answers
42 views

Byte Order Mark suddenly appearing in query results

Query results seem to have started including BOMs sometime today. I had to add code to handle it. I don't see this documented anywhere.
1
vote
0answers
49 views

Java exception when user age or location is unspecified in returned JSON

I am brand new to the Stack Exchange API and Android (well, self taught in the last four months). I have been working on creating a school project focused around Android and JSON. My initial idea was ...
0
votes
2answers
107 views

Get API responses in formats other than JSON

I am working on an application which uses the Stack Exchange API. But I don't want responses in JSON format. So, if I want to convert JSON to another format like XML, is there any way to get the ...
1
vote
1answer
236 views

json with list of all user's on stackoverflow

I am trying to get the list of all user's in json format (as provided by the api) (using jquery jsonp) What i found is pagesize – The number of collection results to display during pagination. ...
0
votes
1answer
107 views

JSON parsing, won't work

Hi i'm using the stackapps api, retrieving questions by tags the code works well, and the json is returned, now i need to parse the json and i think there is somenthing wrong with my code: $.ajax({ ...
1
vote
0answers
72 views

String formatting in returned JSON objects

So I sat down this evening to play with the Stack Exchange API. I downloaded RestSharp, and used it to call the API. One thing the struck me was how strings are formatted, with regards to non-ASCII ...
2
votes
1answer
60 views

What's the best way to get all available data related to a user's reputation?

I'm looking for the best way to get a full list of every event which has caused a user's reputation to change, It could look like: timestamp,reputation_change,object_uri 2011-01-25 ...
1
vote
0answers
116 views

Stack Cartographer - A PHP tool for generating a JSON map of the Stack Exchange API.

About After the JSON documentation for the Stack Exchange API was dropped for v2.0, I began to wonder if it would be possible to throw together a PHP script that did a bit of screen-scraping to ...
3
votes
1answer
165 views

Making use of the *“has_more”: true* json attribute in the Json response from stackoverflow

When issuing requests to the stackoverflow-api, I set the pagesize to a 100 (which is the maximum possible). However, some json responses contain this attribute (normally at the very bottom): ...
6
votes
2answers
135 views

OR operator for StackOverflow API

I'm trying to get a list of questions from the SO API for a number of tags, At the moment I am using the ; operator to separate the tags in the URL but the thing is this only brings up questions that ...
1
vote
1answer
288 views

Any guarantees on JSON string encoding?

According to the JSON specification, JSON can be returned in one of five string encodings: UTF-8 (the default encoding) UTF-16 Little Endian UTF-16 Big Endian UTF-32 Little Endian UTF-32 Big Endian ...
2
votes
2answers
403 views

Stacky JSON error

I'm trying to use Stacky to grab a question from Stackoverflow, however I always an error. The error thrown is: JsonReaderException was unhandled - Unexpected character encountered while parsing ...
0
votes
1answer
70 views

Getting garbage on requests

Not exactly sure how or why, but many times when I try and preview some URL, I get garbage. This has happened on several JSON preview websites as well as on my browser. Strangely this isn't all the ...
0
votes
5answers
1k views

Get user data using curb in Ruby

Hello, I am trying to get user data in my Rails app. I am doing this: url_so = "http://api.stackoverflow.com/1.0/users/231917?type=jsontext" curl = Curl::Easy.new(url_so) curl.perform ...
1
vote
3answers
568 views

Possible Gzip or data format problems when trying to read JSON.

This is a very basic question. I just want to display a test batch of JSON with PHP, but I think I don't have the correct formatting, since the data received looks garbled when outputed, and it causes ...
3
votes
0answers
342 views

Supported Platforms

What platforms are supported for use with the StackExchange API? In short, anything that supports JSON/JSONP & GZIP. All responses from the API will be compressed with GZIP. The ...
36
votes
1answer
199 views

When API site goes offline, please return a JSON , instead of Stack Overflow alike offline HTML page

I've just noticed that my api queries are failing in JSON parsing, because of API Site shows offline HTML Page. I wish it would return a valid JSON response, instead of HTML Page.
7
votes
2answers
859 views

Am I accessing the API correctly?

When running the code $.getJSON('http://api.stackoverflow.com/0.8/questions/4', function(data) { // Do some stuff here.... }); I get the error Failed to load resource Am I accessing this ...