Comments (6)
Yes and no.
You have the option to specify the number of used keys, if you initalize the client. key_count
can be up to 10 per email.
What happens under the hood is, that coc.py fetches the keys from developer.clashofclans.com, checks them if they are useable (for the correct ip address) and (re-)creates, if needed, key(s).
So no, you can't login directly with multiple emails for one client. But you can use keys to login if you use login_with_keys()
instead of login()
and pass more than 10 keys. You can either get them manually, or iterate through your emails by create a client, login with an email, get the keys (client.http._keys
), store them, logout and login with the next email... . Afterwards you create your final client with the key list and the login_with_keys()
method.
from coc.py.
Hmm keys you mean authorisation tokens ryt?. But there is no option to specify several ips there
from coc.py.
yes tokens = keys,
why would you need several ips? Your script/bot/application can only have one?
from coc.py.
No heroku.com (an vps provider) changes ip on every restart.
from coc.py.
coc.py will create a new key in that event. It can handle dynamical ip changes for one email account.
from coc.py.
Cool then thanks
from coc.py.
Related Issues (20)
- Incorrect Minimum Level being returned on Siege Machines HOT 2
- Hero pets have undesirable ID values. HOT 1
- LRU is no LRU HOT 1
- Latest releases do not appear in the docs changelog HOT 1
- Things to keep in mind for v3 HOT 4
- code example on readme needs to have `client` changed to `coc_client` HOT 4
- Troops request event HOT 1
- @coc.ClanEvents.member_count() Error
- Hero.required_th_level False Documentation HOT 4
- AttributeError in RaidClan HOT 3
- Super Hog Rider and Apprentice Warden additions HOT 6
- Issue template for adding new troops & super troops
- Typo's in docs
- IndexError HOT 17
- Battle Copter lever is incorrect! HOT 7
- Get clan chat messages HOT 1
- parse_army_link not working due to mismatched IDs HOT 1
- Spirit Fox being triggered as a troop HOT 2
- Missing ID in coc.Spells HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from coc.py.