PonyHub is a search service for Pony Language libraries and applications.
On the web site it is possible for humans to free-text search projects for words and register new projects.
There is also a programmatic API available for tooling to use the service. The following API endpoints are available;
Since most projects are expected to be on GitHub, github.com is internally shortened to
gh, to shorten identifiers and such. Once GitLab is supported, gl is going to be used
for that. Other abbreviations might surface over time.
-
GET a project with all the data is kept about it on PonyHub. The identifier for the project is passed in the URL as
/p/{host}/{org}/{name}/{version}. If no{version}is given, the default branch will be used as the tag. -
POST a 'locator' and the project will be scanned for information.
x-www-form-urlencodedas content type, andlocator={value}in the body.
- POST to search. Currently only free-text search is available, but more will follow. Pass the search string with a prepended "free:".
Primarily for internal use, and may change drastically without notice.
- GET the recent updates and the stats on what the system is storing.