diff options
author | Ben Burwell <ben@benburwell.com> | 2016-01-03 18:33:18 -0500 |
---|---|---|
committer | Ben Burwell <ben@benburwell.com> | 2016-01-03 18:33:18 -0500 |
commit | 7ae1d77739fa57a8f17e350a80a4e384dfdd4c0b (patch) | |
tree | 56ed225e94fbcf0545d76bd9b71e2d24e26b16b8 /examples/sample_app.js | |
parent | 05337261ffb4abfb0fbbb9c775ccad0e28645692 (diff) | |
parent | d82f3d0034d062fb8e76d3b2ef31f7f14c087df8 (diff) |
Merge pull request #2 from benburwell/develop
Update to new version of Active911
Diffstat (limited to 'examples/sample_app.js')
-rw-r--r-- | examples/sample_app.js | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/examples/sample_app.js b/examples/sample_app.js deleted file mode 100644 index a08b039..0000000 --- a/examples/sample_app.js +++ /dev/null @@ -1,14 +0,0 @@ -var Active911 = require('../lib/active911').Active911; - -var oauth_id = '12345'; -var oauth_secret = 'asdf'; -var oauth_scope = 'read_agency read_alert read_device'; - -var api = new Active911(oauth_id, oauth_secret, oauth_scope); -var uri = api.getAuthorizationUri(); -console.log('Please go to ' + uri + ' to authenticate.'); - -api.ready(function() { - console.log('OAuth workflow complete'); - -}); |