cfpb / grasshopper-parser

Address Parsing REST API
Creative Commons Zero v1.0 Universal
8 stars 8 forks source link

Refactor to Flask-RESTful #9

Closed hkeeler closed 8 years ago

hkeeler commented 9 years ago

Flask-RESTful offers some nice features specific to REST APIs. I especially like how they handle request parsing, which provides a standardized validation framework, deals with GET params and json attributes in a singular way. This could be very handy if we do want to keep both the GET and POST variations on the address parser.

hkeeler commented 8 years ago

I took a stab at this a while back, and it honestly wasn't all I was hoping it would be. If I'm remembering correctly, it did provide several conveniences, was a little too opinionated (inflexible) in others. I may check it out again, or one of the alternatives like flask-marshmallow in the future, but for now I'm closing this out.