0

API crash course.

I have an interview for an internship with The Home Depot on the 13th of October ill be working with pseudo code in a group setting which I feel I will do pretty well. I have some experience with coding in Python, HTML, CSS, and JavaScript. What I do not have experience in is API which in the interview they want me to work on an coding an API for one hour. What would be the best way to learn how to do this in the short time I have before the second interview.

7th Oct 2022, 3:41 AM
Joshua
Joshua - avatar
6 Answers
+ 2
"flat" is not a type of API. API (application programming interface) could mean any number of different technologies, which lets external parties or other programs connect to a software system. Even the standard features and built-in objects, functions of a programming language, can be referred to, as the API of that language. In terms of web, the 3 main and widely used technologies are SOAP - is very old and using always XML format as the carrier of data REST - more modern and it can use different type of data formats, but JSON is very typical RPC - tends to use a unique data serialisation format, check "protocol buffer" https://www.techtarget.com/searchapparchitecture/tip/What-are-the-types-of-APIs-and-their-differences https://grpc.io/docs/what-is-grpc/introduction/ other distinction might include if the API is synchronous or asynchronous. you might want to lookup also "websocket" to learn about APIs that can provide an interactive continuous flow of information over an open "channel".
7th Oct 2022, 4:09 PM
Tibor Santa
Tibor Santa - avatar
+ 1
Tibor Santa okay thanks for clarifying that for me.
8th Oct 2022, 1:51 PM
Joshua
Joshua - avatar
0
I would: Read up about API here. https://aws.amazon.com/what-is/api/ And then Find a Youtube video about how to create API's
7th Oct 2022, 3:55 AM
Chris Coder
Chris Coder - avatar
0
Ive done a bit of web searching on the topic. Seems there are 3 types flat restful and soap. Thats about as far as i have gotten. Since hd is mostly a web based company im hoping it will be restful
7th Oct 2022, 4:16 AM
Joshua
Joshua - avatar
8th Oct 2022, 4:50 AM
Joshua
Joshua - avatar
0
Joshua yes, it IS an API of a specific IT system, I am not familiar with flat.io but based on their website, it is an online collaboration platform for music composers. This is not a *TYPE* of API.
8th Oct 2022, 6:20 AM
Tibor Santa
Tibor Santa - avatar