ErlisonGuaraves/api-feriados ? reverse-engineered prompt

Reverse engineered prompt

Build me a simple Python API that uses the feriados_total.csv file as its data source and returns holiday information in JSON.

I want it to be easy to run from the main script, with clear routes or functions for listing the holidays and looking up a specific holiday when I give a date or some identifying info. Keep the responses clean and consistent, and make sure it handles missing or bad input without crashing.

If there’s any setup or dependency detail needed, include it in the project so I can run it right away. Also, if you need to check current docs for the best way to do this, feel free to look them up online.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab