Why can't we use JSONP?

2 views
Skip to first unread message

WeZzy

unread,
Oct 27, 2010, 8:48:15 AM10/27/10
to Google Elections Center API Users
Hey there,

Anyone know why we can't access this through JSONP like most of the
Google APIs? I'd like to fetch some JSON data from the API to use in
my app but am unable to do so because of the cross-domain problems...

Any ideas?

Daniel Berlin

unread,
Oct 27, 2010, 10:14:33 AM10/27/10
to election-cen...@googlegroups.com
On Wed, Oct 27, 2010 at 8:48 AM, WeZzy <wez...@gmail.com> wrote:
> Hey there,
>
> Anyone know why we can't access this through JSONP like most of the
> Google APIs?


Honestly?
Because we haven't had time to implement every feature we'd like yet.
:)


> I'd like to fetch some JSON data from the API to use in
> my app but am unable to do so because of the cross-domain problems...
>
> Any ideas?
>

Add &jsonp=<functionname> to your query and it should do what you want.

Reply all
Reply to author
Forward
0 new messages