Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Cyprus's postal address finder
Ruby
tree: 272840388c

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
data
lib
spec
.gitignore
.travis.yml
Gemfile
Gemfile.lock
MIT-LICENSE.txt
README.md
Rakefile
cyprus-street-names.gemspec

README.md

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"

Search στα Ελληνικά

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

Something went wrong with that request. Please try again.