calendarific_dart 1.0.2 copy "calendarific_dart: ^1.0.2" to clipboard
calendarific_dart: ^1.0.2 copied to clipboard

A dart package to retrieve data from calendarific API. Get holidays from specific country, year and moreover retreieve languages and countries from their API.

Dart

A dart package to retrieve holiday information from calendarific API.

Features #

  • retrieve holiday information
  • retrieve language information
  • retrieve country information

Usage #

import 'package:calendarific_dart/calendarific_dart.dart';

Future<void> main() async {
  const String apiKey = '';
  final CalendarificApi api = CalendarificApi(apiKey);
  print('Countries: ${await api.getCountries()}');
  print('Languages: ${await api.getLanguages()}');
  print('Holidays: ${await api.getHolidays(countryCode: 'DE', year: '2022')}');
}

See /example or /test for usage information.

Additional information #

Calendarific API v2

3
likes
130
pub points
26%
popularity

Publisher

verified publishermarkus.jayjah.de

A dart package to retrieve data from calendarific API. Get holidays from specific country, year and moreover retreieve languages and countries from their API.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

chopper

More

Packages that depend on calendarific_dart