r/madeinpython • • May 12 '20

Clash of Clans API framework

I still have a lot to work on, but I made a framework for the Clash of Clans API. I run a discord bot that I also designed for our clan and realized I was doing way too much work keeping up with the mess of code. I made the framework using OOP principles and trying to focus on using clean code (as much as I could lol). Again I still have a lot to work on and it may not be much, but I designed it from scratch and I love it! I would love lots of feedback if possible.

Link to github page for Clash-Frame

22 Upvotes

12 comments sorted by

View all comments

2

u/nandahkrishna May 12 '20

Looks nice for a WIP! You seem to have adhered to PEP8 at first glance, neat code is always a plus :)

2

u/westo48 May 12 '20

Thank you! I tried to make sure that everything was in the class that it should be in, and had a reason to be there. Forced myself to try to make lots of comments lol.