api.routes.hellopro.csv

Attributes

Functions

clean_records(record) → dict[str, Any]

records_to_csv(records) → str

get_hellopro_csv()

Route HelloPro : accessible avec HELLOPRO_TOKEN.

Module Contents

api.routes.hellopro.csv.logger
api.routes.hellopro.csv.router
api.routes.hellopro.csv.HELLOPRO_FIELDS = ['Name (à partir de Référence variant)', 'Photos marketplace', 'Long description (à partir de...
api.routes.hellopro.csv.clean_records(record: dict[str, Any]) → dict[str, Any]
api.routes.hellopro.csv.records_to_csv(records: list[dict[str, Any]]) → str
async api.routes.hellopro.csv.get_hellopro_csv()

Route HelloPro : accessible avec HELLOPRO_TOKEN. Retourne un fichier CSV avec les données de la table “Toutes les unités” / vue “Ne pas toucher : Hellopro”.