Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Ruby client for LiveJournal (migrated from the darcs repo)
Ruby
branch: master
Failed to load latest commit information.
lib
sample Properly handle progressbar with zero max. (Occurs when you've alread…
test fix and add location test to roundtrip unittest
Changes update changelog
LICENSE setup.rb, rakefile, and gem
README.md Added documentation
Rakefile
VERSION
livejournal.gemspec Regenerate gemspec for version 0.3.10
setup.rb

README.md

ljrb: LiveJournal Ruby module

Copyright: Copyright (C) 2005 Evan Martin martine@danga.com

Website: http://neugierig.org/software/livejournal/ruby

Documentation: http://rubydoc.info/gems/livejournal/

Example usage: require 'livejournal/login'

puts "Logging in..."
user = LiveJournal::User.new('test', 'test')
login = LiveJournal::Request::Login.new(user)
login.run

puts "Login response:"
login.dumpresponse

puts "User's full name: #{user.fullname}"

LiveJournal Datatypes

  • LiveJournal::Server
  • LiveJournal::User
  • LiveJournal::Entry
  • LiveJournal::Comment
  • LiveJournal::Friend

Implemented Requests

Login Requests

  • LiveJournal::Request::Login

Friend Requests

  • LiveJournal::Request::Friends
  • LiveJournal::Request::FriendOfs
  • LiveJournal::Request::CheckFriends

Entry Requests

  • LiveJournal::Request::PostEvent
  • LiveJournal::Request::GetEvents
  • LiveJournal::Request::EditEvent

Comments Requests

  • Livejournal::Request::GetComments
  • Livejournal::Request::GetRecentComments

Journal Offline Synchronization

  • LiveJournal::Sync::Entries
  • LiveJournal::Sync::Comments See samples/export for an example of how to use these.

SQLite3 Support

  • LiveJournal::Database -- storing/loading entries+comments with SQLite3 Integrates well with syncing. See samples/export.

Other Features

  • LiveJournal::LogJam -- interface with LogJam (http://logjam.danga.com) 's journal exports. (XXX currently broken)
Something went wrong with that request. Please try again.