Create FUNDING.yml
This is a client for the GitHub GraphQL API V4.
Note: This client is in very early stages and currently has extremely limited functionality:
Initialize a client passing in a valid GitHub access token:
let token = "your_token" let github = GitHub(token: token)
Retrieve latest release version of a given project:
let version = try github.latestRelease(owner: "eneko", project: "SourceDocs") print(version) // 0.5.0
Retrieve list of open pull requests on a given project:
let pullRequests = try github.openPullRequests(owner: "eneko", project: "SourceDocs") print(pullRequests.count) // 0
©Copyright 2023 CCF 开源发展委员会 Powered by Trustie& IntelliDE 京ICP备13000930号
GitHub GraphQL API V4 client
This is a client for the GitHub GraphQL API V4.
Note: This client is in very early stages and currently has extremely limited functionality:
Usage
Initialize a client passing in a valid GitHub access token:
Retrieve latest release version of a given project:
Retrieve list of open pull requests on a given project: