Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/wangle201210/githubapi

githubapi with go
https://github.com/wangle201210/githubapi

github-api githubapi go

Last synced: 22 days ago
JSON representation

githubapi with go

Awesome Lists containing this project

README

        

# GitHubAPI

[GitHub API v3](http://developer.github.com/v3/)

```
import "github.com/wangle201210/githubapi/repos"
...
var pkg = repos.Pkg{"beego", "bee"}

// 获取仓库信息
re, err := pkg.GetRepos()

// 获取tags
list, err := pkg.GetTagsList()

// 获取最新tag
tag, err := pkg.LastTag()

// 获取pull
list, err := pkg.GetPullsList()

// 获取comment
comment, err := repos.GetCommentsList()

// 获取全部issues
issues, err := repos.GetIssuesList()

...
```