Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ttu/github-pr-stats

Create user statistics based on their GitHub PR activity
https://github.com/ttu/github-pr-stats

Last synced: 23 days ago
JSON representation

Create user statistics based on their GitHub PR activity

Awesome Lists containing this project

README

        

# GitHub PR Statistics

Create statistics of users pull requests

#### Libraries

* Polly
* FluentScheduler

#### GitHub API

##### Token

Create GitHub Personal Access Token. No scopes are required.

#### Rate limits

GitHub has request rate limits. Server will return `403 Forbidden` when all requests are used. Request has reset time in `X-RateLimit-Reset` header.

##### Endpoints

Pull requests from specific user
```
https://api.github.com/search/issues?q=author%3Attu+type%3Apr
```

Define page
```
https://api.github.com/search/issues?q=author%3Attu+type%3Apr&page=2
```

List users from finland

```
https://api.github.com/search/users?q=location:finland
```

List users with repo count greater than 5
```
https://api.github.com/search/users?q=location:finland+repos:%3E5
```

Repository info
```
https://api.github.com/repos/ttu/dotnet-fake-json-server
```

List repository languages
```
https://api.github.com/repos/ttu/dotnet-fake-json-server/languages
```