Quickstart
1. Set your API key
Section titled “1. Set your API key”Use an environment variable so the key does not appear in the command itself.
export LEVNO_API_KEY="replace-with-your-key"2. Check authentication
Section titled “2. Check authentication”curl --fail-with-body \ --header "API-KEY: $LEVNO_API_KEY" \ --header "Accept: application/json" \ "https://api.milk.levno.com/api/partner/public/v1/auth/me"3. Read monitored data
Section titled “3. Read monitored data”List the milk farms available to the authenticated partner:
curl --fail-with-body \ --header "API-KEY: $LEVNO_API_KEY" \ --header "Accept: application/json" \ "https://api.milk.levno.com/api/partner/public/v1/milk/farm/list"For parameters and response schemas, see our API references.