經過 GitHub 的 API 獲取代碼

GitHub 的 API 功能很強大,也很規範。基本都是以 GET 方式從 https://api.github.com/ 取得。 假如要得到代碼庫裏的 readme,使用使用 GET /repos/:owner/:repo/readme 好比 Typecho 的肥皂庫 https://api.github.com/repos/typecho-fans/plugins/readme 經過瀏覽器輸入
相關文章
相關標籤/搜索