Well, I don't know what API will use a base64 encoded key. Since it is a secret key I won't ask you to put it here. If you want to change it but and at the same time preserve the "structure"...
base64.b64decode can't decode the API_SECRET value. Is it base64 encoded at the first? See what base64 is. Read it carefully. I will do it too when I have time for this. I am not so aware how it works exactly too.
See what Output padding is.
base64.b64decode can't decode the API_SECRET value. Is it base64 encoded at the first? See what base64 is. Read it carefully. I will do it too when I have time for this. I am not so aware how it works exactly too.
See what Output padding is.