好词典

api

UK //ˌeɪ.piːˈaɪ//US //ˌeɪ.piːˈaɪ//

词源

缩写自Application Programming Interface(应用程序编程接口),1990年代随互联网发展普及。

noun

❶ 应用程序编程接口,是软件系统之间相互通信的桥梁,允许开发者无需了解内部实现就能调用功能。

“Twitter provides an API for developers to access its data.”

(推特为开发者提供了访问其数据的API。)

“The weather app uses an API to fetch real-time forecasts.”

(天气应用通过API获取实时天气预报。)

同义词:interface, web service, endpoint

常见短语

API call — 指通过API向服务器发送请求并获取响应的过程,常用于开发中获取或提交数据。

“The app makes an API call to load the latest news.”

(该应用通过API调用加载最新新闻。)

API documentation — 描述API功能、参数和使用方法的官方指南,帮助开发者正确集成API。

“Always check the API documentation before implementation.”

(在实现前务必查阅API文档。)