Http Request from google sheets

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Help me please

I am trying to prepare a game in which one player’s stats (i.e. level, trophies, health, available troops) needs to be sent to another player so, I tried making a Google Sheet. And I want the players information should be stored in a particular cell (say A1) and other player can read that. I don’t know if it is really possible. If its really possible then it would be very helpful for me.
Thank You!

I don’t think that google sheets is the best way of storing things. Maybe you should create a database (SQLlite? [default with python, not sure about GDScript]) to store the data

Snail0259 | 2021-07-15 10:01

After some searches I found this answer.
But I am unable to do so :frowning:

Help me please | 2021-07-15 10:34

Why do you want to use Google sheet in the first place?

If you have a server you could also use headless Godot installed on a server for exchanging the JSONs between player I guess. Or maybe a small nodejs app.

I myself use JSON API to store data in Drupal / Wordpress / etc.


clemens.tolboom | 2021-07-15 11:07

I don’t have any web server. That’s the main issue

Help me please | 2021-07-15 11:53

You could create a local server with python or something (python -m http.server)

Snail0259 | 2021-07-17 11:25

How? I don’t know anything about it

Help me please | 2021-07-19 08:07

You did not mentioned this is realtime multiplayer or not. For realtime you could checkout and pick a Godot multiplayer method?

clemens.tolboom | 2021-07-19 10:22

Thanks for the tutorial but I can make multiplayer games.
I just want to know how can I exchange data between various player through an http request. In the docs the website mentioned only shows hello world but I want to show other things. If any easy way you know then please tell.

Help me please | 2021-07-19 11:57