Skip to content
LiveJournal API for Python available via PIP (PyPi). Python 3 support included
Branch: master
Clone or download
Pull request Compare This branch is 1 commit ahead, 5 commits behind daniilr:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lj
.gitignore
DESCRIPTION.rst
LICENCE
MANIFEST
README.md
__init__.py
backup_example.ini
setup.cfg
setup.py

README.md

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; i@daniil-r.ru")
ljclient.login("yourusername", "yourpassword")
ljclient.postevent("Awesome post", "Awesome subject", props={"taglist": "github,livejournal"})
You can’t perform that action at this time.