Closed Lexorily closed 1 year ago
Yes bot is currently broken due to lolchess updating their site so it's unable to pull comps at the moment. I'll try and fix this as soon as I can but have no eta
Adding help wanted tag incase someone wants to fix it before I do
Comps should be fixed now. Let me know if you are still having problems :)
Hi, no comps are showing or loaded.
Okay guess it loves breaking after I fix. I'll look into it. I'm getting the same thing
Hi @Sizzzles i think we should use their API. i found an API here to get the comps : https://tft.dakgg.io/api/v1/team-builders/xxx. With xxx is deck Id
Do they have documentation for api? since I need more than just the team builder to make it work
No they not public their API, I just try to get from inspect . I read the code, you need to get the comps name too right ? I think when we first loading the https://lolchess.gg/meta we will also saving the comps name and their ids, then we will using this API to get the champ and items
By the way, i found another one. I think we could use this https://tft.dakgg.io/api/v1/meta-decks?hl=en
Yeah didn't think it was public but thank you so much I've been looking for their API but failed to find it. Honestly if you find anymore that may be useful please let me know
Yeah, it bad to use load their web and parsing, API is better ^^
Little update. I currently have it working with the team builders API you linked. Haven't had a chance to test it completely but comps are loading just need to run through a tft to make sure it all works correctly since I changed a bit and new requirements are needed but that will all be included when I push the changes
Cool ^^.
anything news ?
Still testing. It works but had an issues with where it was placing units which I'm testing now. If it works I'll push it all before I sleep
Pushed update. If you run into any problems let me know You will need to run pip install -r requirements.txt in Command Prompt again since there are new requirements If you run into trouble follow install instructions from https://github.com/jfd02/TFT-OCR-BOT
Marking as resolved. But will keep open for a few days in case issues arise