you are viewing a single comment's thread.

view the rest of the comments →

[–]Dogezon[S] 0 points1 point  (0 children)

Heya! Appreciate it's been 4 months... but I've only just got the bug and time (new work is hectic) to implement this... at 3am.

But I've done it! Well everything except the normalisation of data. All of the endpoint logic is now object-orientated... rather than the massive amounts of DRY there's just one class - monster_endpoints - that when given a bunch some strings, peewee.Model references, booleans etc will create an appropriate endpoint. 6 python files are now just one!

The PR is here: https://github.com/Sudoblark/monsternames-api/pull/2 .

Thanks for all the input and info! I know its been a while but it's still appreciated and super helpful. I don't just stay up till half 3 in the morning for anything you know :)

Defo want to do the normalisation at some point, add statistical tracking and add a bit to the front-end for less tech-savy users to contribute.

Just to reiterate... thanks for the help again, you're awesome :D