Comments (5)
Yes, the purpose of the MANIFEST.in file is supposed to include these when installing the package, however it seems like it is not installed locally
from brawlstats.
Workaround: Request the /characters
endpoint to significantly reduce the size of the json file
from brawlstats.
Workaround: Request the
/characters
endpoint to significantly reduce the size of the json file
Why not only call for the JSON data when the BRAWLERS
attribute is required just to speed it up. No need to call when initialising the client.
For the official API, I think its required only in the client.get_rankings()
function. So for someone only tracking an individual's progress, it is not needed? Or I may have missed some important dependency of it.
from brawlstats.
Wow, this is an old issue. A problem that occured is that since this wrapper uses 1 client for both async and sync usage, we can't run the coroutine _aget_model
inside of the sync function get_rankings
. Any attempts for loop.run_until_complete
do not work since the event loop is already running. See the development branch for the current implementation (fetched when client is initialized). Regular user usage works, you can test it on examples/async.py
and it will work, but it fails in tox tests and will say that the event loop is already running,
from brawlstats.
Fixed in v4.0.4
from brawlstats.
Related Issues (20)
- Errors occur when upgrading from version 4.0.0 to 4.0.1 HOT 5
- Asyncio Lock is not awaited HOT 2
- Problem with installation HOT 15
- I have an issue with the client = brawlstats.Client(token='example_my_token') code HOT 5
- no access to general brawler information HOT 3
- can't get Chinese server data HOT 2
- Surge is invalid brawler HOT 2
- unnecessary print of brawlers HOT 1
- Every brawler in the rankings is now invalid HOT 4
- power play HOT 2
- AttributeError: __enter__ HOT 3
- x3vs3_victories vs team_victories HOT 3
- Remove generator of ips HOT 1
- Brawler Gadgets HOT 1
- How to know Highest Solo Power League or smth like that?
- [Suggestion] Pin requirement versions (specifically python-box)
- How to check is correct brawle profile teg or not? HOT 2
- Invalid authorization: API key does not allow access from IP HOT 1
- not available in brawl stats HOT 1
- trying to get the player icon url HOT 1
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 brawlstats.