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

General Discussion

jamesjones21
jamesjones21
9,260 Points

Embedding your treehouse profile into a web page?

Hi,

Can we embed our profile an achievements into a website? I'm thinking an <iframe> would be useful here, but would like to hear other suggestions / ideas.

thanks

James

:)

2 Answers

Hi! You can use the API to get your badges, then you can easily process them.

https://teamtreehouse.com/calinbogdan6.json would be mine, since my ID is calinbogdan6. Just go to your profile page and add .json at the end of the URL. Voila!

Hope it helped!

Hey James

Calin is right. You can check out the Node basics course on how to do this. Really fun course to do, especially the extra credit.

Happy coding

Paul

jamesjones21
jamesjones21
9,260 Points

Thanks both, I am to learn node.js in the coming weeks, so this will be something I’ll refer to when I’m redesigning my personal website.

Hoping to get this started soon :)

Cheers,

James