SteveMcGrath / pyxenforo

Python API into XenForo
9 stars 5 forks source link

any simple examples ? #2

Open avinassh opened 11 years ago

avinassh commented 11 years ago

I landed up here from : http://xenforo.com/community/threads/python-xenforo-module.15355/

however I am not getting how to use this. Any examples ?

SteveMcGrath commented 11 years ago

Here is one:

import pyxenforo
xf = pyxenforo.XenForo('USERNAME', 'PASSWORD', 'http://forums.domain.org')
xf.private_message('TO_USER', 'A Private Message', 'Private Message Body')
avinassh commented 11 years ago

wow, thanks ! let me poke around and try :)