jp-postalcode-address
Japanese postal code convert to address powerd by GoogleMapsAPI
Last updated 2 years ago by kazu-con .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install jp-postalcode-address 
SYNC missed versions from official npm registry.

Japanese Postalcode convert address

install

npm i --save jp-postalcode-address

usage

var JpPostalcode = require('jp-postalcode-address');

JpPostalCode('182-0033', 
  function (successJson) { }, 
  function (error) { });

// or

JpPostalCode('1820033', 
  function (successJson) { }, 
  function (error) { });

response

using geoapi.heartrails

http://geoapi.heartrails.com/api.html#postal

{
	response: {
		location: [ 
			{
				city: '調布市',
				city_kana: 'ちょうふし',
				town: '富士見町一丁目',
				town_kana: 'ふじみちょう',
				x: '139.535803',
				y: '35.66014',
				prefecture: '東京都',
				postal: '1820033'
			},
			{ 
				city: '調布市',
				city_kana: 'ちょうふし',
				town: '富士見町二丁目',
				town_kana: 'ふじみちょう',
				x: '139.540821',
				y: '35.658786',
				prefecture: '東京都',
				postal: '1820033' 
			},
			{ 
				city: '調布市',
				city_kana: 'ちょうふし',
				town: '富士見町三丁目',
				town_kana: 'ふじみちょう',
				x: '139.540118',
				y: '35.663991',
				prefecture: '東京都',
				postal: '1820033' 
			},
			{ 
				city: '調布市',
				city_kana: 'ちょうふし',
				town: '富士見町四丁目',
				town_kana: 'ふじみちょう',
				x: '139.535702',
				y: '35.666325',
				prefecture: '東京都',
				postal: '1820033' 
				}
			]
	},
}

license

MIT

Current Tags

  • 2.0.3                                ...           latest (2 years ago)

17 Versions

  • 2.0.3                                ...           2 years ago
  • 2.0.2                                ...           2 years ago
  • 2.0.1                                ...           2 years ago
  • 2.0.0                                ...           2 years ago
  • 1.1.3                                ...           2 years ago
  • 1.1.2                                ...           2 years ago
  • 1.1.1                                ...           2 years ago
  • 1.1.0                                ...           2 years ago
  • 1.0.4                                ...           2 years ago
  • 1.0.3                                ...           2 years ago
  • 1.0.2                                ...           2 years ago
  • 1.0.1                                ...           2 years ago
  • 0.0.4                                ...           2 years ago
  • 0.0.3                                ...           2 years ago
  • 0.0.2                                ...           2 years ago
  • 0.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 0
Dependencies (4)
Dev Dependencies (1)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |