GithubAPI
GithubAPI copied to clipboard
Swift implementation of Github REST API v3
```swift let authentication = AccessTokenAuthentication(access_token: GITHUB_TOKEN) RepositoriesAPI(authentication: authentication).repositories(user: "skywinder", type: .all) { (response, error) in if response != nil { print(response!) } else { print(error ?? "empty response") } sema.signal()...
``` let authentication = AccessTokenAuthentication(access_token: GITHUB_TOKEN) let ghapi = RepositoriesAPI(authentication: authentication) ghapi.get(owner: owner, repo: name, completion: { (response, error) in if response != nil { print(response!) } else { print(error...