Skip to main content

daravel_google 1.25.0 copy "daravel_google: ^1.25.0" to clipboard
daravel_google: ^1.25.0 copied to clipboard

Google for Daravel. OAuth 2.0 user tokens with refresh, service accounts (RS256 JWT, RFC 7523) and Google Calendar v3 with attendees and Google Meet links.

example/example.dart

import 'package:daravel_google/daravel_google.dart';

void main() {
  final now = DateTime.now();
  final event = CalendarEvent(
    summary: 'Team Sync on Daravel Architecture',
    description:
        'Discussing the 160/160 pub points quality blueprint and roadmap.',
    start: EventTime(now.add(const Duration(hours: 1))),
    end: EventTime(now.add(const Duration(hours: 2))),
    attendees: [
      const EventAttendee('lead@daravel.dev', displayName: 'Lead Maintainer'),
      const EventAttendee('dev@daravel.dev', displayName: 'Core Contributor'),
    ],
    meet: true,
  );

  print('Prepared Google Calendar event: ${event.summary}');
  print('Start time: ${event.start?.dateTime}');
  print('Attendees: ${event.attendees?.map((a) => a.email).join(', ')}');
}
0
likes
160
points
652
downloads

Documentation

Documentation
API reference

Publisher

verified publisherframework.daravel.dev

Weekly Downloads

Google for Daravel. OAuth 2.0 user tokens with refresh, service accounts (RS256 JWT, RFC 7523) and Google Calendar v3 with attendees and Google Meet links.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#google #calendar #oauth #server #backend

Funding

Consider supporting this project:

github.com

License

MIT (license)

Dependencies

daravel, pointycastle

More

Packages that depend on daravel_google