firebase_rest 0.1.8

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 12

firebase_rest for Dart

A Dart library for reading and writing data to a Firebase database.

This library uses the Firebase's REST API and works on both server (dart:io) and client (dart:html).

Usage

A simple usage example:

import 'package:firebase_rest/firebase_rest.dart';

main() async {
  var uri = Uri.parse("https://publicdata-weather.firebaseio.com/sanfrancisco/currently/cloudCover");
  var ref = new Firebase(uri);

  var snapshot = await ref.get();

  print(snapshot.val);
}

Features and bugs

Please file feature requests and bugs at the issue tracker.

Changelog

0.1

  • Reading and writing data to firebase database

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  firebase_rest: ^0.1.8

2. Install it

You can install packages from the command line:

with pub:


$ pub get

Alternatively, your editor might support pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:firebase_rest/firebase_rest.dart';
  
Version Uploaded Documentation Archive
0.1.8 Jun 24, 2016 Go to the documentation of firebase_rest 0.1.8 Download firebase_rest 0.1.8 archive
0.1.7 Jun 8, 2016 Go to the documentation of firebase_rest 0.1.7 Download firebase_rest 0.1.7 archive
0.1.6 Jun 3, 2016 Go to the documentation of firebase_rest 0.1.6 Download firebase_rest 0.1.6 archive
0.1.5 Jun 3, 2016 Go to the documentation of firebase_rest 0.1.5 Download firebase_rest 0.1.5 archive
0.1.4 May 20, 2016 Go to the documentation of firebase_rest 0.1.4 Download firebase_rest 0.1.4 archive
0.1.3 Aug 21, 2015 Go to the documentation of firebase_rest 0.1.3 Download firebase_rest 0.1.3 archive
0.1.2 Jul 29, 2015 Go to the documentation of firebase_rest 0.1.2 Download firebase_rest 0.1.2 archive
0.1.1 Jul 29, 2015 Go to the documentation of firebase_rest 0.1.1 Download firebase_rest 0.1.1 archive
0.1.0 Jul 29, 2015 Go to the documentation of firebase_rest 0.1.0 Download firebase_rest 0.1.0 archive
0.0.1 Jul 29, 2015 Go to the documentation of firebase_rest 0.0.1 Download firebase_rest 0.0.1 archive
Popularity:
Describes how popular the package is relative to other packages. [more]
23
Health:
Code health derived from static analysis. [more]
--
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
--
Overall:
Weighted score of the above. [more]
12
Learn more about scoring.

The package version is not analyzed, because it does not support Dart 2. Until this is resolved, the package will receive a health and maintenance score of 0.

Analysis issues and suggestions

Support Dart 2 in pubspec.yaml.

The SDK constraint in pubspec.yaml doesn't allow the Dart 2.0.0 release. For information about upgrading it to be Dart 2 compatible, please see https://www.dartlang.org/dart-2#migration.

Maintenance issues and suggestions

Running dartdoc failed. (-10 points)

Make sure dartdoc runs without any issues.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.0.0 <2.0.0