This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
Dale Campbell (author)
Wed Jun 10 14:53:47 -0700 2009
commit b3fe2b9b422fe3cf4fa357ef63eb760451140c9b
tree 9753c2c1854cce2d1a48a5da63a0ecdce0e92088
parent d3f7d0766c468dce64169000e33f63ddd1f6bea3
tree 9753c2c1854cce2d1a48a5da63a0ecdce0e92088
parent d3f7d0766c468dce64169000e33f63ddd1f6bea3
pingfm /
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Sat Aug 30 07:48:27 -0700 2008 | |
| |
History.txt | Wed Jun 10 14:53:47 -0700 2009 | |
| |
Manifest.txt | Thu Sep 18 00:34:18 -0700 2008 | |
| |
README | Thu Sep 18 00:34:18 -0700 2008 | |
| |
Rakefile | Thu Sep 18 00:34:18 -0700 2008 | |
| |
bin/ | Thu Dec 25 22:43:03 -0800 2008 | |
| |
lib/ | Wed Jun 10 14:53:47 -0700 2009 | |
| |
pingfm.gemspec | Wed Jun 10 14:53:47 -0700 2009 | |
| |
spec/ | Sun Sep 28 03:05:45 -0700 2008 | |
| |
tasks/ | Mon Sep 29 19:25:49 -0700 2008 |
README
Ping.fm Ruby Client/Library == Authors * Krunoslav Husak (http://h00s.net) * Dale Campbell (http://corrupt.save-state.net) * Kevin Williams (http://almostserio.us) == CODE: http://pingfm.rubyforge.org/ == DESCRIPTION: Ping.fm (http://ping.fm) is a simple service that makes updating your social networks a snap, and this it's Ruby library. == FEATURES/PROBLEMS: * Installing the gem creates a 'pingfm' shell script to post from the shell. * Keys are stored in a YAML file in your home directory (under Linux/OSX). == SYNOPSIS: Shell usage: $ pingfm This message will post to my default services. Everything after the 'pingfm' command is what will be posted to the service. You may also include the message within quotes (ex. using the client within a shell script). If your keys have not been stored, it will ask for them. These keys will be saved in a YAML file in your home directory and you won't be asked for them again. You can obtain your keys here: * User API Key - http://ping.fm/key/ * Application API Key - http://ping.fm/developers/ Library usage: # Require the library and initialize it. require 'pingfm' pingfm = Pingfm::Client.new('api_key', 'user_app_key') # Ensure proper API and User App keys. pingfm.validate['status'] # => 'OK' if success, otherwise 'FAIL' # Grab latest 5 posts. pingfm.latest(5) # => {'messages' => [...]} # Posting to all services. pingfm.post('The Dark Knight was amazing.') # => {'status' => 'OK'} if success, otherwise 'FAIL' # Post using custom user trigger; must be defined on the Ping.fm site. pingfm.tpost('The message here.', '#something_custom', 'Optional Title') # => {'status' => 'OK'} if success, otherwise 'FAIL' Check the source comments for more details. == REQUIREMENTS: Ruby! == INSTALL: # From Rubyforge... $ sudo gem install pingfm *OR* # From Github... $ sudo gem sources -a http://gems.github.com (only need to do this once) $ sudo gem install oshuma-pingfm == LICENSE: (The MIT License) Copyright (c) 2008 Krunoslav Husak, Dale Campbell, Kevin Williams Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.








