An application programming interface (API) is a set of functions, procedures or classes that an operating system, library or service provides to support requests made by computer programs.[1]
Language-dependent APIs are available only in a particular programming language. They utilize the syntax and elements of the programming language to make the API convenient to use in this particular context.
Language-independent APIs are written in a way that means they can be called from several programming languages. This is a desired feature for a service-style API which is not bound to a particular process or system and is available as a remote procedure call.
API เป็นกลุ่มของฟังชั่น ขั้นตอน หรือคลาส ที่ระบบปฏิบัติการ หรือผู้ให้บริการ สร้างขึ้นมา เพื่อรองรับการเรียกขอข้อมูล จากโปรแกรมอื่น ๆ
API สามารถใช้งานได้กับภาษาในการเขียนโปรแกรมที่รองรับเท่านั้น ซึ่งมันจะถูกจัดทำให้อยู่ในรูปแบบ syntax หรือ element ที่สามารถนำไปใช้ได้อย่างสะดวกสบาย
... ขี้เกียจแปลตามนั้นแระ เข้าใจความหมายแต่แปลเป็นไทยไม่ถูก
เอาเป็นว่า
มันเป็นระบบที่ถูกสร้างขึ้นมา เพื่อรองรับการขอข้อมูลจาก เว็บหรือ application อื่น ๆ
เช่น api ของ youtube สมัยที่ยังไม่มีการใช้ api ทาง youtube จะถูกโขมยข้อมูลโดยการ ดูดหน้าเว็บ ไปตัดต่อ เพื่อให้ได้ข้อมูลที่ต้องการ ทำให้ youtube จัดทำ api ขึ้นมา เพื่อให้ developer สามารถ เรียกขอข้อมูลผ่าน api ได้
ซึ่งส่วนมาก api มักจะถูกจัดทำให้เป็น xml format ซึ่งถือเป็นมาตรฐานเลยก็ได้(มั้ง)