This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"xmlns:apigee="http://api.apigee.com/wadl/2010/07/" xmlns="http://wadl.dev.java.net/2009/02"xmlns:t="urn:simplegeo:simplegeoresponse"xsi:schemaLocation="http://wadl.dev.java.net/2009/02 http://apigee.com/schemas/wadl-schema.xsd http://api.apigee.com/wadl/2010/07/ http://apigee.com/schemas/apigee-wadl-extensions.xsd"> | |
<resources base="https://api.enterprise.apigee.com/v1"> | |
<!-- API Proxy--> | |
<resource path="o/{org_name}/apis"> | |
<param name="baseurl" type="xsd:string" style="template" required="true"default="api.enterprise.apigee.com"> | |
<doc>The top-level domain of the API</doc> | |
</param> | |
<param name="version" type="xsd:string" style="template" required="true" default="v1"> | |
<doc>The version of the API</doc> | |
</param> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).ready(function () { | |
//first set the org / app path (must be orgname / appname or org id / app id - can't mix names and uuids!!) | |
var client = new Usergrid.Client({ | |
orgName:'caurelio', | |
appName:'sandbox', | |
logging: true, //optional - turn on logging, off by default | |
buildCurl: true //optional - turn on curl commands, off by default | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"location": { | |
"lat": 37.37, | |
"lon": -122.04, | |
"name": "Sunnyvale, CA" | |
}, | |
"timestamp": "Mon, 20 Aug 2012 2:54 pm PDT", | |
"temp": 69, | |
"text": "Fair", | |
"url": "http://weather.yahoo.com/forecast/USCA1116_f.html", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns:xsd="http://www.w3.org/2001/XMLSchema" | |
xmlns:apigee="http://api.apigee.com/wadl/2010/07/" | |
xmlns="http://wadl.dev.java.net/2009/02" | |
xsi:schemaLocation="http://wadl.dev.java.net/2009/02 http://apigee.com/schemas/wadl-schema.xsd http://api.apigee.com/wadl/2010/07/ http://apigee.com/schemas/apigee-wadl-extensions.xsd"> | |
<!-- Base defines the domain and base path of the endpoint --> | |
<resources base="https://api.infoconnect.com"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<title>Sample Application - Home Timeline</title> | |
<style> | |
* { margin: 0; padding: 0; } | |
:focus { outline: 0; } | |
html { } | |
body { background-color: #fff; color: #3c3c3c; font-family: helvetica, arial, sans-serif; font-size: 13px; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* This library depends on jQuery and the base64 jQuery plugin (http://plugins.jquery.com/project/base64) | |
* Sample Usage: | |
* Working with the Apigee API | |
* - Setting up an Apigee account: | |
* var apigee = new $.apigee_api('https://api.apigee.com'); | |
* apigee.init("earth2marsh","supersecret"); // pwd will be base64 encoded | |
* | |
* - Adding an application: | |
* apigee.request('post','/apps/myappname.json'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* This library depends on jQuery and the base64 jQuery plugin (http://plugins.jquery.com/project/base64) | |
*/ | |
/** | |
* Accepts the endpoint (ex: "http://user.apigee.com/") and builds the API Caller object | |
*/ | |
function ComApigeeApiCaller(endPoint) { | |
var theCall = this; | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr"> | |
<head> | |
<script type="text/javascript"> | |
var addEvent = function(obj, type, fn) { | |
if (obj.addEventListener) { | |
obj.addEventListener(type, fn, false); | |
} else if (obj.attachEvent) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML> | |
<html xmlns:ng="http://angularjs.org"> | |
<head> | |
<script type="text/javascript" | |
src="http://angularjs.org/ng/js/angular-debug.js" ng:autobind></script> | |
</head> | |
<body> | |
<script> | |
// parseUri 1.2.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML> | |
<html xmlns:ng="http://angularjs.org"> | |
<head> | |
<script type="text/javascript" | |
src="http://angularjs.org/ng/js/angular-debug.js" ng:autobind></script> | |
</head> | |
<body> | |
<script> | |
// parseUri 1.2.2 |