Skip to content

DanielVelezV/FireSharpLib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FireSharpLib

This is a library to create, get and delete data from a DB on Firebase.

Installation

Install-Package FirebaseAPI -Version 1.0.0

Usage

Initialize the client.

FireClient.InitializeClient(YourBaseFirebaseAddress);
FireClient.Token = YourTokenHere;

Get request.

DataType data = await FireProcessor.GetData<DataType>(Path);

Token Auth version:

DataType data = await FireProcessor.GetDataAuth<DataType>(Path);

Put Request

bool completed = await FireProcessor.SetData<DataType>(string path, T data);

Token Auth version:

bool completed = await FireProcessor.SetDataAuth<DataType>(string path, T data);

Delete Request

bool completed = await FireProcessor.Delete(string path)

Token Auth version:

bool completed = await FireProcessor.DeleteAuth(string path)

All those methods are async. This lib uses Newtonsoft.Json lib, so all the datatypes are converted into Json and threated like that.

ToDo

  • Add the rest of the requests
  • Allow all the datatypes
  • Learn programming :P

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages