wp-api-python
wp-api-python copied to clipboard
json.load no longer accepts an 'encoding'
Loading of credentials no longer works due to this line:
creds = json.load(creds_store_file, encoding='utf-8')
Because json.load does not accept an "encoding" parameter anymore, just assuming it'll be utf encoded.
Hello, I needed for a project so I fixed and create a fork if you need it: https://github.com/Synoptik-Labs/wp-api-python. I may fix some others issues too.
Thanks @tete2soja , Ive linked to your repo in the readme.