https://github.com/baopham/gotime
Get the latest activity and response time of a repo
https://github.com/baopham/gotime
github go golang
Last synced: 2 months ago
JSON representation
Get the latest activity and response time of a repo
- Host: GitHub
- URL: https://github.com/baopham/gotime
- Owner: baopham
- Created: 2017-06-01T08:22:51.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-28T14:15:55.000Z (almost 9 years ago)
- Last Synced: 2025-10-26T10:17:55.012Z (8 months ago)
- Topics: github, go, golang
- Language: Go
- Homepage:
- Size: 19.5 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gotime
### Requirements
* Go
### Usage
> If you have a Github token, provide it using query parameter `?token=` .
* `go run main.go`
* Get the latest activity in a Github repo:
```
curl -X GET \
'http://localhost:3000/latest-activity/github/baopham/gotime' \
-H 'content-type: application/json'
```
* Get the average response time for a Github repo:
```
curl -X GET \
'http://localhost:3000/response-time/github/baopham/gotime' \
-H 'content-type: application/json'
```