Нейромаркет - Глубокий Анализ товаров на Wildberries.
🪓 Вскрываю незадокументированное Клиентское API Wildberries wb-private-api
🐔 Show off your PUBG stats after each TOP-3 game. 🤖 Discord Bot.
Нейромаркет - Глубокий Анализ товаров на Wildberries.
🪓 Вскрываю незадокументированное Клиентское API Wildberries wb-private-api
If author have atleast two tracked player, who played together in same roster, then PDB will send two equal statistic images
There is almost no difference between background. Need to change gradient opacity or come up with something new.
When all authors untrack some player, bot still trying to request player's data.
Need to avoid this situation.
title
Hardcoded channel id in main.py bot.get_channel(authors[0]['channelId'])
need to split authors by channel ids then send message to each of them (fixed f76a1e6)
As i noticed, in python more preffered snake_case.
So i decide to refactor all my code.
Really wanted to add those stats in #16 (comment), but I didn't know how to.
Now I know how to calculate these stats with telemetry data.
Gist sketch https://gist.github.com/glmn/a3ac1c3d856752a2efd0163c0e3bc730
A lot of unnecessary PUBG API requests due to extra tracked players who must be removed. Should check if player no longer tracked by any authors, then remove player from database.
error in main.py
title
Never did it before with Python. So it will be a challange for me.
2019-09-01 00:37:23.454 | MSG | __main__:on_message:153 - [VÈŃØM||491114283711594506] #general||491114283711594508 @babaimonda
--- Logging error in Loguru Handler #3 ---
Record was: {'elapsed': datetime.timedelta(seconds=47462, microseconds=377604), 'exception': None, 'extra': {}, 'file': 'main.py', 91114283711594508 @babaimondal||617433258526900264 > !pdb-track', 'module': 'main', 'name': '__main__', 'process': '6676', 'thread'nds=10800), 'RTZ 2 (ceia)'))}
Traceback (most recent call last):
File "C:\Python37\lib\site-packages\loguru\_handler.py", line 144, in emit
self._writer(str_record)
File "C:\Python37\lib\site-packages\loguru\_file_sink.py", line 71, in write
self._file.write(message)
File "C:\Python37\lib\encodings\cp1251.py", line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode characters in position 24-26: character maps to <undefined>
--- End of logging error ---
Don't know why but guild.member_count
sometimes raise an error.
Task exception was never retrieved
future: <Task finished coro=<main_loop() done, defined at .\main.py:52> exception=RateLimitError('Too many requests. Limit: 10 Reset: 2019-09-08 00:50:27')>
Traceback (most recent call last):
File ".\main.py", line 72, in main_loop
players_wo_matches = [player for player in players_data
File "C:\Python37\lib\site-packages\pubg_python\decorators.py", line 23, in wrapper
self.fetch()
File "C:\Python37\lib\site-packages\pubg_python\querysets.py", line 45, in fetch
self._data = self.client.request(self.endpoint)
File "C:\Python37\lib\site-packages\pubg_python\clients.py", line 32, in request
raise exception(response_headers=response.headers)
pubg_python.exceptions.RateLimitError: Too many requests. Limit: 10 Reset: 2019-09-08 00:50:27
title
Add new metrics:
- DBNOs as
knocked
- assists as
asst
- longestKill as
lkill
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.