theodi / uk-postcodes

MIT License
41 stars 17 forks source link

Uk-postcodes api #24

Closed ghe0106 closed 10 years ago

ghe0106 commented 10 years ago

Hey there - am new to this and trying to debug and IOS app that tries to access this - the reulst from the api call seem to be a bit inconsistent ... calling the api with calls like - this: http://uk-postcodes.com/postcode/nearest?lat=53.50241869404616&lng=-1.1499240398406&miles=5&format=csv

there seems to be some issue around the long and lat sizes / accuracy etc which I'm not sure about - sometimes works, sometimes doesn't

eg this works

http://uk-postcodes.com/postcode/nearest?lat=53.50241869404616&lng=--1.14992403984060&miles=5&format=csv

even though it has a double negative in front of the long (found by mistake) doesn't work with a single negative --- whats the deal with this call ? do the parameters have to be of a consistent size?

pezholio commented 10 years ago

We had some problems with the cache getting filled up. I've rectified this now. Can you retry? Seems OK from this end.