https://github.com/0xdir/relief_web_dart
A Future-based wrapper around the Relief Web API, to retrieve information on humanitarian news, reports, training, jobs, and disasters
https://github.com/0xdir/relief_web_dart
api dart data humanitarian jobs
Last synced: 13 days ago
JSON representation
A Future-based wrapper around the Relief Web API, to retrieve information on humanitarian news, reports, training, jobs, and disasters
- Host: GitHub
- URL: https://github.com/0xdir/relief_web_dart
- Owner: 0xdir
- License: mit
- Created: 2023-07-18T11:04:18.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-07-18T15:34:12.000Z (almost 3 years ago)
- Last Synced: 2026-03-27T02:51:48.913Z (3 months ago)
- Topics: api, dart, data, humanitarian, jobs
- Language: Dart
- Homepage: https://pub.dev/packages/relief_web
- Size: 7.81 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://pub.dev/packages/relief_web)
[](https://pub.dev/packages/relief_web/publisher)
A Future-based wrapper around the [Relief Web] API, to retrieve information on humanitarian news,
reports, training, jobs, and disasters, designed to be multi-platform with minimal dependencies,
for use in mobile, desktop, or browser apps.
[Relief Web]: https://reliefweb.int/
This is a community maintained library which has no association
with the United Nations Office for the Coordination of Humanitarian Affairs ([OCHA]).
[OCHA]: https://www.unocha.org/our-work/information-management
## Using
The easiest way to use this library is via the top-level ```ReliefWeb``` class.
```dart
import 'package:relief_web/relief_web.dart';
void main() async {
/// Initialize the main object
ReliefWeb reliefWeb = ReliefWeb();
/// Get reports
var reports = await reliefWeb.getReports();
/// Do stuff with the reports
print(reports.length);
/// Close the connection
reliefWeb.close();
}
```
## Getting Help
Submit an issue on [github].
[github]: https://github.com/0xdir/relief_web_dart
## This work builds upon:
1. [Relief Web](https://reliefweb.int/about)
Do check out their work too!
## How to contribute
All feedback and suggestions for improvements are welcome:
1. Open a discussion on [github]
2. Discuss proposed changes
3. Submit a PR (optional)
[github]: https://github.com/0xdir/relief_web_dart
## Support my work
This package is possible thanks to the people and companies
who donate money, services or time to keep the project running.
If you're interested in becoming a Sponsor, Backer or Contributor
to expand the project, please visit my [github sponsors page].
[github sponsors page]: https://github.com/sponsors/0xdir
Or buy me coffee at `0xdir.near`.