Can you re-open the question? The question was to have a query API for "external applications" to directly query the NoSQL database.
D
Dimitri Blatner
said
over 5 years ago
Nevertheless, I would also be very interested in querying the NoSQL / MongoDB database directly from inside the UnitySDK!
The big advantage is: very often your application already knows which content to store/load etc. and also knows the structure of the data. That's why the intermediate step with cloud code is not needed and I think this would further improve the performance of database accesses a lot.
Is there a plan to support a query API?
Of cource, someone could write a simple cloud script which passes the query directly to the NoSQL database but this is really a dirty hack instead of a clean API implementation inside the GameSparks API.
Customer Support
said
about 6 years ago
Hi James,
You can access the your collections using the NoSql REST API if you wish. You could also return the queried data as scriptData too depending on it's size. It's worth reading through the System Limits documentation page before you decide which way to go here.
Thanks,
Liam
J
James Ford
said
about 6 years ago
Actually, would it be possible for me to implement this using the normal user authentication and a cloud script?
Seems like I could put a special 'admin' bool in the private data of the 'admin' player. Then make a new LogEvent shortcode like "QUERY" - put the query in the LogEventRequest's scriptData - handle it in cloud code if the sending player has the admin flag - return the results in the LogEventResponse.
J
James Ford
said
over 6 years ago
Find would be great. I'd love to grab the data and stick it into some standard table i can actually read, and sort.
Tech Support
said
over 8 years ago
Answer
Hi Fabian
We are in the process of adding export functionality to the NoSQL page, but your suggestion of a remote query api is interesting.
If we limit this to find we could have something ready in a couple of weeks.
Perhaps you could let us know a little more about your requirements and we can get a plan together!
Fabian Hernandez
Hi,
There is some way to querying NoSql GameSparks database from an external application?
We have the idea of build our own data visualizer for analytics purposes using data from GameSparks.
Thanks.
Hi Fabian
We are in the process of adding export functionality to the NoSQL page, but your suggestion of a remote query api is interesting.
If we limit this to find we could have something ready in a couple of weeks.
Perhaps you could let us know a little more about your requirements and we can get a plan together!
Gabriel
- Oldest First
- Popular
- Newest First
Sorted by Newest FirstDimitri Blatner
Can you re-open the question? The question was to have a query API for "external applications" to directly query the NoSQL database.
Dimitri Blatner
Nevertheless, I would also be very interested in querying the NoSQL / MongoDB database directly from inside the UnitySDK!
The big advantage is: very often your application already knows which content to store/load etc. and also knows the structure of the data. That's why the intermediate step with cloud code is not needed and I think this would further improve the performance of database accesses a lot.
Is there a plan to support a query API?
Of cource, someone could write a simple cloud script which passes the query directly to the NoSQL database but this is really a dirty hack instead of a clean API implementation inside the GameSparks API.
Customer Support
Hi James,
You can access the your collections using the NoSql REST API if you wish. You could also return the queried data as scriptData too depending on it's size. It's worth reading through the System Limits documentation page before you decide which way to go here.
Thanks,
Liam
James Ford
Actually, would it be possible for me to implement this using the normal user authentication and a cloud script?
Seems like I could put a special 'admin' bool in the private data of the 'admin' player. Then make a new LogEvent shortcode like "QUERY" - put the query in the LogEventRequest's scriptData - handle it in cloud code if the sending player has the admin flag - return the results in the LogEventResponse.
James Ford
Find would be great. I'd love to grab the data and stick it into some standard table i can actually read, and sort.
Tech Support
Hi Fabian
We are in the process of adding export functionality to the NoSQL page, but your suggestion of a remote query api is interesting.
If we limit this to find we could have something ready in a couple of weeks.
Perhaps you could let us know a little more about your requirements and we can get a plan together!
Gabriel
-
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
-
Challenge accesType
See all 2487 topics