Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 816 Bytes

README.md

File metadata and controls

25 lines (20 loc) · 816 Bytes

Format Versions Versions

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
ljclient = lj.LJServer("Python-Blog3/1.0", "http://daniil-r.ru/bots.html; [email protected]")
ljclient.login("yourusername", "yourpassword")
ljclient.postevent("Awesome post", "Awesome subject", props={"taglist": "github,livejournal"})