Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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,342 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.