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

Fernando Martinez
Fernando Martinez
152 Points

API Guidance

Hi to all,

This is my first day and first post here at treehouse. I need some guidance on to what framework/Languange/Path to learn for a specific project I'm working on.

About the project I currently have en Magento ecommerce. I need to feed my site with products, categories and pricing data that an Associations is providing me through SmartLink, which is a REST Api. (I have al the API documentation).

I understand what API is but never done something like this before. What framework should I use? What language should I focus on?

Can anyone give me some guidance? Thank you!!!!

1 Answer

Rune Andreas Nielsen
Rune Andreas Nielsen
5,354 Points

Hi Fernando,

There are many ways that you can solve your problem since almost every language support calling REST APIs with HTTP.

Since you're working with Magento (not that I've much experience with it) IK now that it is written in PHP, so a suggestion could be to try the PHP path out. That way you might also be able to extend and modify your Magento site using PHP in the future. PHP can help you solve the issue you're having right now with inserting product data using a REST API.

Best regards, Rune.