Liking cljdoc? Tell your friends :D

github-search

A small library for searching Github. Initially just provides methods for searching an organisation for repositories tagged with particular topics.

Usage

(def result (get-repos (System/getenv "GITHUB_ACCESS_TOKEN") "my-org" ["topic1" "topic2"]))
(spit "repos.end" result)

The EDN returned will contain basic information about the repos found. For example:

[{:name "project1",
  :description
  "A description",
  :url "https://github.com/my-org/project1",
  :sshUrl "git@github.com:my-org/project1.git",
  :updatedAt "2020-04-09T11:01:55Z",
  :languages ["Javascript" "Python" "HTML"]}
 {:name "project2",
  :description "A description for project2",
  :url "https://github.com/my-org/project2",
  :sshUrl "git@github.com:my-org/project2.git",
  :updatedAt "2020-04-09T11:02:28Z",
  :languages ["Clojure" "ClojureScript"]}
]

Development

To build a deployable jar of this library:

$ clojure -A:jar

To run tests:

$ clj -A:test:runner

License

Copyright © 2020 Eamonn

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.

Can you improve this documentation?Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close