Simplify API by making base_url class variable
Flake8ify