Open RomainVialard opened 5 years ago
Instead of adding a bunch of new methods like listProjects() to the root, maybe we can follow the API structure ?: FirebaseApp.projects.list() FirebaseApp.projects.get() etc...
This would make it easy to understand the relation with the REST API, and also orderly support other API methods.
In that case, should existing methods of the FirebaseApp lib be available at: FirebaseApp.projects.get().realtimeDatabaseInstance.setData() .getData() etc...?
or do we keep getDatabaseByUrl() and simply add .projects? Wouldn't it be weird to have the 2 different naming conventions?
Provided ability to list all Firebase projects available to the user. https://firebase.google.com/docs/projects/api/reference/rest/v1beta1/projects/list