Use requests, because it makes life easier.
Use registry settings.
Add template and some error handling.