RandomAPI / Randomuser.me-old-source

[Deprecated] PHP source for Random User Generator - Please take a look at the new Node version
https://randomuser.me
137 stars 48 forks source link

Irish (IE) version of data does not include a City in location #33

Closed coolgarriv closed 9 years ago

coolgarriv commented 9 years ago

The Irish data generated does not include a City. Also It includes a State and a Zip. See http://api.randomuser.me/?nat=ie for an example.

The correct format for Irish addresses is as follows: [Firstname] [Lastname] [Street Address] [City name] Co. [Countyname]

State is not required, but postcodes are being introduced in Summer 2015.

keitharm commented 9 years ago

State will be removed in the next update. Could you please provide the format of the postcodes and also a city list?

Thanks

coolgarriv commented 9 years ago

Format for postcode hasn't been officially released yet, but according to https://www.eircode.ie/what-is-eircode it is 1 letter followed by 2 numbers, followed by a space followed 4 letters and/or numbers.

I will update when the formatting has been officially released and I will create a list of cities.

keitharm commented 9 years ago

Ok sounds good! I've merged your list of cities and I guess for now we can use the postcode format you found.

If it changes, we can always update the IE API.

The changes will be in the next API update.