Minor refactor to simplify URL creation. Uses Requests' params functionality