nikoheikkila / pwnedapi

Library for easily interfacing with Have I Been Pwned API v2
https://pypi.org/project/pwnedapi/
MIT License
9 stars 5 forks source link

Add examples for integrating with Python web frameworks #3

Open nikoheikkila opened 6 years ago

nikoheikkila commented 6 years ago

If you have integrated PwnedAPI with eg. Flask, Django, Falcon, or any other cool web framework I'd fancy to see your integration!

Tutorial-level Markdown files (README.md) should be placed in examples directory with relevant code snippets for each framework. Optimal use case would be a sign-up form where the user types their password and has it checked against with PwnedAPI.

Frameworks covered

vixfwis commented 6 years ago

I'd like to do Django integration, somewhere in examples/django with README.md with explanations and Django app folder with working code.

nikoheikkila commented 6 years ago

@vixfwis Sounds good! Try to keep the amount of new files low as in not to include a whole Django installation in that folder but sort of a tutorial for other developers.

nikoheikkila commented 6 years ago

Django example implemented in #6 thanks to @vixfwis.

Hacktoberfest is still rolling so keep them coming!