在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:watzon/github-api-nim开源软件地址:https://github.com/watzon/github-api-nim开源编程语言:Nim 100.0%开源软件介绍:Nim GitHub API WrapperThis is a wrapper for the GitHub API written in Nim. To get started add this to your requires "github_api >= 0.1.0" The import it into your project and create an instance of the import github_api
var client = newGithubApiClient()
# Or, with a auth token
var client = newGithubApiClient("b24123832b745c3fe5e4e6606het7co73e31f21") UsageAfter importing import json, streams
import github_api
var client = newGithubApiClient("b24123832b745c3fe5e4e6606het7co73e31f21")
var res = client.listUserRepos("watzon")
if res.status.startsWith("200"):
var repos = parseJson(res.bodyStream.readAll())
echo(repos.pretty()) RoadmapI have gotten a lot done on this in a very short period of time, but there is still a lot left to do. Here are the planned features:
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论