- Removed username, password no longer needed when using API key
- Replaced json.loads by json.load for string reading ( correct one)
- removed unnecessary code 
- Fixed the indexes for return values
- Added a todo comment for tagging