Help with accessing API Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
Gosugeen1

Help with accessing API

22 Nov 2017, 19:02

First time working with APIs and I have no idea what I'm doing. What I| want is an answer to

Code: Select all

api.champion.gg/v2/champions/1?elo=PLATINUM,DIAMOND,MASTER,CHALLENGER&limit=200&runes&api_key=<2d0014fe4d81181b7c4844d54acb7558
I think that sentence is everything I need to get the answer I need, but I don't know how to make it work.
User avatar
TheDewd
Posts: 1510
Joined: 19 Dec 2013, 11:16
Location: USA

Re: Help with accessing API  Topic is solved

28 Nov 2017, 16:47

According to the API documentation, PLATINUM,DIAMOND,MASTER,CHALLENGER are default values for the elo parameter, and therefore not required.

You didn't add runes to a valid parameter. In this example, it should be assigned to the parameter champData.

Also, you included the invalid character < preceding your API Key.

Try this:
http://api.champion.gg/v2/champions/1?c ... d54acb7558

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Anput, Stpham and 120 guests