drummersbrother / rocket-snake Goto Github PK
View Code? Open in Web Editor NEWA python async API client for the https://rocketleaguestats.com/ api.
License: Apache License 2.0
A python async API client for the https://rocketleaguestats.com/ api.
License: Apache License 2.0
This occurred during initial debugging with the UI, but when dumping out the headers the key for 'Authorisation' is changed to mask the real value, where it should be 'Authorization'. So I get back in my stdout both the values of my api key and also the masking message.
Obviously, the change is trivial. I just wanted the issue to be tracked, but I'll send in a pull request.
Suppose rs is my RankedSeasons object, when I do rs.keys() it replies dict_keys(['5', '4', '2', '3']).
But when, for example, I do rs['2'] it gives me RecursionError, RecursionError: maximum recursion depth exceeded.
Any help would be appreciated.
Received the following error when trying to request a single player's information:
aiohttp.errors.ClientOSError: [Errno 101] Cannot connect to host api.rocketleaguestats.com:443 ssl:True [Can not connect to api.rocketleaguestats.com:443 [Network is unreachable]]
Full traceback:
Traceback (most recent call last):
File "lib/discord/ext/commands/core.py", line 50, in wrapped
ret = yield from coro(*args, **kwargs)
File "/home/ubuntu/Red-DiscordBot/cogs/pickups.py", line 55, in signup
new_player = await self.client.get_player(urlOrName, rs.constants.STEAM)
File "/usr/local/lib/python3.5/dist-packages/rocket_snake/client.py", line 114, in get_player
handle_ratelimiting=self.auto_ratelimit)
File "/usr/local/lib/python3.5/dist-packages/rocket_snake/basic_requests.py", line 152, in decorated_func
timeout_seconds=timeout_seconds)
File "/usr/local/lib/python3.5/dist-packages/rocket_snake/basic_requests.py", line 208, in get_player
**kwargs))[1]
File "/usr/local/lib/python3.5/dist-packages/rocket_snake/basic_requests.py", line 88, in basic_request
async with getattr(session, method)(api_url + endpoint, *args, **kwargs) as response:
File "lib/aiohttp/client.py", line 565, in __aenter__
self._resp = yield from self._coro
File "lib/aiohttp/client.py", line 198, in _request
conn = yield from self._connector.connect(req)
File "lib/aiohttp/connector.py", line 314, in connect
.format(key, exc.strerror)) from exc
Testing issues.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.