You can install the attachr gem to use attachr from within your own applications.
Installation:
sudo gem install attachr
Usage examples:
Post text to attachr: http://attachr.com/3884
Fetch text from attachr: http://attachr.com/3885
You can post text to your own attachr account. The Api-Key can be found on the “My account” page.
Post text to your attachr account: http://attachr.com/3887
The attachr gem documentation is available here: http://code.juretta.com/gems/attachr/.