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

APIs

(JUST CURIOSITY) Is there any such thing as a "Treehouse API"?

I mean there are APIs of websites like Facebook, Twitter, and others. But is there a teamtreehouse API??? I know this sounds dumb, but.... if there had been one then what could it possibly do?

5 Answers

Thank you... I suspected as much...

Thank you, Steven Parker... That's awesome. Now I'm thinking of something else. Can't we just automate the process? I've gone through the whole discussion that Dale Severude, pointed to. And I've been seeing a lot of things like how much we need to think of changes and updating things....

Steven Parker
Steven Parker
231,275 Points

Do you mean automate the topic/color array? You could, but it means at least one more data fetch and this API is a bit slow as it is.

I see... Thanx again Steven Parker.

Steven Parker
Steven Parker
231,275 Points

:mailbox_with_mail: Hi, I got your request. But it looks like Dale beat me to it!

But you may want the colors for the 9 topic areas that have been added since Ethan posted his widget on Codepen:

  colors['C#'] = '#9e4d83'; // added here down 17.09.22.sp
  colors['Databases'] = '#eb7728';
  colors['Game Development'] = '#20898c';
  colors['Data Analysis'] = '#645a7e';
  colors['Security'] = '#C66C5D';
  colors['Go'] = '#375eab';
  colors['APIs'] = '#993c50';
  colors['Virtual Reality'] = '#95D26C';
  colors['Quality Assurance'] = '#80438E';