Skip to main content

Documentation Index

Fetch the complete documentation index at: https://api.docs.onlydrams.app/llms.txt

Use this file to discover all available pages before exploring further.

Retrieves statistical information about the contents and composition of an infinity bottle. Authentication
Requires a valid access token.
URL Parameters
id
string
required
The ID of the user who owns the infinity bottle.
bottle_id
string
required
The ID of the infinity bottle to get stats for.
Returns Returns statistical information about the infinity bottle’s contents, including the percentage breakdown of different spirits.
curl -X GET https://api.onlydrams.app/api/v1/users/123/infinity_bottles/456/stats \
     -H "Authorization: Bearer $ACCESS_TOKEN"
{
  "stats": [
    {
      "name": "Bourbon",
      "proof": 91.0,
      "percentage": 75.0
    },
    {
      "name": "Rye",
      "proof": 100.0,
      "percentage": 25.0
    }
  ]
}