We're currently making a game project in university and we're using Unity / C# with GameSparks. We need to get data from the internet (for example, weather or current events happening in the market) and show it live in game. Is this possible with GameSparks?
thank you so much
Best Answer
C
Customer Support
said
about 6 years ago
Hi Paula,
This all depends on the access method of the data you are trying to feed in. For example, it is entirely possible to make HTTP REST calls from inside Cloud Code using SparkHttp. Sending a GET request to some weather station with a public API would illicit a JSON response which you could then save in a runtime collection.
The other method is using an intermediary, to split up the retrieval of data to the saving of data on GameSparks. We offer a Node SDK that could be useful for this method.
-Pádraig
1 Comment
Customer Support
said
about 6 years ago
Answer
Hi Paula,
This all depends on the access method of the data you are trying to feed in. For example, it is entirely possible to make HTTP REST calls from inside Cloud Code using SparkHttp. Sending a GET request to some weather station with a public API would illicit a JSON response which you could then save in a runtime collection.
The other method is using an intermediary, to split up the retrieval of data to the saving of data on GameSparks. We offer a Node SDK that could be useful for this method.
Paula Sanchez
We're currently making a game project in university and we're using Unity / C# with GameSparks. We need to get data from the internet (for example, weather or current events happening in the market) and show it live in game. Is this possible with GameSparks?
thank you so much
Hi Paula,
This all depends on the access method of the data you are trying to feed in. For example, it is entirely possible to make HTTP REST calls from inside Cloud Code using SparkHttp. Sending a GET request to some weather station with a public API would illicit a JSON response which you could then save in a runtime collection.
The other method is using an intermediary, to split up the retrieval of data to the saving of data on GameSparks. We offer a Node SDK that could be useful for this method.
-Pádraig
Customer Support
Hi Paula,
This all depends on the access method of the data you are trying to feed in. For example, it is entirely possible to make HTTP REST calls from inside Cloud Code using SparkHttp. Sending a GET request to some weather station with a public API would illicit a JSON response which you could then save in a runtime collection.
The other method is using an intermediary, to split up the retrieval of data to the saving of data on GameSparks. We offer a Node SDK that could be useful for this method.
-Pádraig
-
Documentation Notes
-
Design issues with user events
-
Using NoSQL
-
Runtime Collections vs Metadata Collections
-
Anonymous authentication from browser app
-
Modules
-
Movement With Unity
-
Problem with url parameters for downloadables
-
Querying NoSql GameSparks database
-
Challenge accesType
See all 2487 topics