{"id":114,"date":"2016-06-17T10:30:41","date_gmt":"2016-06-17T08:30:41","guid":{"rendered":"http:\/\/en.nisi.ro\/blog\/?p=114"},"modified":"2016-06-17T10:30:41","modified_gmt":"2016-06-17T08:30:41","slug":"do-you-need-a-city-code-for-each-city-in-the-world-search-no-more","status":"publish","type":"post","link":"https:\/\/en.nisi.ro\/blog\/stuff\/resources-stuff\/do-you-need-a-city-code-for-each-city-in-the-world-search-no-more\/","title":{"rendered":"Do you need a city code for each city in the world? Search no more &#8230;"},"content":{"rendered":"<p>I did used a lot the country code the 2 or 3 letters version in the apps and websites I had worked, and did not care about city codes until now.<\/p>\n<p>After a short research I did found that you can have a similar list of city codes (not the phone prefix) for cities. There is IATA airport\/city codes however this have unique codes for each cities that have a airport. <em>(not completed). The list can be <a href=\"http:\/\/www.iata.org\/publications\/Pages\/ccd.aspx\" target=\"_blank\">downloaded<\/a> from official IATA page (not free)<\/em><\/p>\n<p>And there is a UN-LOCODE named United Nations Code for Trade and Transport Locations maintained by the UN. This is a complete list of code for each cities available as a <strong>free<\/strong> download in CSV form from <a href=\"https:\/\/github.com\/datasets\/un-locode\">Github and Open Data<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I did used a lot the country code the 2 or 3 letters version in the apps and websites I had worked, and did not care about city codes until now. After a short research I did found that you can have a similar list of city codes (not the phone prefix) for cities. There [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[47],"tags":[130,131,127,129,128],"class_list":["post-114","post","type-post","status-publish","format-standard","hentry","category-resources-stuff","tag-city-codes","tag-country-codes","tag-iata-codes","tag-un","tag-un-locode"],"_links":{"self":[{"href":"https:\/\/en.nisi.ro\/blog\/wp-json\/wp\/v2\/posts\/114","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/en.nisi.ro\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/en.nisi.ro\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/en.nisi.ro\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/en.nisi.ro\/blog\/wp-json\/wp\/v2\/comments?post=114"}],"version-history":[{"count":1,"href":"https:\/\/en.nisi.ro\/blog\/wp-json\/wp\/v2\/posts\/114\/revisions"}],"predecessor-version":[{"id":115,"href":"https:\/\/en.nisi.ro\/blog\/wp-json\/wp\/v2\/posts\/114\/revisions\/115"}],"wp:attachment":[{"href":"https:\/\/en.nisi.ro\/blog\/wp-json\/wp\/v2\/media?parent=114"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/en.nisi.ro\/blog\/wp-json\/wp\/v2\/categories?post=114"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/en.nisi.ro\/blog\/wp-json\/wp\/v2\/tags?post=114"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}