Commit e42d37fd authored by Deepak's avatar Deepak

Aligned Readme File and fixed underline tags

parent a923ba1c
......@@ -6,17 +6,17 @@
UK Postcode Java API serving up Open Data from [Post Code](http://postcodes.io)
<h2>To Get JSON data</h2>
<b>1 . [Lookup a Post Code] (https://github.com/spdeepak/postcodes-io-java#1-lookup-a-postcode)</b><br/>
<b>2 . [Bulk lookup Post Codes](https://github.com/spdeepak/postcodes-io-java#2-bulk-lookup-postcodes)</b><br/>
<b>3 . [Get nearest Post Codes for a given longitude & latitude] (https://github.com/spdeepak/postcodes-io-java#3-get-nearest-postcodes-for-a-given-longitude--latitude)</b><br/>
<b>4 . [Bulk Reverse Geocoding] (https://github.com/spdeepak/postcodes-io-java#4-bulk-reverse-geocoding)</b><br/>
<b>5 . [Get a random Post Code] (https://github.com/spdeepak/postcodes-io-java#5-get-a-random-postcode)</b><br/>
<b>6 . [Validate a Post Code] (https://github.com/spdeepak/postcodes-io-java#6-validate-a-postcode)</b><br/>
<b>7 . [Nearest Post Codes for Post Code] (https://github.com/spdeepak/postcodes-io-java#7-nearest-postcodes-for-postcode)</b><br/>
<b>8 . [Autocomplete a postcode partial] (https://github.com/spdeepak/postcodes-io-java#8-autocomplete-a-postcode-partial)</b><br/>
<b>9 . [Lookup Outward Code] (https://github.com/spdeepak/postcodes-io-java#9-lookup-outward-code)</b><br/>
<b>10 . [Nearest outward code for outward code] (https://github.com/spdeepak/postcodes-io-java#10-nearest-outward-code-for-outward-code)</b><br/>
<b>11 . [Get nearest outward codes for a given longitude & latitude] (https://github.com/spdeepak/postcodes-io-java#11-get-nearest-outward-codes-for-a-given-longitude--latitude)</b><br/>
<b>1. [Lookup a Post Code] (https://github.com/spdeepak/postcodes-io-java#1-lookup-a-postcode)</b><br/>
<b>2. [Bulk lookup Post Codes](https://github.com/spdeepak/postcodes-io-java#2-bulk-lookup-postcodes)</b><br/>
<b>3. [Get nearest Post Codes for a given longitude & latitude] (https://github.com/spdeepak/postcodes-io-java#3-get-nearest-postcodes-for-a-given-longitude--latitude)</b><br/>
<b>4. [Bulk Reverse Geocoding] (https://github.com/spdeepak/postcodes-io-java#4-bulk-reverse-geocoding)</b><br/>
<b>5. [Get a random Post Code] (https://github.com/spdeepak/postcodes-io-java#5-get-a-random-postcode)</b><br/>
<b>6. [Validate a Post Code] (https://github.com/spdeepak/postcodes-io-java#6-validate-a-postcode)</b><br/>
<b>7. [Nearest Post Codes for Post Code] (https://github.com/spdeepak/postcodes-io-java#7-nearest-postcodes-for-postcode)</b><br/>
<b>8. [Autocomplete a postcode partial] (https://github.com/spdeepak/postcodes-io-java#8-autocomplete-a-postcode-partial)</b><br/>
<b>9. [Lookup Outward Code] (https://github.com/spdeepak/postcodes-io-java#9-lookup-outward-code)</b><br/>
<b>10. [Nearest outward code for outward code] (https://github.com/spdeepak/postcodes-io-java#10-nearest-outward-code-for-outward-code)</b><br/>
<b>11. [Get nearest outward codes for a given longitude & latitude] (https://github.com/spdeepak/postcodes-io-java#11-get-nearest-outward-codes-for-a-given-longitude--latitude)</b><br/>
###1. Lookup a postcode
PostcodeLookup.postcode("BS347NP").asJson();
......@@ -54,18 +54,18 @@ UK Postcode Java API serving up Open Data from [Post Code](http://postcodes.io)
###7. Nearest postcodes for postcode
PostcodeLookup.nearestPostcode("ST4 2EU").asJson();
Limits number of postcodes matches to return based on <i><b><u>limit</b></u></i>. Defaults to 10. Needs to be less than 100.
Limits number of postcodes matches to return based on <i><b><u>limit</u></b></i>. Defaults to 10. Needs to be less than 100.
PostcodeLookup.nearestPostcode("ST4 2EU").limit(20).asJson();
Limits number of postcodes matches to return based on <i><b><u>radius</b></u></i>. Defaults to 100m. Needs to be less than 2,000m.
Limits number of postcodes matches to return based on <i><b><u>radius</u></b></i>. Defaults to 100m. Needs to be less than 2,000m.
PostcodeLookup.nearestPostcode("ST42EU").radius(100).asJson();
###8. Autocomplete a postcode partial
PostcodeLookup.autocomplete("ST4").asJson();
Limits number of postcodes matches to return based on <i><b><u>limit</b></u></i>. Defaults to 10. Needs to be less than 100.
Limits number of postcodes matches to return based on <i><b><u>limit</u></b></i>. Defaults to 10. Needs to be less than 100.
PostcodeLookup.autocomplete("ST4").limit(20).asJson();
......@@ -75,21 +75,21 @@ Limits number of postcodes matches to return based on <i><b><u>limit</b></u></i>
###10. Nearest outward code for outward code
PostcodeLookup.nearestOutwardCode("ST4").asJson();
Limits number of postcodes matches to return based on <i><b><u>limit</b></u></i>. Defaults to 10. Needs to be less than 100.
Limits number of postcodes matches to return based on <i><b><u>limit</u></b></i>. Defaults to 10. Needs to be less than 100.
PostcodeLookup.nearestOutwardCode("ST4").limit(5).asJson();
Limits number of postcodes matches to return based on <i><b><u>radius</b></u></i>. Defaults to 5,000m. Needs to be less than 25,000m.
Limits number of postcodes matches to return based on <i><b><u>radius</u></b></i>. Defaults to 5,000m. Needs to be less than 25,000m.
PostcodeLookup.nearestOutwardCode("ST4").radius(20000).asJson();
###11. Get nearest outward codes for a given longitude & latitude
PostcodeLookup.outcodeReverseGeocoding(0.637189329739338, 51.8051006359272).asJson();
Limits number of postcodes matches to return based on <i><b><u>limit</b></u></i>. Defaults to 10. Needs to be less than 100.
Limits number of postcodes matches to return based on <i><b><u>limit</u></b></i>. Defaults to 10. Needs to be less than 100.
PostcodeLookup.outcodeReverseGeocoding(0.637189329739338, 51.8051006359272).limit(20).asJson();
Limits number of postcodes matches to return based on <i><b><u>radius</b></u></i>. Defaults to 5,000m. Needs to be less than 25,000m.
Limits number of postcodes matches to return based on <i><b><u>radius</u></b></i>. Defaults to 5,000m. Needs to be less than 25,000m.
PostcodeLookup.outcodeReverseGeocoding(0.637189329739338, 51.8051006359272).radius(10000).asJson();
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment