jsonplaceholder 2.0.0 jsonplaceholder: ^2.0.0 copied to clipboard
Package that provides API bindings for https://jsonplaceholder.typicode.com/
JSONPlaceholder-Dart #
A library that provides API bindings for JSONPlaceholder.
Usage #
A simple usage example:
import 'package:jsonplaceholder/json_placeholder.dart';
main(List<String> args) async {
JSONPlaceholder api = JSONPlaceholder();
var posts = api.getPosts();
await for (Post post in posts) print(post.toString());
api.close();
}
Features and bugs #
Please file feature requests and bugs at the issue tracker.