Even with f=json I still get this:
{"token":"MYemaA7SAJJKcBjIeiGvyyvzoOlp06Q.","expires":1541711897609,"ssl":true
I'm using this response outside of python, so I don't have that option. I just want to only grab only the token without the quotes. Maybe regex or google sheets? Other ideas?
But if the string length doesn't change for the token, then I can use a substring method that is hardcoded with static start and end parameters