...
Available API : https://developer.github.com/v3/issues/
Alternative API : https://developer.github.com/v4/
API Explorer : https://developer.github.com/v4/explorer/
Sample code to get first 100 issues and first 100 comments of
those issues
Example query to get first 100 issue and their first 100 comments.
Code Block |
---|
query first100Issues {
repository(owner: "cinvento", name: "codingground") {
issues(first:100) {
edges {
node {
title
url
body
assignees(first:1) {
edges {
node {
id
}
}
}
comments(first: 100) {
edges {
node {
body
}
}
}
labels(first:100) {
edges {
node {
name
}
}
}
}
}
}
}
} |
Option available to export all the data in github including issues and attachments
https://github.blog/2018-12-19-download-your-data/