GitHub Popular Searches
Number of APIs: 4
A collection to discover popular repositories on GitHub for a given search query.
Set the following environment variables before you run this collection : - {{searchTerm}} : the query you want to search - {{maxSize}} : maximum number of repositories you want to fetch
It sends the popular repository on Slack channel using webhook.
This collection uses Github API to fetch comments and sends a report to an internal Slack channel using a webhook.
-
npm search GET http://registry.npmjs.com/-/v1/search?text={{searchTerm}}&size={{maxSize}}
-
fetch comments GET https://api.github.com/repos/{{userName}}/{{repoName}}/comments
-
calculate sentiment POST https://apis.paralleldots.com/v3/sentiment?text={{sentimentText}}&api_key={{apiKey}}
-
push to slack POST {{slackWebhookURL}}