Login
Login
Bases: LoginModel
class to log in via the ClashOfClans login API
to execute the login use Login(...).login()
or await Login(...).login()
depending on the context
Source code in pyclasher/utils/login.py
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 |
|
login()
method to execute the login process
This method can be called in an asynchronous context using
the await
keyword in an asynchronous definition or used
as a traditional method without awaiting it.
:return: the login :rtype: Login | Coroutine[Any, Any, Login]
Source code in pyclasher/utils/login.py
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 |
|