Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Konrad Pilch
2,435 PointsPulling data from this website about the..
HI,
I need to pull of this graph and whatever is related.
Do i need to register and then i can pull it ?
1 Answer
Kevin Korte
28,149 PointsDo they have an API? I didn't see anywhere that they did.
Konrad Pilch
2,435 PointsKonrad Pilch
2,435 PointsI have no idea what is even API or JSON , i mean its black magic for me, form what somebody told me : p Do you know how could i check it? I basically need to take the summary table .
Kevin Korte
28,149 PointsKevin Korte
28,149 PointsAn API stands for Application Program Interface. It's a way for developers to get and send requests to the application.
You might contact them and ask if they have an API, although usually if they do they have an API link in the footer somewhere. Sometimes it's called "developers".
Many times, you make an API call to get information, their server returns JSON data you can use. Almost all social media sites have an API. Treehouse has one if you didn't know.
Check it here: http://teamtreehouse.com/konradpilch.json
There is all of your treehouse stats via a JSON response. You could use this info on your own blog for instance, to keep an up to date showcase of your work here.
Ideally, you would make a similiar request to their site, they give you json back, and you display it. Without that, I'm not sure there is much you can do, unless you find another site that has this info and an API, or use an iframe which I hate.
Konrad Pilch
2,435 PointsKonrad Pilch
2,435 PointsAh right, never heared about that.
What i found out is this site here and this site right here that has the data : p
And oh well, it tells all the data about me in a code form from what ii managed to read.
AJAX courses here at treehouse would explain it? even tho i dont know JS ;d the black magic is to strong for me i believe xd