The Web's Get/Set API
Setup
Info
- Get/Set returns JSON text with details on success/failure.
- Get/Set both support JSONP callbacks for easy mashup integration (hurray!)
- Name can be 1 to 256 characters long
- Value can be 1 to
4096 16k characters long (POST is supported)
- info@setgetgo.com
Example Set/Get usage in JScript/JQuery
function Set(id, name, value) {
var requestStr =
"http://setgetgo.com/set.php?Id=" + id
+ "&Name=" + name
+ "&Value=" + value;
$.ajax({
type: "GET",
url: requestStr,
dataType: "jsonp",
jsonpCallback:'SetComplete'
});
}
function SetComplete(msg) {
// that's it!
}
function Get(id, name) {
var requestStr = "http://setgetgo.com/get.php?Id="+id;
if (name != null) {
requestStr = requestStr + "&Name=" + name;
}
$.ajax({
type: "GET",
url: requestStr,
dataType: "jsonp",
jsonpCallback: 'GetComplete'
});
}
function GetComplete(msg) {
// easy huh?
}
Sites built on top of SetGetGo
- Guid API Impress yours friends with the ease at which you load GUIDs, these are essentially Globally Unique Identifiers, that if generated correctly are highly unlikely to collide/conflict with any other GUID in the solar system. Examples of GUIDS are:
- ABDCFB6A-CFC8-420D-9775-0C40658E76E6
- 5CD0B4E3-A42F-4B99-8D1D-B5CC8AC45DAC
- 49F57F28-D318-4C9B-8AB8-269549D51C17
- 9BE601B5-58BB-411B-94A8-963D00114B3F
- CA1013E9-9BDB-4B20-B94E-BD8ECC4BFB6D
- Compress/Decompress API Quick and easy way to compress and decompress text on the Web
- Crypto API Encrypt and decrypt like a boss
- Random Word API Generate random words on the fly in a manner that is sure to make you the talk of the town. Random word examples include: papaprelatical, contradistinctly and orunchun.
- Random Image API Lovely random images created on the whiff of an oil rag (free)
- Roll the Dice API Roll the Dice like a king
- Quick Pick Picasso Show off your drawing skills with a javascript-based version of MSPAINT
- IP Geolocation API (OFFLINE)