• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

nixeagle/cl-github: Common lisp interface to the github API.

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

nixeagle/cl-github

开源软件地址:

https://github.com/nixeagle/cl-github

开源编程语言:

Common Lisp 100.0%

开源软件介绍:

cl-github

Important! This library is not API stable! In general functions and objects exported from package.lisp will not have their interfaces changed without a major version increment. Anything else is subject to my whim and fancy. Of course the idea is all functions end up exported ;).

As of this writing [2010-02-01 Mon], all current v2 github APIs are implemented if not release ready or vetted for an interface I’m comfortable with maintaining.

Dependencies

  • CL-JSON - Translate github’s api messages to CLOS or simple lists.
  • DRAKMA - HTTP support to talk to github.
  • Iterate - A better loop.

Some thanks

This is not a direct dependency, however I made use of some encoding functions in hunchentoot and its only right that I mention Dr. Edmund Weitz’s work which I selected 3 functions from and placed in url-utils.lisp along with his copyright statement and release under a BSD like license.

Overview

The whole public api can be used as of this release, however not all of the function names or return results are finalized. Please see package.lisp for functions that are currently exported and won’t change in terms of input or output without a depreciation cycle.

The major principle we follow is functions either return a single object or they return a list of objects. In some extremely simple cases, we return lists of strings or lists of other non CLOS objects.

Quick start

Set the default login info in the repl. Doing this means you won’t have to pass a token and login to each function call.

(setq cl-github:*default-login* "name" 
      cl-github:*default-token* "apikey")

Then try a simple call like:

(cl-github:show-followers "your login")

See the documentation strings for information on all of the functions.

Testing

This is known to work on sbcl 1.0.34, however this library is not using any sbcl specific features. Anything that can run drakma, cl-json, and iterate ought to run this library without any issues.

Bugs

Please report all bugs to github’s tracker, found at http://github.com/nixeagle/cl-github/issues.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap