Skip to content

A tool to copy and store eircode information, without the eircode website

Notifications You must be signed in to change notification settings

VoyTechnology/eirclode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Eirclode

A online version of the Eircode finder. Because for some reason the Irish government cannot afford a public API.

All of the data in this repository is available on finder.eircode.ie, and is public because this is just postcodes.


Querying

Other than the data present in the data/eircodes.cvs, you can use the webserver to query the Eircodes.

Request

GET /{eircode}
Content-Type: application/json

Response

Status 200

{
    "eircode": "{eircode}"
    "lattitude": 53.34022,
    "longitide": -6.25492,
    "address": "National Museum of Ireland, Kildare Street, Dublin 2"
}

Running Locally

You can run your own instance of the service.

go run ./cmd/eirclode

This will expose the server on default port 8080, configurable using the PORT env var.

About

A tool to copy and store eircode information, without the eircode website

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages