<<

NAME

ProductOpener::Events - Send events to https://events.openfoodfacts.org

SYNOPSIS

ProductOpener::Events is used to create events to https://events.openfoodfacts.org

    use ProductOpener::Events qw/:all/;

        # TODO

DESCRIPTION

See https://github.com/openfoodfacts/openfoodfacts-events

FUNCTIONS

send_event ( $event_ref )

Arguments

Arguments are passed through a single hash reference with the following keys:

event_type - required - string

Type of the event (e.g. "product_edited")

barcode - required - string

Barcode of the product.

user id - required

<<