Fetching data store data from external URL

27 views
Skip to first unread message

JT

unread,
Dec 4, 2008, 12:07:27 PM12/4/08
to Google App Engine
hey, does anyone know how to fetch data from the datastore, from an
external URL?

I'm working within MySpace and would like to fetch data base at the
Google data store. Is it possible? I'm guessing HTTP GET with user
name/password attached to the request. Any thoughts?

Thanks,
john

Jeff S

unread,
Dec 5, 2008, 1:13:48 PM12/5/08
to Google App Engine
Hi john,

The approach I've most often seen is to write a request handler which
will query the datastore and pass back the data in the desired format
(XML, JSON, etc.). Depending on your security concerns, there are
several options for authenticating/authorizing access from the
external HTTP client (BasicAuth+HTTPS, DigestAuth, Public Key digital
signatures, etc.). I'm assuming that you are creating your own list of
usernames and passwords in this case, since I recommend against asking
for a user's Google Account password. Would this data be user
specific?

Thank you,

Jeff

Xavier Mathews

unread,
Dec 5, 2008, 1:34:08 PM12/5/08
to google-a...@googlegroups.com
Myspace? I Depends what kind of data you want to store. Use Array in program.
--
Xavier A. Mathews
Student/Browser Specialist/Developer/Web-Master
Google Group Client Based Tech Support Specialist
Hazel Crest Illinois
xavier...@gmail.com¥xavier...@hotmail.com¥trues...@yahoo.com
"Fear of a name, only increases fear of the thing itself."

JT

unread,
Dec 6, 2008, 9:38:08 AM12/6/08
to Google App Engine
Hi Jeff,

Thanks for taking the time to reply.

I'd be using an application user name and password in most instances
and only using an application created user name (or other unique
identifier) to retrieve data about the user.

Thanks,
John

On Dec 5, 1:13 pm, Jeff S <j...@google.com> wrote:
> Hi john,
>
> The approach I've most often seen is to write a request handler which
> will query the datastore and pass back the data in the desired format
> (XML, JSON, etc.). Depending on your security concerns, there are
> several options for authenticating/authorizing access from the
> external HTTP client (BasicAuth+HTTPS, DigestAuth, Public Key digital
> signatures, etc.). I'm assuming that you are creating your own list of
> usernames and passwords in this case, since I recommend against asking
> for a user's Google Account password. Would this data be user
> specific?
>
> Thank you,
>
> Jeff
>
> On Dec 4, 9:07 am, JT <johnlall...@gmail.com> wrote:
>
> > hey, does anyone know how to fetch data from the datastore, from an
> > external URL?
>
> > I'm working withinMySpaceand would like to fetch data base at the
Reply all
Reply to author
Forward
0 new messages