Changelogs » Codingame

PyUp Safety actively tracks 281,612 Python packages for vulnerabilities and notifies you when to upgrade.

Codingame

0.3.5

Changelog
  - Add support for ids in  `Client.get_codingamer`.
  py
  import codingame
  client = codingame.Client()
  codingamer = client.get_codingamer(3877165)
  print(codingamer.pseudo)
  
  
  - Add `CodinGamer.followers_ids` and `CodinGamer.following_ids` to get information without logging in.
  py
  import codingame
  client = codingame.Client()
  codingamer = client.get_codingamer(3877165)
  print(codingamer.followers_ids)
  print(codingamer.following_ids)
  
  
  - Add `CodinGamer.clash_of_code_rank` to get the CodinGamer’s ranking in Clash of Codes.
  py
  import codingame
  client = codingame.Client()
  codingamer = client.get_codingamer(3877165)
  print(codingamer.clash_of_code_rank)
  
  
  - Bug fixes
  Update
  Update the module by doing `pip install codingame --upgrade`
  Links
  PyPi: https://pypi.org/project/codingame
  Docs: https://codingame.readthedocs.io/en/latest/index.html
  
  v.0.3.4
  Add support for python 3.9

0.3.3

Changelog
  Add support for usernames in  `Client.get_codingamer`.
  py
  import codingame
  client = codingame.Client()
  codingamer= client.get_codingamer("takos")
  print(codingamer.pseudo)
  
  Bug fixes
  Update
  Update the module by doing `pip install codingame --upgrade`
  Links
  PyPi: https://pypi.org/project/codingame
  Docs: https://codingame.readthedocs.io/en/latest/index.html

0.3.2

Changelog
  Add `Client.get_pending_clash_of_code` that returns a pending public Clash of Code.
  py
  import codingame
  client = codingame.Client()
  clash_of_code = client.get_pending_clash_of_code()
  print(clash_of_code.join_url)
  
  Bug fixes
  Update
  Update the module by doing `pip install codingame --upgrade`
  Links
  PyPi: https://pypi.org/project/codingame
  Docs: https://codingame.readthedocs.io/en/latest/index.html

0.3.1

Changelog
  Add `Client.notifications` that returns a generator of all the notifications.
  Note: you need to login for the notifications.
  py
  import codingame
  client = codingame.Client("email", "password")
  notifications = [n for n in client.notifications]
  
  Bug fixes
  Update
  Update the module by doing `pip install codingame --upgrade`
  Links
  PyPi: https://pypi.org/project/codingame
  Docs: https://codingame.readthedocs.io/en/latest/index.html

0.3.0

Changelog
  Add login with Client:
  py
  import codingame
  like this
  client = codingame.Client()
  client.login("email", "password")
  or like this
  client = codingame.Client("email", "password")
  then you can get the loged in user with like this
  if client.logged_in:
  user = client.codingamer
  
  Add list of language ids accessible with `Client().language_ids`
  Add `CodinGamer.followers` and `CodinGamer.following` for the currently logged in CodinGamer
  Bug fixes
  Update
  Update the module by doing `pip install codingame --upgrade`
  Links
  PyPi: https://pypi.org/project/codingame
  Docs: https://codingame.readthedocs.io/en/latest/index.html

0.2.1

Add argument checking in codingame.Client

0.2.0

Changelog
  Add `Client.get_clash_of_code()` and data classes for it (`ClashOfCode` and `Player`)
  Update
  Update the module by doing `pip install codingame --upgrade`

0.1.0

First release
  Base client for the CodinGame API. It can only get a CodinGamer.
  Download
  Download the module by doing `pip install codingame`