madefor / postal-code-api Goto Github PK
View Code? Open in Web Editor NEWPostal Code API
License: MIT License
Postal Code API
License: MIT License
参照先ファイルのURLがまた変わったようです。修正をお願いします。
現:http://www.post.japanpost.jp/zipcode/dl/roman/ken_all_rome.zip
正:
https://www.post.japanpost.jp/zipcode/dl/roman/KEN_ALL_ROME.zip
現在、javascriptの住所補完のAPIを使用させていただいているのですが、↓の郵便番号を検索した場合に住所が足りない部分があります。
107-6090
で叩くと
赤坂赤坂アークヒルズ・アーク森ビ
となって返ってきます。
正しくは
赤坂赤坂アークヒルズ・アーク森ビル
です。
ルがないだけで申し訳ないんですが
修正していただけると非常に助かります!
よろしくお願いします!!🙇♂️
curl https://madefor.github.io/postal-code-api/api/v1/107/6090.json
{"code":"1076090","data":[{"prefcode":"13","ja":{"prefecture":"東京都","address1":"港区","address2":"赤坂赤坂アークヒルズ・アーク森ビ","address3":"","address4":""},"en":{"prefecture":"Tokyo","address1":"Minato-ku","address2":"Akasaka Akasakaakuhiruzu.akumoribir","address3":"","address4":""}}]}
https://madefor.github.io/postal-code-api/api/v1/790/0054.json
address2は「空港通(1、2丁目)」のはずです。
参照先(郵便局のサイト)の「住所の郵便番号のzipファイル」解凍後のCSVファイルの名前が変更されているようです。
KEN_ALL_ROME.CSV.CSV
↓
KEN_ALL_ROME.CSV
該当箇所
gulp.task( 'v1',
でCSVファイルが参照できなくなっており、処理されません。
結果、住所の郵便番号が api/v1
以下に展開されないようです。
api/JIGYOSYO.CSV
のみ処理されます。
住所の郵便番号(ローマ字・zip形式)
https://www.post.japanpost.jp/zipcode/dl/roman-zip.html
ダウンロードリンク
https://www.post.japanpost.jp/zipcode/dl/roman/ken_all_rome.zip?190712
API上から引当が出来ないため確認をしていた所、昨年に住所変更が実施された地域だったようなのですが
記入時点でGithub pageの最終デプロイ日が2021年6月15日となっており、
日本郵政側でソースとなる住所CSVの2021年6月22日リリース差分が取り込まれていないように思われます。
https://github.com/madefor/postal-code-api/deployments
メンテ中などでしたらご放念頂いて構いません。
お手すきでご確認頂けますと幸いです。
postal-code-apiのエンドポイントの商用利用を考えています。
エンドポイント使用時の制限や規約等はございますでしょうか?
エンドポイント使用時の規約についてREADMEに記載があると使用する側としては大変助かります。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.