pkg_brevo_email_api version: 0.0.31

Published 2025-10-03

michelhopman

sdk | dart
repository | svn
platform | generic
status | n/a
  • Readme
  • Changelog
  • Versions

HH Brevo API

A Dart package for interacting with the Brevo (formerly Sendinblue) API.

graph

Features

  • Authentication and API key validation
  • Account information retrieval
  • More features coming soon...

Getting Started

Installation

Add the package to your pubspec.yaml:

dependencies:
  hh_brevo_api: ^1.0.0

Usage

import 'package:hh_brevo_api/hh_brevo_api.dart';

void main() async {
  // Create the API client with your API key
  final client = BrevoApiClient(apiKey: 'YOUR_API_KEY');

  try {
    // Create the auth service
    final authService = BrevoAuthService(client);

    // Validate the API key and get account information
    final account = await authService.validateApiKey();

    // Use the account information
    print('Email: ${account.email}');
    print('Name: ${account.firstName} ${account.lastName}');
  } catch (e) {
    print('Error: $e');
  } finally {
    // Always close the client when done
    client.close();
  }
}

API Key

To use this package, you'll need a Brevo API key. You can get one by:

  1. Creating a Brevo account at brevo.com
  2. Going to your account settings
  3. Navigating to the API & SMTP section
  4. Generating a new API key

Changelog

0.0.31 - 2025-10-03

Changed

  • Version bump from 0.0.30 to 0.0.31 (build_runner -> 2.9.0 (was 2.8.0)).

0.0.30 - 2025-09-22

Changed

  • Version bump from 0.0.29 to 0.0.30 (mockito -> 5.5.1 (was 5.5.0)).

0.0.29 - 2025-09-22

Changed

  • Version bump from 0.0.28 to 0.0.29 (build_runner -> 2.8.0 (was 2.7.1)).

0.0.28 - 2025-09-08

Changed

  • Version bump from 0.0.27 to 0.0.28 (json_serializable -> 6.11.1 (was 6.11.0)).

0.0.27 - 2025-09-04

Changed

  • Version bump from 0.0.26 to 0.0.27 (mockito -> 5.5.1 (was 5.4.6)).

0.0.26 - 2025-09-04

Changed

  • Version bump from 0.0.25 to 0.0.26 (build_runner -> 2.7.1 (was 2.7.2)).

0.0.25 - 2025-09-04

Changed

  • Version bump from 0.0.24 to 0.0.25 (build_runner -> 2.7.2 (was 2.7.1)).

0.0.24 - 2025-09-03

Changed

  • Version bump from 0.0.23 to 0.0.24 (build_runner -> 2.7.1 (was 2.7.0)).

0.0.23 - 2025-09-01

Changed

  • Version bump from 0.0.22 to 0.0.23 (json_serializable -> 6.11.0 (was 6.10.0)).

0.0.22 - 2025-09-01

Changed

  • Version bump from 0.0.21 to 0.0.22 (build_runner -> 2.7.0 (was 2.6.0)).

0.0.21 - 2025-08-08

Changed

  • Version bump from 0.0.20 to 0.0.21 (build_runner -> 2.6.0 (was 2.6.1)).

0.0.20 - 2025-08-08

Changed

  • Version bump from 0.0.19 to 0.0.20 (http -> 1.5.0 (was 1.4.0)).

0.0.19 - 2025-08-08

Changed

  • Version bump from 0.0.18 to 0.0.19 (build_runner -> 2.6.1 (was 2.6.0)).

0.0.18 - 2025-07-28

Changed

  • Version bump from 0.0.17 to 0.0.18 (json_serializable -> 6.10.0 (was 6.9.5)).

0.0.17 - 2025-07-28

Changed

  • Version bump from 0.0.16 to 0.0.17 (build_runner -> 2.6.0 (was 2.5.4)).

0.0.16 - 2025-07-23

Changed

  • Version bump from 0.0.15 to 0.0.16 (test -> 1.26.3 (was 1.26.2)).

0.0.15 - 2025-07-03

Changed

  • Version bump from 0.0.14 to 0.0.15 (freezed_annotation -> 3.1.0 (was 3.0.0)).

0.0.14 - 2025-07-03

Changed

  • Version bump from 0.0.13 to 0.0.14 (freezed -> 3.1.0 (was 3.0.6)).

0.0.13 - 2025-06-24

Changed

  • Version bump from 0.0.12 to 0.0.13 (build_runner -> 2.5.4 (was 2.5.3)).

0.0.12 - 2025-06-23

Changed

  • Version bump from 0.0.11 to 0.0.12 (build_runner -> 2.5.3 (was 2.5.2)).

0.0.11 - 2025-06-18

Changed

  • Version bump from 0.0.10 to 0.0.11 (build_runner -> 2.5.2 (was 2.4.12)).

0.0.10 - 2025-06-18

Changed

  • Version bump from 0.0.9 to 0.0.10 (build_runner -> 2.4.12 (was 2.5.1)).

0.0.9 - 2025-06-17

Changed

  • Version bump from 0.0.8 to 0.0.9 (build_runner -> 2.5.1 (was 2.5.0)).

0.0.8 - 2025-06-17

Changed

  • Version bump from 0.0.7 to 0.0.8 (build_runner -> 2.5.0 (was 2.4.15)).

0.0.7 - 2025-05-22

Changed

  • Version bump from 0.0.6 to 0.0.7 (lints -> 6.0.0 (was 5.1.1)).

0.0.6 - 2025-05-22

Changed

  • Version bump from 0.0.5 to 0.0.6 (test -> 1.26.2 (was 1.26.1)).

0.0.5 - 2025-05-20

Changed

  • Version bump from 0.0.4 to 0.0.5 (test -> 1.26.1 (was 1.26.0)).

0.0.4 - 2025-05-13

Changed

  • Version bump from 0.0.3 to 0.0.4 (test -> 1.26.0 (was 1.25.15)).

0.0.3 - 2025-05-06

Changed

  • Version bump from 0.0.2 to 0.0.3 (http -> 1.4.0 (was 1.3.0)).

0.0.2 - 2025-04-24

Changed

  • LICENSE.

0.0.1 - 2025-04-22

  • Initial version.

0.0.31

2025-10-03 download

0.0.30

2025-09-22 download

0.0.28

2025-09-08 download

0.0.24

2025-09-03 download

0.0.21

2025-08-08 download

0.0.18

2025-07-28 download

0.0.16

2025-07-23 download

0.0.15

2025-07-03 download

0.0.13

2025-06-24 download

0.0.12

2025-06-23 download

0.0.8

2025-06-17 download

0.0.7

2025-05-22 download

0.0.5

2025-05-20 download

0.0.4

2025-05-13 download

0.0.3

2025-05-06 download

0.0.2

2025-04-24 download

0.0.1

2025-04-22 download