Comunio API Python
It is a simple API to get the information of your comunio account. Comunio is a web game where You are a manager of a team.
python setup.py install
>>> from comuniopy import Comunio
>>> test = Comunio(USER,PASS,LEAGUE)
>>> test.login()
>>> uid = test.getID()
>>> money = test.getMoney()
>>> teamvalue = test.teamValue()
>>> from comuniopy import Comunio
>>> test = Comunio(USER,PASS,LEAGUE)
>>> test.login()
>>> news = []
>>> news = test.getNews()
This function is included in login()
get the standings of the community and return a list with the elements:
position uid player points teamvalue
get the information of a player and return a list with:
name email community_name points name number_notices list_of_players
return a list with the name of players
position uid player points teamvalue
name,position,team,points,price
return a tuple with the name and a list:
name,[player list]
>>> cid = test.getteamID('Real Madrid')
>>> players = []
>>> club,players = test.getClub(cid)
>>> pid = test.getplayerID('name')
>>> info = []
>>> info = test.getInfo(pid)
return a list with:
name,team,minimum price,market value,points,date,owner,position
return a list with:
name,bidder,team,money,date,datechange,status
return a list with:
name,bidder,team,money,date,datechange,status
Manuel Mancera (sinkmanu@gmail.com/@manukaos)