How to use the activity function from @octokit/rest
Find comprehensive JavaScript @octokit/rest.activity code examples handpicked from public code repositorys.
30 31 32 33 34 35 36 37 38 39
return 0; } function getOrgPublicActivity(org, per_page = 100) { return new Promise((resolve, reject) => { octokit.activity.getEventsForOrg({org, per_page}) .then(data => { resolve(data.data.map(item => { if(item.payload) { delete item.payload;
2
7
3
@octokit/rest.Octokit is the most popular function in @octokit/rest (61 examples)