Hey there 馃憢
I would like to fetch the list of befriended servers over the network.
I've seen an introduction for HTTP requests in the docs so I'm positive that it should be possible.
Since many API endpoints in Fediverse services requires some level of auth it would require to store a token (say, a text file).
Can Godot do that? I'm new to the process.
For example, we could query Mastodon for peers to populate the list.
Either live or (preferred?) at the start of a game. There should be a list of instances as fallback in case the network cannot be reached.
I've seen that you can read from disk. I would assume, writing should also be possible.
I haven't understood yet whether Godot is blocking on network requests (or any Input/Ouput) or not. You have at least signals. Perhaps it is mixed? I'm learning 馃樆
Hey there 馃憢
I would like to fetch the list of befriended servers over the network.
I've seen an introduction for HTTP requests in the docs so I'm positive that it should be possible.
Since many API endpoints in Fediverse services requires some level of auth it would require to store a token (say, a text file).
Can Godot do that? I'm new to the process.
For example, we could query Mastodon for peers to populate the list.
Either live or (preferred?) at the start of a game. There should be a list of instances as fallback in case the network cannot be reached.
I've seen that you can read from disk. I would assume, writing should also be possible.
I haven't understood yet whether Godot is blocking on network requests (or any Input/Ouput) or not. You have at least signals. Perhaps it is mixed? I'm learning 馃樆