This guide provides comprehensive examples for using the Brew Competition CLI tool across all supported platforms.
brewcompetition medals https://example-bcoem.com/competition/resultsbrewcompetition medals https://reggiebeer.com/ReggieWeb.php?Web=1000882brewcompetition medals https://beerawardsplatform.com/2025-ash-copper-state-cup/resultsThe platform is automatically detected based on the URL hostname - no need to specify which platform you're using.
brewcompetition medals <url> --brewers "John Doe,Jane Smith"brewcompetition medals <url> --club "My Homebrew Club"brewcompetition medals <url> --brewers "John Doe" --club "My Homebrew Club"All parsers include a dedicated Entry Count column that shows the total number of entries in each category. This helps you understand how competitive each category was:
- A category with 50 entries is highly competitive
- A category with 5 entries is less competitive
- Empty entry counts mean the platform didn't provide this information
The entry count is the same for all winners in a category (since it's the total for that category), making it easy to filter or sort by competitiveness when analyzing results.
brewcompetition medals <url> --output jsonExample output:
{
"01: Light Lager": [
{
"Place": "1st",
"Entry Count": 12,
"Brewer": "John Doe",
"Entry Name": "Crisp Lager",
"Style": "1A American Light Lager",
"Club": "Homebrew Club"
}
],
"21: IPA": [
{
"Place": "2nd",
"Entry Count": 45,
"Brewer": "Jane Smith",
"Entry Name": "Hoppy IPA",
"Style": "21A American IPA",
"Club": "Homebrew Club"
}
]
}brewcompetition medals <url> --output csvExample output:
Table / Category|Place|Entry Count|Brewer|Entry Name|Style|Club
01: Light Lager|1st|12|John Doe|Crisp Lager|1A American Light Lager|Homebrew Club
21: IPA|2nd|45|Jane Smith|Hoppy IPA|21A American IPA|Homebrew Club
Create my-competitions.json:
{
"brewers": ["John Doe", "Jane Smith"],
"club": "My Homebrew Club",
"competitions": [
"https://example-bcoem.com/competition1/results",
"https://reggiebeer.com/ReggieWeb.php?Web=1000882",
"https://beerawardsplatform.com/2025-ash-copper-state-cup/results"
]
}brewcompetition medals --file my-competitions.json --output jsonThis will fetch results from all three competitions and apply the same filters to each.
brewcompetition competitions <bcoem-url>Example output:
{
"data": {
"entrant_registration": "Registration opens Monday, March 1, 2025...",
"entrant_registration_start_date": "2025-03-01T00:00:00.000Z",
"entrant_registration_end_date": "2025-03-15T23:59:59.000Z",
"entry_registration": "Entry registration opens...",
"awards_ceremony": "Awards ceremony on Saturday, April 15, 2025..."
}
}brewcompetition medals <url> --output json | jq '.[] | .[] | select(.Place == "1st")'brewcompetition medals <url> --output csv > results.csv# Create a script to fetch from multiple sources
for url in \
"https://reggiebeer.com/ReggieWeb.php?Web=1000882" \
"https://beerawardsplatform.com/2025-ash-copper-state-cup/results"
do
echo "Fetching from $url"
brewcompetition medals "$url" --brewers "Your Name" --output json
doneThe tool automatically detects the platform based on the URL hostname:
reggiebeer.com→ Reggie parserbeerawardsplatform.com→ BAP parser- Everything else → BCOEM parser (default)
- Create
club-config.json:
{
"club": "My Homebrew Club",
"competitions": [
"https://competition1.com/results",
"https://reggiebeer.com/ReggieWeb.php?Web=123456",
"https://beerawardsplatform.com/competition/results"
]
}- Fetch all results:
brewcompetition medals --file club-config.json --output json > club-results.json- Analyze results:
# Count total medals
cat club-results.json | jq '[.[] | .[]] | length'
# List all gold medals
cat club-results.json | jq '.[] | .[] | select(.Place | contains("1st") or contains("Gold"))'
# Find most competitive categories
cat club-results.json | jq '.[] | .[] | select(.["Entry Count"] > 30)'# Create a personal config
cat > my-results.json << EOF
{
"brewers": ["Your Name"],
"competitions": [
"https://competition1.com/results",
"https://competition2.com/results"
]
}
EOF
# Fetch and save results
brewcompetition medals --file my-results.json --output csv > my-medals.csv
# Import into spreadsheet for analysis# Get competition metadata (BCOEM only)
brewcompetition competitions https://example-bcoem.com/competition
# Output includes registration dates, entry deadlines, and awards ceremony info- Verify the URL is correct and accessible
- Try without filters first:
brewcompetition medals <url> - Check if the competition has published results
- Verify the URL hostname
- BCOEM is the default for unknown hostnames
- Check
PLATFORM_SUPPORT.mdfor hostname patterns
- The HTML structure might differ from expected
- See
TESTING_GUIDE.mdfor debugging steps - Consider opening an issue with the URL for investigation