Here is the documentation:
returns the last version of an artifact, as a single string. to be used in CI/CD pipline, with shell substitution, to get the last version of a dependency. usage: # Maven curl "https://api.monperrus.com/last-version?type=maven&groupId=fr.inria.gforge.spoon.labs&artifactId=gumtree-spoon-ast-diff" # npm curl "https://api.monperrus.com/last-version?type=npm&packageName=lodash" # PyPI curl "https://api.monperrus.com/last-version?type=pypi&packageName=requests" # NuGet curl "https://api.monperrus.com/last-version?type=nuget&packageName=Newtonsoft.Json" # Cargo curl "https://api.monperrus.com/last-version?type=cargo&packageName=serde" # Go curl "https://api.monperrus.com/last-version?type=go&packageName=github.com/gin-gonic/gin"
dockerhub-rss: Docker Hub packages as RSS
Returns an RSS feed with new releases of any public Docker Hub repository. Pluggable into a standard RSS reader.
Usage (HTTP/CGI):
GET https://api.monperrus.com/dockerhub-rss?<repository>
<repository> is passed as the raw QUERY_STRING, e.g.:
https://api.monperrus.com/dockerhub-rss?bitnami/wordpress
returns the last version of a GitHub repository. There are two strategies: - tags (default): we look at the tags of the repository, and we return the last one. - releases (&type=release): we look at the releases of the repository, and we return the last one. usage: # based on tags curl "https://api.monperrus.com/last-version-github?slug=monperrus/crawler-user-agents" # based on releases curl "https://api.monperrus.com/last-version-github?slug=INRIA/spoon&type=release"
Store an agent trajectory (JSON payload) sent via HTTP POST.
The stored data includes the original payload plus metadata:
- timestamp (ISO 8601 UTC)
- remote_addr: direct client IP (REMOTE_ADDR)
- x_forwarded_for: X-Forwarded-For header value
- user_agent: User-Agent header
- content_type: Content-Type of the request
Example usage:
curl -X POST -H "Content-Type: application/json" -d '{"steps": [{"action": "click", "x": 100, "y": 200}]}' https://api.monperrus.com/trajectories
# With a cryptographic signature of the payload (RFC 9421 Signature header):
curl -X POST -H "Content-Type: application/json" -H "Signature: sig1=:$(echo -n '{"steps":[]}' | openssl dgst -sha256 -hmac 'secret' -binary | base64):" -d '{"steps": []}' https://api.monperrus.com/trajectories