https://github.com/appsup-dart/firebase_rest
https://github.com/appsup-dart/firebase_rest
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/appsup-dart/firebase_rest
- Owner: appsup-dart
- License: other
- Created: 2015-07-29T22:02:54.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-06-08T10:53:35.000Z (over 9 years ago)
- Last Synced: 2024-05-21T07:39:21.337Z (over 1 year ago)
- Language: Dart
- Size: 18.6 KB
- Stars: 4
- Watchers: 3
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# firebase_rest for Dart
A [Dart][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][tracker].
[tracker]: https://github.com/appsup-dart/firebase/issues
[dart]: https://www.dartlang.org