Spurred by my need to upload a bunch of notes from the now-defunct Stikkit to my account on Helipad, I wrote a Ruby wrapper for Helipad’s XML-over-HTTP API. The interface takes care of all the XML magic, letting you concentrate on the fun stuff: playing with your documents on Helipad.
hp = Helipad.new("lonnon@example.com",
"password")
source = File.read("cake_recipe.txt")
response = hp.create(:title => "Cake",
:tags => "recipe",
:source => source)
puts "Recipe saved" if response.saved?
The Helipad Ruby interface can be installed through rubygems:
gem install Helipad --remote
Documentation is available here:
If you’re interested in the source code and current state of development, you can find the Helipad Ruby interface over on RubyForge: