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.

  1. npm search GET http://registry.npmjs.com/-/v1/search?text={{searchTerm}}&size={{maxSize}}

  2. fetch comments GET https://api.github.com/repos/{{userName}}/{{repoName}}/comments

  3. calculate sentiment POST https://apis.paralleldots.com/v3/sentiment?text={{sentimentText}}&api_key={{apiKey}}

  4. push to slack POST {{slackWebhookURL}}