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

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

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'
```