You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be quite helpful to many people to make use of a public REST API for Ziglist, so that people can make their own applications that make use of the knowledge available. For example, someone's package manager CLI could make use of the directory, or someone could make a CLI for Ziglist, or a discord bot, etc.
Here's some example endpoints I had in mind:
# get basic statistics about the repository, i.e. package counts
GET /
# get front-page packages
GET /packages?sort=active
GET /packages?sort=new
GET /packages?sort=top
# get package dependencies
GET /deps
# search packages
GET /packages?q=http
GET /packages?q=websocket
# get a specific package by its 'name' on ziglist
GET /packages/karlseguin/http.zig
The text was updated successfully, but these errors were encountered:
It would be quite helpful to many people to make use of a public REST API for Ziglist, so that people can make their own applications that make use of the knowledge available. For example, someone's package manager CLI could make use of the directory, or someone could make a CLI for Ziglist, or a discord bot, etc.
Here's some example endpoints I had in mind:
The text was updated successfully, but these errors were encountered: