Cyprus Street Finder

Build Status Code Climate

Data from Cyprus Postal Services

Usage

Finding streets

require 'street_names'

street_finder = StreetNames::Finder.new

street_finder.find_by_postcode 8020
street_finder.find_by_name "Demosthenous Georgiou"
street_finder.find_by_area "Pafos"
street_finder = StreetNames::Finder.new "gr" # load greek datastore

street_finder.find_by_postcode 8020
street_finder.find_by_name "Δημοσθένους Γεωργίου"
street_finder.find_by_area "Πάφος"

Note: you may need to add #encoding: utf-8 to the top of your file when searching using Greek characters

 License

Licensed under the MIT Licence