UNPKG

countryjs

Version:

A utility library for returning country data, ISO info and states/provinces within them.

101 lines (100 loc) 4.23 kB
{ "name": "Spain", "altSpellings": ["ES", "Kingdom of Spain", "Reino de España"], "area": 505992, "borders": ["AND", "FRA", "GIB", "PRT", "MAR"], "callingCodes": ["34"], "capital": "Madrid", "currencies": ["EUR"], "demonym": "Spanish", "flag": "", "geoJSON": { "type": "FeatureCollection", "features": [{ "type": "Feature", "id": "ESP", "properties": { "name": "Spain" }, "geometry": { "type": "Polygon", "coordinates": [ [ [-9.034818, 41.880571], [-8.984433, 42.592775], [-9.392884, 43.026625], [-7.97819, 43.748338], [-6.754492, 43.567909], [-5.411886, 43.57424], [-4.347843, 43.403449], [-3.517532, 43.455901], [-1.901351, 43.422802], [-1.502771, 43.034014], [0.338047, 42.579546], [0.701591, 42.795734], [1.826793, 42.343385], [2.985999, 42.473015], [3.039484, 41.89212], [2.091842, 41.226089], [0.810525, 41.014732], [0.721331, 40.678318], [0.106692, 40.123934], [-0.278711, 39.309978], [0.111291, 38.738514], [-0.467124, 38.292366], [-0.683389, 37.642354], [-1.438382, 37.443064], [-2.146453, 36.674144], [-3.415781, 36.6589], [-4.368901, 36.677839], [-4.995219, 36.324708], [-5.37716, 35.94685], [-5.866432, 36.029817], [-6.236694, 36.367677], [-6.520191, 36.942913], [-7.453726, 37.097788], [-7.537105, 37.428904], [-7.166508, 37.803894], [-7.029281, 38.075764], [-7.374092, 38.373059], [-7.098037, 39.030073], [-7.498632, 39.629571], [-7.066592, 39.711892], [-7.026413, 40.184524], [-6.86402, 40.330872], [-6.851127, 41.111083], [-6.389088, 41.381815], [-6.668606, 41.883387], [-7.251309, 41.918346], [-7.422513, 41.792075], [-8.013175, 41.790886], [-8.263857, 42.280469], [-8.671946, 42.134689], [-9.034818, 41.880571] ] ] } }] }, "ISO": { "alpha2": "ES", "alpha3": "ESP" }, "languages": ["es"], "latlng": [40, -4], "nativeName": "España", "population": 46507760, "provinces": ["A Coruña", "Álava", "Albacete", "Alicante", "Almería", "Asturias", "Ávila", "Badajoz", "Balearic Islands", "Barcelona", "Biscay", "Burgos", "Cáceres", "Cádiz", "Cantabria", "Castellón", "Ciudad Real", "Córdoba", "Cuenca", "Gipuzkoa", "Girona", "Granada", "Guadalajara", "Huelva", "Huesca", "Jaén", "La Rioja", "Las Palmas", "León", "Lleida", "Lugo", "Madrid", "Málaga", "Murcia", "Navarre", "Ourense", "Palencia", "Pontevedra", "Salamanca", "Santa Cruz de Tenerife", "Segovia", "Seville", "Soria", "Tarragona", "Teruel", "Toledo", " Valencia", "Valladolid", "Zamora", "Zaragoza"], "region": "Europe", "subregion": "Southern Europe", "timezones": ["UTC", "UTC+01:00"], "tld": [".es"], "translations": { "de": "Spanien", "es": "España", "fr": "Espagne", "ja": "スペイン", "it": "Spagna" }, "wiki": "http://en.wikipedia.org/wiki/spratly_islands" }