0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

地震情報を簡単に扱いたい!

Posted at

読みにくい記事に注意してください....。

tl;dr

地震情報を簡単に扱えるようにするやつ

はじめに...

まずは皆さんに、P2PのAPIのすばらしさをば
WebScoketAPIから送られてくるやつはJSONなので扱いやすい(最高)
・情報伝達がすごいほど早い
・すごい

今回作った奴

今回はTypeScriptで大部分を書きました。TSは簡単なやつでしか書いてないので結構難しかった....。

しくみ

image.png

感想

たのちかった。TypeScriptだいちゅき。

Link

APIの本
https://www.p2pquake.net/json_api_v2/#/
フローチャート作成に使った
https://app.diagrams.net/

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?