added Python 2.x support
removed duplicate keyword argument as it is already supplied in the response