Project: Builder
Goal
Provide a simple way to interact with BlogMarks.net online bookmarking system.
Classes
BlogMarks::Client:: Client to interact with BlogMarks.net API BlogMarks::Tag:: Define a Tag BlogMarks::Mark:: Define a Mark BlogMarks::Feed:: Define a Feed
Usage
# Accessing last blogmarks :
client = BlogMarks::Client.new('username', 'mypassword')
client.find_marks # Without other options, the api will return the last 30 marks (subject to change)
# then get the default feed and iterate over fetched mark
client.feed.marks.each do |mark|
puts "Mark Link : " + mark.
puts "Mark Summary : " + mark.summary
end
or
# Accessing YOUR last blogmarks :
client = BlogMarks::Client.new('username', 'mypassword')
client.find_my_marks # Without other options, the api will return your last 30 marks (subject to change)
or
# Accessing only the 10 latest blogmarks
client = BlogMarks::Client.new('username', 'mypassword')
client.find_marks( :last => 10 )
TODO : Show some example to post/update/edit blogmarks and tags
Contact
- Author
Jonathan Tron
- Home Page
- License
MIT Licence (http://www.opensource.org/licenses/mit-license.html)