Please follow http://docs.python-requests.org/en/latest/user/quickstart/#passing-parameters-in-urls in how to pass-in parameters