Skip to content

Retrieve information for a UK postcode from postcodes.io, written in Java

Notifications You must be signed in to change notification settings

jmdwrntn/postcode-lookup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Postcode Lookup

Description

A small Java program that retrieves details for a given UK postcode from postcodes.io. The postcode is passed as an argument to main(), which firstly validates the postcode, after which the details of the postcode are printed to the console, along with a list of the nearest postcodes and their respective details.

I utilised https://www.jsonschema2pojo.org/ to create POJO classes for Gson to map the API JSON to.

About

Retrieve information for a UK postcode from postcodes.io, written in Java

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages