Permalink
Browse files

Initial revision.

  • Loading branch information...
robmyers committed Apr 3, 2011
0 parents commit e5e5f520eeb1b4ed274868f8243a022c2efe5509
Showing with 1,717 additions and 0 deletions.
  1. +661 −0 COPYING
  2. +23 −0 README.md
  3. +13 −0 app.yaml
  4. +5 −0 cron.yaml
  5. +360 −0 example.py
  6. 0 oauth/__init__.py
  7. +655 −0 oauth/oauth.py
661 COPYING

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -0,0 +1,23 @@
+Example Prosthetic
+------------------
+
+This is a simple App Engine-based example Prosthetic for http://weavrs.com .
+
+It shows how to connect to the Weavrs server using the OAuth API,
+query a Weavr's state, and push to its publishing stream.
+
+Prosthetic Setup
+----------------
+
+Create your Prosthetic at http://weavrs.com/developer/
+
+Then configure example.py to refer to your Prosthetic's OAuth key and secret.
+
+App Engine Setup
+----------------
+
+Set up an app engine instance at https://appengine.google.com/
+
+Configure app.yaml to point to your instance.
+
+Then configure example.py to point to your instance
@@ -0,0 +1,13 @@
+application: weavrs-api-example
+version: 1
+runtime: python
+api_version: 1
+
+handlers:
+
+- url: /runner/.*
+ script: example.py
+ login: admin
+
+- url: /.*
+ script: example.py
@@ -0,0 +1,5 @@
+cron:
+
+- description: queue a task for each subject
+ url: /runner/run_cron/
+ schedule: every 2 hours
Oops, something went wrong.

0 comments on commit e5e5f52

Please sign in to comment.