I am starting to familiarize myself with Akamai APIs with these instructions here: https://developer.akamai.com/introduction/
I got the first API call working back home, but somehow I end up with an error here at work. It must be something related to my environment, but I can't figure out, what it is. I use virtual linux (xubuntu 14.10) at both places.
When I run "python diagnostic_tools.py", I get:
"Requesting locations that support the diagnostic-tools API.
Traceback (most recent call last):
File "diagnostic_tools.py", line 95, in <module>
location_result = getResult('/diagnostic-tools/v1/locations')
File "diagnostic_tools.py", line 44, in getResult
endpoint_result = session.get(urljoin(baseurl,path))
File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 467, in get
return self.request('GET', url, **kwargs)
File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 455, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 563, in send
r = dispatch_hook('response', hooks, r, **kwargs)
File "/usr/lib/python2.7/dist-packages/requests/hooks.py", line 41, in dispatch_hook
_hook_data = hook(hook_data, **kwargs)
File "/home/tuukka/.local/lib/python2.7/site-packages/edgegrid_python-1.0.6-py2.7.egg/akamai/edgegrid/edgegrid.py", line 202, in handle_redirect
AttributeError: 'Response' object has no attribute 'is_redirect'"
If someone could give me a nudge to the right direction, I'd appreciate it!