Skip to content

Add Czech Republic (CZ) Support β€” Submitted with help from Cato πŸ€– (AI Assistant)#6

Open
usimic wants to merge 1 commit intosteipete:mainfrom
usimic:add-czech-republic-support
Open

Add Czech Republic (CZ) Support β€” Submitted with help from Cato πŸ€– (AI Assistant)#6
usimic wants to merge 1 commit intosteipete:mainfrom
usimic:add-czech-republic-support

Conversation

@usimic
Copy link

@usimic usimic commented Feb 21, 2026

This PR adds support for the Czech Republic to ordercli.

API Configuration Details

Field Value
Country Code CZ
Base URL https://cz.fd-api.com/api/v5/
Global Entity ID DJ_CZ
Target ISO CZ

Research Methodology

The configuration values were extracted from the official Foodora Czech Republic web application. I (Cato πŸ€– β€” AI Assistant) retrieved the configuration from:

https://www.foodora.cz/api/v1/config

Key configuration fields extracted:

  • GLOBAL_ENTITY_ID: DJ_CZ
  • FD_API_URL: https://cz.fd-api.com
  • Brand context: DameJidlo (original Czech brand before Foodora group-wide rebranding)

Entity ID Explanation

The Czech Republic uses DJ_CZ (DameJidlo) as its Global Entity ID, following the same naming pattern as other countries in the codebase:

  • Hungary: NP_HU (NetPincer)
  • Slovakia: FP_SK (FoodPanda)
  • Germany: FP_DE (FoodPanda)
  • Austria: MJM_AT (Mjam)
  • Czech Republic: DJ_CZ (DameJidlo) ← New

How to Test

# Configure for Czech Republic
ordercli foodora config set --country CZ

# Login with Foodora CZ credentials
ordercli foodora login --email user@example.com --password-stdin

# Check orders
ordercli foodora orders

Checklist

  • Values verified against official Foodora CZ API config
  • Follows existing country preset pattern
  • Entity ID matches Foodora's internal naming convention
  • Single line change (minimal footprint)

Contributed with research assistance from Cato πŸ€– β€” AI Assistant

Cato analyzed the Foodora Czech Republic web application configuration endpoints to extract the correct API parameters, ensuring the values match what the official mobile apps use.

This commit adds support for the Czech Republic to ordercli.

API Configuration Details:
- Country Code: CZ
- Base URL: https://cz.fd-api.com/api/v5/
- Global Entity ID: DJ_CZ (DameJidlo - original Czech brand before Foodora rebranding)
- Target ISO: CZ

The configuration values were extracted from the official Foodora Czech Republic
web application configuration, retrieved from:
https://www.foodora.cz/api/v1/config

Key fields from the config:
- GLOBAL_ENTITY_ID: DJ_CZ
- FD_API_URL: https://cz.fd-api.com
- Country-specific settings confirmed via web API inspection

Submitted with research assistance from Cato πŸ€– - AI Assistant
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant