0
I Use This!
Activity Not Available

Project Summary

GAE Storage API is a simple key/value HTTP text storage API for Google App Engine. Think Mosso Cloud Files or Amazon S3, although only for unicode text. It's designed to make it easier to use App Engine's Datastore with applications that aren't running on App Engine. It's not for everyone, and it aims to be dead simple to use with as few features as possible.

Potential use cases:

An IRC logging service

API ReferenceSimple Data Service has 3 API calls: GET, APPEND, and REPLACE:

GET retrieves all the text stored under the given key. The key used for GET is the SHA-256 hash of the key used for APPEND and REPLACE. This allows you to keep the key used for APPEND and REPLACE secure while making the GET key public. APPEND appends the supplied text to the already-existing text stored under the current key. If this key does not already exist, APPEND stores the text under the given key. REPLACE replaces the current contents of the given key with the given text. If this key does not already exist, REPLACE stores the text under the given key.

SecurityAs noted above, the key used for GET is the SHA-224 hash of the key used for APPEND and REPLACE. This allows you to keep the key used for APPEND and REPLACE secure while making the GET key public. The "private" key used for APPEND and REPLACE must not be guessable, so use a long one.

Additionally, you should use SSL so that the private key is not snooped in transit. SSL support is currently not available because it is overkill for my needs, but I may add it soon.

ExamplesLet's assume your application is named "party" and you are accessing it through the appspot.com domain. To store "happy" under the private key "lucky", you can use the following URI:

http://party.appspot.com/replace?key=lucky&data=happy

To then retrieve that data, you need to take the SHA-224 hash of the private key "lucky". That is "dec0fc315e36bc2459409270a32bf7c8b888933475eec029d53cd10e". So your retrieval URL is:

Note that you will probably want to use a longer key than "lucky". No minimum length is enforced. You are responsible for generating your own keys.

Test ServerYou can try out GAE Storage API here. Although this service is being used in other production applications, you should not use it in production yourself: you should instead download the source code and either use it as is or embed it in your own application. This way you will have full control over your data through Google's control panel/tools/etc. If this test service is abused I will be forced to protect it, so please be gentle.

Simple Data Service was created by Brandon Thomson for use with some of his own applications. It released under the MIT license and is unsupported software.

Tags

appengine http python

In a Nutshell, gaestorageapi...

 No code available to analyze

Open Hub computes statistics on FOSS projects by examining source code and commit history in source code management systems. This project has no code locations, and so Open Hub cannot perform this analysis

Is this project's source code hosted in a publicly available repository? Do you know the URL? If you do, click the button below and tell us so that Open Hub can generate statistics! It's fast and easy - try it and see!

Add a code location

MIT License
Permitted

Sub-License

Private Use

Commercial Use

Modify

Distribute

Forbidden

Hold Liable

Required

Include Copyright

Include License

These details are provided for information only. No information here is legal advice and should not be used as such.

All Licenses

This Project has No vulnerabilities Reported Against it

Did You Know...

  • ...
    Black Duck offers a free trial so you can discover if there are open source vulnerabilities in your code
  • ...
    data presented on the Open Hub is available through our API
  • ...
    65% of companies leverage OSS to speed application development in 2016
  • ...
    you can embed statistics from Open Hub on your site

 No code available to analyze

Open Hub computes statistics on FOSS projects by examining source code and commit history in source code management systems. This project has no code locations, and so Open Hub cannot perform this analysis

Is this project's source code hosted in a publicly available repository? Do you know the URL? If you do, click the button below and tell us so that Open Hub can generate statistics! It's fast and easy - try it and see!

Add a code location

Community Rating

Be the first to rate this project
Click to add your rating
   Spinner
Review this Project!
Sample ohloh analysis