0

I am attempting to create a python application on a Raspberry Pi that can access data stored in a db model on an App Engine application. Specifically the latest entry in the data store.

I have no experience doing this type of remote data access but have a fair bit of experience with App Engine and Python.

I have found very little that I understand on this subject of remote data access.

I would like to access the data store directly, not text on a web page like this.

ProtoRPC kind of looks like it may work but Im not familiar with it and it looks like it is pretty involved when I just need to access a few strings.

What would make the most sense to accomplish this? If an example is easy to provide I would appreciate it.

Community
  • 1
  • 1
techkilljoy
  • 175
  • 1
  • 3
  • 13

2 Answers2

1

What you looking for is the appengine remote api.

https://cloud.google.com/appengine/docs/python/tools/remoteapi

gipsy
  • 3,859
  • 1
  • 13
  • 21
  • Thanks, I had looked at the Remote API before but for some reason not this specific page which makes a lot of sense for this requirement. I may also have been biased by my previous uses of the remote API for bulk operations only. The [article ](https://cloud.google.com/appengine/docs/python/tools/remoteapi) linked from your reference was also informative in describing limitations. – techkilljoy Jan 06 '15 at 16:53
0

Google App Engine doesn't allow direct access to it's databases from your local python script. Instead, only an application hosted on App engine's server can access that data for your application.

Essentially, you're looking for a Google App Engine compatible, automatic, Restful API. Several exist, and have been discussed here. YMMV with the various frameworks that are discussed there.

Community
  • 1
  • 1
VooDooNOFX
  • 4,674
  • 2
  • 23
  • 22
  • Thanks, I think if I was trying to do something more complex than an few strings this would be worth looking into. Good to know though. – techkilljoy Jan 06 '15 at 21:36