GitHubSearchAPI 0.0.2

GitHubSearchAPI 0.0.2

Sudha Chandran BC 维护。



  • 作者
  • Chandran, Sudha

GithubSearchAPI

GitHub 仓库搜索 API 的 Swift 实现。

安装

GithubSearchAPI 通过 CocoaPods 提供。要安装,只需在 Podfile 中添加以下行

pod 'GithubSearchAPI'

GithubSearch API

搜索符合条件的所有仓库并按组织过滤

GithubSearchAPI().search(matching: "android", filterBy: "rakutentech") { (result) in
    switch result {
        case .success(let repositories):
            print(repositories)
            //Handle Success
        case .failure( _):
            //Handle Failure
            break
    }
}

要求

  • Xcode 10 或更高版本
  • iOS 9.0 或更高版本
  • macOS 10.13.6 或更高版本
  • Swift 5

作者

Chandran Sudha,[email protected]

许可证

GithubSearch API 在 MIT 许可证下可用。有关更多信息,请参阅 LICENSE 文件。