firebase qt api

Firebase Qt API

Firebase Qt API is a 3rd party firebase wrapper.Firebase is a powerful tool if you are a mobile developer. You won’t be concerning for your backend whilst developing your mobile app.  But with the IoT revolution backend for your applications on Arduino,raspberry or beaglebone becomes crucial.  So writing an API for Firebase with a qt development environment became a necessity for me.

Library is on github and it is a complete source and also an example.

To be able to use qt-firebase you need to define a Firebase object like shown:

*Auth

Also if your firebase uses a security you should pass firebase token.(Token generation is on the way)

 

*Reading Data

Reading data is achieved with getValue() call.

*Writing Data

Also :

In order to add child to another child use:

 

Get Events:

To get events or data feedback from your firebase child firebase you must connect eventResponseReady signal to some slot like :

For more information please examine qt example.

Leave a Reply

Your email address will not be published. Required fields are marked *