Skip to content

madelinehebert/fireball

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fireball

Package Version Hex Docs

gleam add fireball@1
import gleam/io

import fireball

pub fn main() {
  //Get a document from your database
  let assert Ok(my_doc) = firebase.get_doc(apikey: "my_key", apiver: "v1beta1", database: "(default)", doc: "path/to/my_doc/without/leading/slash", proj_id: "my_project_id")

  //Print some data from it!
  io.println(my_doc.data)
}

Further documentation can be found at https://hexdocs.pm/fireball.

Development

gleam run   # Run the project
gleam test  # Run the tests

About

A Gleam wrapper for Google's Firebase REST APIs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages