aboutsummaryrefslogtreecommitdiff
path: root/files/zh-tw/glossary/api/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-tw/glossary/api/index.html')
-rw-r--r--files/zh-tw/glossary/api/index.html34
1 files changed, 34 insertions, 0 deletions
diff --git a/files/zh-tw/glossary/api/index.html b/files/zh-tw/glossary/api/index.html
new file mode 100644
index 0000000000..ee9802015a
--- /dev/null
+++ b/files/zh-tw/glossary/api/index.html
@@ -0,0 +1,34 @@
+---
+title: API
+slug: Glossary/API
+tags:
+ - API
+ - 術語表
+translation_of: Glossary/API
+---
+<p>一個API (Application Programming Interface)是指存在于軟體程式中為軟體與其他項目,如其他軟體或硬體,實現互動的一系列功能和規則。</p>
+
+<p>在網頁開發,一個 API 通常指的是一系列的代碼功能(如: {{glossary("method","methods")}}, {{Glossary("property","properties")}}, events, and {{Glossary("URL","URLs")}})爲了方便程式開發者使用他們的 apps 通過用戶的網頁瀏覽器組件,或與用戶計算機上的其他軟體或硬件, 或與第三方網站和服務實現互動。</p>
+
+<p>例如:</p>
+
+<ul>
+ <li><a href="https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia">getUserMedia</a> API 可用於從用戶的攝像頭抓取音頻和視頻,甚至給提供開發者其他的用途,如:錄製視頻和音頻,與其他用戶一起開視訊會議,或是從視頻中捕捉靜態圖像。</li>
+ <li><a href="/en-US/docs/Web/API/Geolocation">Geolocation API</a> 可從用戶的設備中通過任意服務獲取定位信息 (如: GPS), 然後可以使用 <a href="https://developers.google.com/maps/">Google Maps APIs</a> 關連。如:在用戶地圖上繪製用戶的定位並向他們展示附近的旅游景點。</li>
+ <li><a href="https://dev.twitter.com/overview/api">Twitter APIs</a> 可從用戶的賬戶上拿取數據,如:在網頁上展示他們最新的 tweets。</li>
+ <li><a href="/en-US/docs/Web/API/Web_Animations_API">Web Animations API</a> 可用於製作網頁的動畫部分,如:讓圖片動起來或旋轉。</li>
+</ul>
+
+<h2 id="了解更多">了解更多</h2>
+
+<h3 id="基本知識">基本知識</h3>
+
+<ul>
+ <li>維基百科上的 {{Interwiki("wikipedia", "Application_programming_interface", "API")}} </li>
+</ul>
+
+<h3 id="技術參考">技術參考</h3>
+
+<ul>
+ <li><a href="https://developer.mozilla.org/en-US/docs/Web/API">Web API reference</a></li>
+</ul>