Sep-01-2017, 10:06 PM
(This post was last modified: Sep-01-2017, 10:44 PM by Only_On_Tuesdays.)
Well, here's my code, I just get an:
I just figured out it wasn't the code that wasn't working, it was a typo in the way the API processes requests. Well, step one down. Many more to go. Sorry about the flacid question guys.
Error:{'error': 'not found'}
as a reponse.import urllib.parse import requests main_api = 'https://api.guildwars2.com/v2/achievements' address = 'achievements' url = main_api + urllib.parse.urlencode({'address': address}) json_data = requests.get(url).json() print(json_data)
I just figured out it wasn't the code that wasn't working, it was a typo in the way the API processes requests. Well, step one down. Many more to go. Sorry about the flacid question guys.