Skip to content

Latest commit

 

History

History
20 lines (17 loc) · 602 Bytes

File metadata and controls

20 lines (17 loc) · 602 Bytes

Python LiveJournal

Feel free to make pull requests!

A python realization of LiveJournal (LJ) API A full description of the protocol can be found at: http://www.livejournal.com/doc/server/ljp.csp.xml-rpc.protocol.html

Installation

Just type (pip integration is work in progress):

pip install lj

Usage example

from lj import lj as _lj
lj = _lj.LJServer("Python-Blog3/1.0", "http://daniil-r.ru/bots.html; i@daniil-r.ru")
lj.login("yourusername", "yourpassword")
lj.postevent("Awesome post", "Awesome subject", props={"taglist": "github,livejournal"})