relief_web 1.0.1 relief_web: ^1.0.1 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((reports) => print(reports));
/// Close the connection
reliefWeb.close();
}