Skip to content

Commit

Permalink
Initial revision.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob Myers committed Apr 3, 2011
0 parents commit e5e5f52
Show file tree
Hide file tree
Showing 7 changed files with 1,717 additions and 0 deletions.
661 changes: 661 additions & 0 deletions COPYING

Large diffs are not rendered by default.

23 changes: 23 additions & 0 deletions README.md
Original file line number Original file line Diff line number Diff line change
@@ -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
13 changes: 13 additions & 0 deletions app.yaml
Original file line number Original file line Diff line number Diff line change
@@ -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
5 changes: 5 additions & 0 deletions cron.yaml
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,5 @@
cron:

- description: queue a task for each subject
url: /runner/run_cron/
schedule: every 2 hours
Loading

0 comments on commit e5e5f52

Please sign in to comment.