-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Rob Myers
committed
Apr 3, 2011
0 parents
commit e5e5f52
Showing
7 changed files
with
1,717 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
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 |
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
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 |
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
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 |
Oops, something went wrong.