Any good tutorials on how to use the API?

Any good tutorials on how to use the API?

in API Development

Posted by: Dra Keln.2015

Dra Keln.2015

Hi I would love to learn how to write my own simple apps for the API, I have some experience with Java and am currently learning Python and Javascript, if anyone could point me towards a good tutorial for one of those that would be great

80 ele
Yaks Bend

Any good tutorials on how to use the API?

in API Development

Posted by: Sariel V.7024

Sariel V.7024

I did most of my poking about with Java. Currently there seems to be a problem with the API’s certificate not being recognized, or some such that I can’t resolve.

In order to interface with the API, you’ll need to look into opening HTTP connections and download a library for managing JSON objects.

You can look at the wiki entry for API to get an idea of the data and link formats you’ll be dealing with. You should use a non-IE browser for this. Chrome and Firefox handle it fine in-browser.

(edited by Sariel V.7024)

Any good tutorials on how to use the API?

in API Development

Posted by: Dra Keln.2015

Dra Keln.2015

Alright yeah I poked around a bit and got the same certification error in Java. Glad to know it wasn’t just me messing up haha.

80 ele
Yaks Bend

Any good tutorials on how to use the API?

in API Development

Posted by: PBag.7450

PBag.7450

https://www.codecademy.com/en/courses/python-intermediate-en-6zbLp/0/1?curriculum_id=50ecbb9b71204640240001bf

This might help. Most of the stuff I’ve made (ie grab info or check info) are just Python or PHP scripts. Here’s a breakdown of how you could teach yourself to manipulate the data in some interesting way. Once you are able to do this, you should be set.

Build a function that grabs the achievement array from one of the categories in the achievement/categories endpoint.

Build a function that takes an array of achievement ids and saves them into a txt file in the form ID => NameOfAchievement.

Should be all downhill once you can do that in Python in a way where all you have to do is click run and it will create a file with achievements listed like that.

Hope that helps. If you want help (try google first), message me and I’ll see what I can do.

Any good tutorials on how to use the API?

in API Development

Posted by: RobbyT.1925

RobbyT.1925

I have a question maybe someone can answer. If I wanted to create a website, say for a guild. Does the API interface with Javascript? I know the API is service based, so I honestly don’t see this being a problem.

Any good tutorials on how to use the API?

in API Development

Posted by: Sariel V.7024

Sariel V.7024

The API is essentially text data you access with a web connection, so Javascript should be fine.