This is the plan for a future update, currently my PC is bust and I need to do some repairs, on top of this I’m unable to travel home due to Covid-19 restrictions and me being in a different country.
I have a lot of improvements to make on this that I plan to begin when I get the chance, thanks for the input!
Oh my god thank you so much. Really funny, since last week I spent ages creating my own site to use as an API to update my firebase storage from website. You’re a lifesaver!
I’m glad that this is of use to you and I hope it’s easy to use and work with, any problems don’t hesitate to ask here, message me, or use the reporting issues section under the post!
Does this module/wrapper help handle or cache up http requests?
Firebase allows updating multiple arrays in a single request, just curious if you’re helping to keep HttpService activity down by grouping multiple requests into one every few seconds?
I’m not sure how well this would handle 70 players joining at once and grabbing data for many people.
Apologies for the delayed response, this module is simply a wrapper for the core functions that Firebase provide in their API.
There is a BatchUpdateAsync which sends a request to the method Firebase uses to update multiple arrays with a PATCH request.
Caching and “proper” handling of requests is down to the programmer. I do plan to add on to this to make it easier to setup and install with little experience.
And the following is the documentation written for BatchUpdateAsync within Robase (I’m unsure how up to date everything is, but this is, as far as i know, the absolute most recent version):
Updated to v1.0.1 fixing a race condition(?) issue with GetAsync, it should know perform more reliably. Furthermore, revamped GetAsync’s internals to have less repeated code and more concise pcall functions.
Have you tried reloading your browser and trying again? I’ve just created a blank project and database and a secret was generated automatically for me and appears.
I can only assume this is an issue on your end.
You must first create your real-time database, you can do this from the Firebase console. In the menu on the left, there is a “Realtime Database” button, click on that, and then “Create Database”.
From there you will then proceed as normal through Service Accounts and Database Secrets.