Replies: 2 comments 2 replies
-
Does the prefix.dev GraphQL API suffice? |
Beta Was this translation helpful? Give feedback.
1 reply
-
There is an API, but not sure if it's documented or not. For eg: https://api.anaconda.org/package/conda-forge/numpy |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Does Anaconda or Conda have a REST/JSON API that provides basic information such as the version number of a package, similar to what is available on Anaconda's website? For example, I would like to retrieve the latest version of pandas from https://anaconda.org/conda-forge/pandas. I'm asking because I'm aware that PyPI offers a similar API here: https://warehouse.pypa.io/api-reference/json.html. To achieve the same result, I can use the following code snippet:
My current workaround would involve parsing the HTML returned and using regex to match HTML tags.
Beta Was this translation helpful? Give feedback.
All reactions