firebase_rest 0.1.8

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 44

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

with Flutter:


$ flutter packages get

Alternatively, your editor might support pub get or flutter packages 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

Analysis

We analyzed this package on Jul 13, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.0.0-dev.63.0
  • pana: 0.11.3

Scores

Popularity:
Describes how popular the package is relative to other packages. [more]
32 / 100
Health:
Code health derived from static analysis. [more]
93 / 100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
0 / 100
Overall score:
Weighted score of the above. [more]
44
Learn more about scoring.

Platforms

Detected platforms: Flutter, web, other

No platform restriction found in primary library package:firebase_rest/firebase_rest.dart.

Suggestions

  • Package is too old.

    The package was released more than two years ago.

  • Fix analysis and formatting issues.

    Analysis or formatting checks reported 25 hints.

    Run dartfmt to format lib/firebase_rest.dart.

  • The description is too short.

    Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.

  • Package is pre-v1 release.

    While there is nothing inherently wrong with versions of 0.*.*, it usually means that the author is still experimenting with the general direction API.

  • Maintain an example.

    Create a short demo in the example/ directory to show how to use this package. Common file name patterns include: main.dart, example.dart or you could also use firebase_rest.dart.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.0.0 <2.0.0
collection >=1.7.0 <2.0.0 1.14.10
http >=0.11.0 <0.12.0 0.11.3+17
Transitive dependencies
async 2.0.7
charcode 1.1.2
http_parser 3.1.2
path 1.6.1
source_span 1.4.0
string_scanner 1.0.2
typed_data 1.1.5
Dev dependencies
test >=0.12.9 <0.13.0