skytracker.utils.conversions.country_name_to_country_code#
- skytracker.utils.conversions.country_name_to_country_code(country_name: str) str#
Get the ISO 3166-1 A-2 country code from a country name
- Parameters:
country_name (str) – country name (i.e. “France”, “Germany”, etc.)
- Returns:
corresponding ISO 3166-1 A-2 country code (i.e. “FR”, “DE”)
- Return type:
str