E
If you are rustic, you can write a Python program that executes the following flow every time.Download XML from URL.Check if there is a change.If there is a change, parse XML and make it a Python object. Note the character code.Read the required information and make a string for messages.Send a message to Discord.Each part of 1-3 can be easily implemented using the appropriate library. There are several things to do when you search. XML https://qiita.com/ot1r/items/aff63d49273ef8be5993 This article was detailed.However, if you use it as a high-speed earthquake bulletin, there is a problem. In order to function as a seismic bulletin, it is desirable that the message is sent within a few seconds after the seismic information is out, but for this reason, it is necessary to repeat access to the NHK site every few seconds. https://ja.wikipedia.org/wiki/%E5%B2%A1%E5%B4%8E%E5%B8%82%E7%AB%8B%E4%B8%AD%E5%A4%AE%E5%9B%B3%E6%9B%B8%E9%A4%A8%E4%BA%8B%E4%BB%B6 Home https://vaaaaaanquish.hatenablog.com/entry/2017/12/01/064227 There is a risk to access less frequently. It should also be noted that there may be s until this XML is updated from the emergence of an emergency seismic report. On the other hand, if there is a certain , you can achieve the purpose in the above way.If you want to implement something like an emergency earthquake warning (EEW), https://www10.atwiki.jp/p2peq/pages/43.html I think it is a reference. In the case of an individual, it is not practical to use an emergency seismic velocity report for advanced users, so you can think about how to get via Twitter API like "Emergency Seismic velocity by Extension".