Giter Club home page Giter Club logo

pubgdiscobot's Introduction


Нейромаркет - Глубокий Анализ товаров на Wildberries.

🪓 Вскрываю незадокументированное Клиентское API Wildberries wb-private-api

pubgdiscobot's People

Contributors

glmn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

pubgdiscobot's Issues

Duplicate message

If author have atleast two tracked player, who played together in same roster, then PDB will send two equal statistic images

Background difference

There is almost no difference between background. Need to change gradient opacity or come up with something new.

Redesign request

So annoying to see this wiggly columns of data.
Need to come up with new table structure
PUBGDiscoBot

Hardcoded channel id

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)

Extra unnecessary PUBG API requests

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.

Make unit tests

Never did it before with Python. So it will be a challange for me.

Something wrong with logs encoding

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 ---

Wrong sorting

Messias: i would find it better if the table were not sorted by accuracy but by damage. then kills -> assists / knocks
image

No decimal places for 0 value

Messias: Inconsistency: decimal places are displayed as soon as accuracy has a value. even if it is still at zero. see also my last picture

image

RateLimit exception

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.