Nookipedia / nookipedia-api

Nookipedia's custom API for querying data from the Animal Crossing video game series.
https://api.nookipedia.com/
MIT License
42 stars 12 forks source link

Split project into separate files #55

Closed makupi closed 3 years ago

makupi commented 3 years ago

Formatted code with black . --line-length 100 Closes #54

KevinPayravi commented 3 years ago

This is good stuff, thank you @makupi!

Something to consider: while we only cover New Horizons right now, we'll eventually have endpoints for other games. As-is we could add endpoints for the other games to the existing files (furniture.py, fish.py, etc.). Other options might be to create separate directories for each game (for now, an ACNH folder, and in the future ACNL, etc.), or just name the files with a game prefix (e.g. nh_furniture.py, nh_fish.py, etc.).

The other thought I have is moving the static directory back to the root, since it's its own thing separate from the Python app.

makupi commented 3 years ago

@KevinPayravi I can move the existing endpoints to a separate ACNH folder, probably easier to do right now than later and I can try to move the static back but flask was being somewhat weird about that 😅