Created
January 25, 2011 08:50
-
-
Save lchanmann/794679 to your computer and use it in GitHub Desktop.
Send a message to Geochat group via API
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
require 'rest_client' | |
url = 'http://geochat.instedd.org/api/groups/YOURGROUP/messages.rss' | |
res = RestClient::Resource.new url, 'LOGIN', 'PASSWORD' | |
res.post :message => '#ping' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment