Convert to use token authentication
Change .json to .json() for compatibility with requests 1.0+