1: be able to pull telegram data from my main nation and a few others to create a "combined inbox" of sorts. It is possible to tell that you have a new telegram via private shard, but beyond that there is no way to access the contents of telegrams legally via script (to my knowledge).
2: read a telegram, process it's contents, and automatically respond via the Telegrams API, as part of a project to create a (mostly) fully automated regional administration.
The "how":
A private shard for nations, something like
https://www.nationstates.net/cgi-bin/ap ... =telegrams
It would return all telegrams the nation's inbox, a la
- Code: Select all
<NATION>
<TELEGRAMS>
<TELEGRAM status="unread">
<SENDER>Testlandia<SENDER>
<TYPE>External</TYPE>
<TIMESTAMP>12345678</TIMESTAMP>
<CONTENTS>Hello, World!</CONTENTS>
</TELEGRAMS>
</NATION>