{"id":16200937,"url":"https://github.com/marks/notify_webservice","last_synced_at":"2025-04-07T18:16:24.462Z","repository":{"id":136859871,"uuid":"581240","full_name":"marks/notify_webservice","owner":"marks","description":"Tropo Session API (IM/SMS/Voice) and Postage App (Email) Helpers","archived":false,"fork":false,"pushed_at":"2010-03-26T20:31:26.000Z","size":104,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-13T20:14:50.298Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://marksilver.net","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/marks.png","metadata":{"files":{"readme":"README.markdown","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-03-26T19:56:04.000Z","updated_at":"2019-07-09T14:08:15.000Z","dependencies_parsed_at":"2023-03-30T21:48:01.975Z","dependency_job_id":null,"html_url":"https://github.com/marks/notify_webservice","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marks%2Fnotify_webservice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marks%2Fnotify_webservice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marks%2Fnotify_webservice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marks%2Fnotify_webservice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marks","download_url":"https://codeload.github.com/marks/notify_webservice/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247704572,"owners_count":20982298,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-10T09:34:54.150Z","updated_at":"2025-04-07T18:16:24.442Z","avatar_url":"https://github.com/marks.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"Notify Web Service to Leverage Tropo/PostageApp Communication Channels\n======================================================================\n\nTODO\n----\nREADME :)\n\nFor now, execute `ruby app.rb` and go to `http://localhost:4567/` to see instructions and example usage. You can also look inside the `app.rb` file for the haml markup for that file.\n\nSample Tropo Application Use\n----------------------------\nUse the code below in a Tropo Hosted Scripting application to let the user text a number of seconds to wait before dispatching a call to them. This could be used to request a fake call via text so you can safely excuse yourself from a date, etc. The call is dispatched using a HTTP GET to the `notify_webservice`\n\nDemo: SMS text message \"15\" to 240-242-7964 to get a phone call to your cell phone in 15 seconds. The call will come from an \"Unknown\" or no caller-id phone number.\n\n    #SMS: time in seconds to wait\n    require \"open-uri\"\n    answer\n    if $currentCall.callerID.length == 11\n      sleep_time = $currentCall.initialText.to_i\n      say \"okay, we'll call you in about #{sleep_time} seconds\"\n      sleep sleep_time\n      response = open(URI.encode(\"http://notifyr.heroku.com/#{$currentCall.callerID}/voice/#{sleep_time} seconds have elapsed\")).read\n      if response == \"false\" then say \"Sorry, there was a problem. Try again.\" end\n    else\n      say \"Sorry, this only works if you SMS 240-242-7964\"\n    end\n    hangup","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarks%2Fnotify_webservice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarks%2Fnotify_webservice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarks%2Fnotify_webservice/lists"}