online-bridge-hackathon / DDS

An api that returns DDS results for a given deal or partial deal
https://bit.ly/bridge-hackathon
Apache License 2.0
4 stars 6 forks source link

Verify/clean inputs. #7

Open danbraunai opened 4 years ago

danbraunai commented 4 years ago

Need to verify that the input JSON is the right format, and return a message to the user if not.

danbraunai commented 4 years ago

May be able to make use of flask's arg parsing. Looks kinda neat. https://flask-restful.readthedocs.io/en/latest/quickstart.html#argument-parsing