[Python] Solia Online User Library
Here's a library I wrote to interact with Solia Online in Python. Can be used to write bots and stuff of that nature. It provides basic site functionality. May add more features as time goes.
Features:
- Custom User-Agent
- Custom BB Code
- Login (duh)
- Prize wheel checking
- Pet clicking
- Art commenting
- Avatar commenting
- Forum reply posting
- Forum topic posting
- Profile commenting
Updates:
- 2012-07-24: Moved library to github
- 2012-07-23: Added profileComment function
Usage:
Code:
testUser = soliaUser('megusta', 'mememes') # these accounts are banned
testUser2 = soliaUser('jackojacko12', '123456')
print(testUser2.login())
print(testUser2.checkPrizeWheel())
print(testUser2.clickPet('b5a'))
print(testUser2.artComment('15211', 'Great effect', 'I really like your style'))
print(testUser2.avatarComment('737', 'Cool fairy', 'This is a nice fairy'))
print(testUser.login())
testUser.setBB('TEXT HERE')
print(testUser.postReply('41', '296457', 'Welcome to solia, you seem like a cool person, I hope you like it here.'))
print(testUser.profileComment('88949', 'Sweet profile!'))
print('Finished.')
You can download the file on github:
https://github.com/rosewill/soliauser.py