How to fetch project bucket name?

Hello Koders,

I wanted to know how to check and get the project bucket name containing some specific tag and its value, via firebase realtime database.

Let’s say there are two project bucket’s as follows;

-projectbucket1

  • name : simar

  • number: 12345

-projectbucket2

  • name : mala

  • number: 56789

How to do this?
Now, user have options to enter name and number.
When btn.click than get the the projectbucket name which contains tag(name=mala) & tag(number=56789)

Blocks solution would be really appreciated.

Thanks in Advance,

If you have no authentication rules then you could use Web component. Set Web1.Url to

https://<PROJECTID>.firebaseio.com/.json

and then when Web1.GotText use dictionary blocks to get data

1 Like

Also it is very helpful to use search :mag: in community

Why URGENT?

Your case possible to attain with web component method only…

try like this

I have stored all the details under the bucket of Users, so i set url as

https://(myproject.firebaseio.com/Users/.json)

you too try like this

image

Thanks for it, did you created multi lvl project bucket? how to do that dynamically?

current project buckets

image

which one you are asking?

how to create like this?
create project bucket in (projectbucket)users?

image


just by using / will do that..

thanks, so good. I will try it asap.