-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed some names and started on implementing the issue API functions.
- Loading branch information
Showing
2 changed files
with
17 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
(ns #^{:doc "Implements the API functions described here: http://develop.github.com/p/issues.html | ||
In any function that takes a 'state' argument, state is either \"open\" or \"closed\""} | ||
clj-github.issues | ||
(:use [clj-github.core])) | ||
|
||
(defn search-issues | ||
"Search through a project's issues." | ||
[user repo state term] | ||
(handle (make-request (str "/issues/search/" (slash-join user repo state term))) :issues)) | ||
|
||
(defn list-issues | ||
"List of issues a project has." | ||
[user repo state] | ||
(handle (make-request (str "/issues/list/" (slash-join user repo state))) :issues)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters