Hm. I can't seem to reproduce that. I get JSON every time, no JSONP at
all, even with the exact same curl commnd. Are you still able to get
this result?
~chris
On Jun 18, 2008, at 9:44 PM, Edward O'Connor wrote:
It's not a Python problem, it's an issue with the JSON handler at
Eventful's end. Basically, sometimes the response is JSON, and
sometimes
it's JSONP. E.g.:
% curl "http://api.eventful.com/json/users/login?app_key=test_key&user=&user_key=
"
{"nonce":"3740583121","string":"Authorization
Required","description":"Please supply a user authentication response
using the nonce provided."}
% curl "http://api.eventful.com/json/users/login?app_key=test_key&user=&user_key=
"
var obj = {"nonce":"4740583121","string":"Authorization
Required","description":"Please supply a user authentication response
using the nonce provided."}; EVDB.API._complete(1, obj);