Emersont1 / itchio

https://pypi.org/project/itchiodl/
MIT License
105 stars 17 forks source link

Use the `json()` method of the `requests` library instead of `json.loads()` #85

Closed triple-j closed 1 year ago

triple-j commented 1 year ago

I'm a stickler for consistency and I noticed that sometimes we are using r.json() and other times json.loads() . Since requests already supports JSON, I don't think it is necessary to import json as well. This PR makes the change to use the json() method of the requests library instead of json.loads().