egirault / googleplay-api

Google Play Unofficial Python API - This project was a PoC and is not maintained anymore. Please feel free to fork it and improve it in any way.
879 stars 373 forks source link

Fix for list() method when run with integer inputs #28

Open michaelxor opened 10 years ago

michaelxor commented 10 years ago

I've changed the sanitization method for the nb_results and offset parameters of the GooglePlayAPI.list() method from requests.utils.quote() to int(). The quote function causes issues with integer inputs - doesn't look like it was an issue when running via command line, but shows up if you call the function manually with integer inputs.