# Is there API for Clojars?

**URL:** https://clojureverse.org/t/is-there-api-for-clojars/4050
**Category:** Beginners
**Created:** [March 24, 2019, 3:42am UTC](https://clojureverse.org/t/is-there-api-for-clojars/4050 "2019-03-24T03:42:04Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![jiyinyiyong](https://clojureverse.org/user_avatar/clojureverse.org/jiyinyiyong/32/85_2.png) [@jiyinyiyong](https://clojureverse.org/u/jiyinyiyong)
#### Post date: [March 24, 2019, 3:42am UTC](https://clojureverse.org/t/is-there-api-for-clojars/4050/1 "2019-03-24T03:42:04Z")

</div>

I want to add a script like `yarn outdated`, which is for detecting outdated jars. Any APIs to use?

Will it involve Maven APIs if some jars are hosted on Maven?

---

<div class="post-metadata">

### Author: ![vinurs](https://clojureverse.org/user_avatar/clojureverse.org/vinurs/32/5341_2.png) [@vinurs](https://clojureverse.org/u/vinurs)
#### Post date: [March 24, 2019, 7:47am UTC](https://clojureverse.org/t/is-there-api-for-clojars/4050/2 "2019-03-24T07:47:55Z")

</div>

> [@jiyinyiyong](#):
>
> outdated

[GitHub - xsc/lein-ancient: Check your Projects for outdated Dependencies](https://github.com/xsc/lein-ancient) 这个嚒？

---

<div class="post-metadata">

### Author: ![jiyinyiyong](https://clojureverse.org/user_avatar/clojureverse.org/jiyinyiyong/32/85_2.png) [@jiyinyiyong](https://clojureverse.org/u/jiyinyiyong)
#### Post date: [March 25, 2019, 2:46am UTC](https://clojureverse.org/t/is-there-api-for-clojars/4050/3 "2019-03-25T02:46:47Z")

</div>

Cool but I’m not using Lein. My dependencies are specified in `shadow-cljs.edn`.

---

<div class="post-metadata">

### Author: ![mjmeintjes](https://clojureverse.org/user_avatar/clojureverse.org/mjmeintjes/32/860_2.png) [@mjmeintjes](https://clojureverse.org/u/mjmeintjes)
#### Post date: [March 25, 2019, 3:43am UTC](https://clojureverse.org/t/is-there-api-for-clojars/4050/4 "2019-03-25T03:43:53Z")

</div>

You can also check:

- [https://github.com/Olical/depot](https://github.com/Olical/depot)
- [https://github.com/slipset/deps-ancient/](https://github.com/slipset/deps-ancient/)

What I do is manage my dependencies using deps.edn, and then just reference the deps file from shadow-cljs.edn.

---

<div class="post-metadata">

### Author: ![jiyinyiyong](https://clojureverse.org/user_avatar/clojureverse.org/jiyinyiyong/32/85_2.png) [@jiyinyiyong](https://clojureverse.org/u/jiyinyiyong)
#### Post date: [March 25, 2019, 6:19am UTC](https://clojureverse.org/t/is-there-api-for-clojars/4050/5 "2019-03-25T06:19:44Z")

</div>

How do you reference the deps BTW?

---

<div class="post-metadata">

### Author: ![mjmeintjes](https://clojureverse.org/user_avatar/clojureverse.org/mjmeintjes/32/860_2.png) [@mjmeintjes](https://clojureverse.org/u/mjmeintjes)
#### Post date: [March 25, 2019, 6:34am UTC](https://clojureverse.org/t/is-there-api-for-clojars/4050/6 "2019-03-25T06:34:28Z")

</div>

Here is the section in the shadow-cljs manual:  
[https://shadow-cljs.github.io/docs/UsersGuide.html#deps-edn](https://shadow-cljs.github.io/docs/UsersGuide.html#deps-edn)

---

<div class="post-metadata">

### Author: ![joshuamiller](https://clojureverse.org/user_avatar/clojureverse.org/joshuamiller/32/1934_2.png) [@joshuamiller](https://clojureverse.org/u/joshuamiller)
#### Post date: [March 26, 2019, 4:16am UTC](https://clojureverse.org/t/is-there-api-for-clojars/4050/7 "2019-03-26T04:16:08Z")

</div>

The Clojars API is documented here: [https://github.com/clojars/clojars-web/wiki/Data](https://github.com/clojars/clojars-web/wiki/Data)

---

<div class="post-metadata">

### Author: ![jiyinyiyong](https://clojureverse.org/user_avatar/clojureverse.org/jiyinyiyong/32/85_2.png) [@jiyinyiyong](https://clojureverse.org/u/jiyinyiyong)
#### Post date: [April 6, 2019, 7:38am UTC](https://clojureverse.org/t/is-there-api-for-clojars/4050/8 "2019-04-06T07:38:28Z")

</div>

Cheers~

> <https://twitter.com/jiyinyiyong/status/1114431787512418304>

---

<div class="post-metadata">

### Author: ![jiyinyiyong](https://clojureverse.org/user_avatar/clojureverse.org/jiyinyiyong/32/85_2.png) [@jiyinyiyong](https://clojureverse.org/u/jiyinyiyong)
#### Post date: [May 13, 2019, 3:13am UTC](https://clojureverse.org/t/is-there-api-for-clojars/4050/9 "2019-05-13T03:13:45Z")

</div>

Got another question, some of the packages are deployed on maven. How can I check them, and how do I tell where the package is served?

---

<div class="post-metadata">

### Author: ![jiyinyiyong](https://clojureverse.org/user_avatar/clojureverse.org/jiyinyiyong/32/85_2.png) [@jiyinyiyong](https://clojureverse.org/u/jiyinyiyong)
#### Post date: [July 20, 2019, 11:41am UTC](https://clojureverse.org/t/is-there-api-for-clojars/4050/10 "2019-07-20T11:41:45Z")

</div>

Turned out API is not available for mirrors. Mirrors only got files cached [https://mirrors.ustc.edu.cn/clojars/](https://mirrors.ustc.edu.cn/clojars/) .

---

<div class="post-metadata">

### Author: ![jiyinyiyong](https://clojureverse.org/user_avatar/clojureverse.org/jiyinyiyong/32/85_2.png) [@jiyinyiyong](https://clojureverse.org/u/jiyinyiyong)
#### Post date: [January 18, 2020, 11:41pm UTC](https://clojureverse.org/t/is-there-api-for-clojars/4050/11 "2020-01-18T23:41:49Z")

</div>

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.
