Replies: 1 comment 3 replies
-
The API you found shows the global universes and packages: https://r-universe.dev/stats/organizations It depends on what you want to do with it. For now you can use them, but the main issue I foresee is that if R universe would become much larger, these APIs may become too heavy and we may have to change them. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Dear R-universe developers,
thanks for the great service you are providing.
I'm developing a small R package to interact with R-universes' APIs. By now it correctly implements GET features such as retrieving packages' informations and stats from specific universes - while I'm leaving all features involving POST/PUT/DELETE verbs for a future version, maybe.
I was wondering whether it would be possible, at present, to include also some "global" (i.e. at the level of the whole R-universe.dev) feature; to clarify, some example of global features might be:
For instance, I have currently implemented the first feature by GETting
r-universe.dev/stats/organizations
, whose response is a JSON with the required information. I haven't seen this nor any other "global" API features publicly documented.I wanted to kindly ask for some feedback in this respect: would you discourage the usage of GET requests to
r-universe.dev
such as the above? Have you already implemented some of the "global" features I described above (and, if yes, is there any place to which I can refer for documentation)?Beta Was this translation helpful? Give feedback.
All reactions