relief_web 1.0.0 relief_web: ^1.0.0 copied to clipboard
A Future-based wrapper around the [Relief Web] API, to retrieve information on humanitarian news, reports, training, jobs, and disasters
import 'package:relief_web/relief_web.dart';
void main() async {
/// Initialize the main object
ReliefWeb reliefWeb = ReliefWeb();
/// Get reports
await reliefWeb.getReports().then((value) => print(value));
/// Close the connection
reliefWeb.close();
}