Using nexa-sdk with docker.com

Kotlin integration

Install
# Maven: see https://github.com/NexaAI/nexa-sdk
Get namespaces and repos
curl \
  -H "Authorization: Bearer $API_KEY" \
  https://hub.docker.com/api/publisher/analytics/v1/
Get namespace
curl \
  -H "Authorization: Bearer $API_KEY" \
  https://hub.docker.com/api/publisher/analytics/v1/namespaces/{namespace}
Get years with data
curl \
  -H "Authorization: Bearer $API_KEY" \
  https://hub.docker.com/api/publisher/analytics/v1/namespaces/{namespace}/pulls/exports/years
SDK on GitHub 📄 API Docs
SDK
nexa-sdk
Kotlin
API
docker.com
docker.com:dvp
At a glance
Language Kotlin
Endpoints8
Base URLhttps://hub.docker.com/api/publisher/analytics/v1