Models
Objects returned by the clients. Field names follow the JSON of the API.
ProductResponse
pydantic-model
Bases: _ApiModel
Full cover art record (GET /api/product/{isbn}).
Show JSON schema:
{
"description": "Full cover art record (GET /api/product/{isbn}).",
"properties": {
"title": {
"description": "Title of the edition, e.g. ``\"Breaking Bad - Int\u00e9grale de la s\u00e9rie + El Camino : un film \"Breaking Bad\"``.",
"title": "Title",
"type": "string"
},
"title_vo": {
"description": "Title of the edition in the original language, e.g. ``\"Breaking Bad + El Camino: A Breaking Bad Movie\"``.",
"title": "Title Vo",
"type": "string"
},
"annee": {
"description": "Year of the film or series, e.g. ``\"2008\"``.",
"title": "Annee",
"type": "string"
},
"description": {
"description": "Synopsis, e.g. ``\"Walter White, 50 ans, est professeur de chimie dans un lyc\u00e9e du Nouveau-Mexique...\"``.",
"title": "Description",
"type": "string"
},
"image": {
"description": "URL of the cover art, e.g. ``\"https://images.epagine.fr/5298/529876c88590b26470b6a8f19bb0955a_1_v.jpg\"``.",
"format": "uri",
"maxLength": 2083,
"minLength": 1,
"title": "Image",
"type": "string"
},
"categorie": {
"description": "DVDFr category, e.g. ``\"S\u00e9rie\"``.",
"title": "Categorie",
"type": "string"
},
"duree": {
"description": "Duration , e.g. ``\"3070 mn\"``.",
"title": "Duree",
"type": "string"
},
"sortie": {
"description": "Online release date / media release date displayed on DVDFr, e.g. ``\"5 Octobre 2022\"``.",
"title": "Sortie",
"type": "string"
},
"isbn": {
"description": "EAN barcode, as an integer, e.g. ``3333290016961``.",
"title": "Isbn",
"type": "integer"
},
"barcode": {
"description": "PNG image of the EAN-13 barcode, encoded in Base64, e.g. ``b'iVBORw0KGgoAAAANSUhEUgAAAGQAA...\"``.",
"format": "base64",
"title": "Barcode",
"type": "string"
},
"editeur": {
"description": "Publisher, e.g. ``\"Sony Pictures\"``.",
"title": "Editeur",
"type": "string"
},
"distributeur": {
"description": "Distributor, e.g. ``\"ESCD\"``.",
"title": "Distributeur",
"type": "string"
},
"collection": {
"description": "Collection, e.g. ``\"Metropolitan Edition Haute D\u00e9finition\"``.",
"title": "Collection",
"type": "string"
},
"media": {
"description": "Media type : Blu-ray, DVD, 4K Ultra HD... e.g. ``\"Blu-ray\"``.",
"title": "Media",
"type": "string"
},
"edition": {
"description": "Collection / Edition (also known as a collection), e.g. ``\"Metropolitan Edition Haute D\u00e9finition\"``.",
"title": "Edition",
"type": "string"
},
"acteurs": {
"description": "Actors, when available on the page, e.g. ``[\"Bryan Cranston\", \"Aaron Paul\", \"Anna Gunn\"]``.",
"items": {
"type": "string"
},
"title": "Acteurs",
"type": "array"
},
"producteurs": {
"description": "Producers, when available on the page, e.g. ``[\"Vince Gilligan\", \"Mark Johnson\"]``.",
"items": {
"type": "string"
},
"title": "Producteurs",
"type": "array"
},
"prix": {
"description": "Recommended price as displayed, e.g. ``\"49.91 \u20ac\"``.",
"title": "Prix",
"type": "string"
},
"date_sortie": {
"description": "Theatrical release date / premiere date, e.g. ``\"20/01/2008\"``.",
"title": "Date Sortie",
"type": "string"
},
"date_parution": {
"description": "Release date of the media cover, e.g. ``\"05/10/2022\"``.",
"title": "Date Parution",
"type": "string"
},
"genres": {
"description": "Genres (rayons DVDFr), e.g. ``[\"Drame\"]``.",
"items": {
"type": "string"
},
"title": "Genres",
"type": "array"
},
"source": {
"description": "DVDFr product page URL, e.g. ``\"https://www.dvdfr.com/dvd/3333290016961-breaking-bad-integrale-de-la-serie/\"``.",
"format": "uri",
"maxLength": 2083,
"minLength": 1,
"title": "Source",
"type": "string"
}
},
"required": [
"title",
"title_vo",
"annee",
"description",
"image",
"categorie",
"duree",
"sortie",
"isbn",
"barcode",
"editeur",
"distributeur",
"collection",
"media",
"edition",
"prix",
"date_sortie",
"date_parution",
"source"
],
"title": "ProductResponse",
"type": "object"
}
Fields:
-
title(str) -
title_vo(str) -
annee(str) -
description(str) -
image(HttpUrl) -
categorie(str) -
duree(str) -
sortie(str) -
isbn(int) -
barcode(Base64Bytes) -
editeur(str) -
distributeur(str) -
collection(str) -
media(str) -
edition(str) -
acteurs(list[str]) -
producteurs(list[str]) -
prix(str) -
date_sortie(str) -
date_parution(str) -
genres(list[str]) -
source(HttpUrl)
title
pydantic-field
Title of the edition, e.g. "Breaking Bad - Intégrale de la série + El Camino : un film "Breaking Bad".
title_vo
pydantic-field
Title of the edition in the original language, e.g. "Breaking Bad + El Camino: A Breaking Bad Movie".
description
pydantic-field
Synopsis, e.g. "Walter White, 50 ans, est professeur de chimie dans un lycée du Nouveau-Mexique...".
image
pydantic-field
URL of the cover art, e.g. "https://images.epagine.fr/5298/529876c88590b26470b6a8f19bb0955a_1_v.jpg".
sortie
pydantic-field
Online release date / media release date displayed on DVDFr, e.g. "5 Octobre 2022".
barcode
pydantic-field
PNG image of the EAN-13 barcode, encoded in Base64, e.g. b'iVBORw0KGgoAAAANSUhEUgAAAGQAA...".
edition
pydantic-field
Collection / Edition (also known as a collection), e.g. "Metropolitan Edition Haute Définition".
acteurs
pydantic-field
Actors, when available on the page, e.g. ["Bryan Cranston", "Aaron Paul", "Anna Gunn"].
producteurs
pydantic-field
Producers, when available on the page, e.g. ["Vince Gilligan", "Mark Johnson"].
date_sortie
pydantic-field
Theatrical release date / premiere date, e.g. "20/01/2008".
SearchResponse
pydantic-model
Bases: _ApiModel
Search results by title (GET /api/search/{query}).
Iterating over it yields the editions in :attr:results.
Show JSON schema:
{
"$defs": {
"SearchItem": {
"description": "Single search result (GET /api/search/{query}).",
"properties": {
"isbn": {
"description": "EAN barcode, as a string, e.g. ``\"3333290016961\"``.",
"title": "Isbn",
"type": "string"
},
"title": {
"description": "Title of the edition, e.g. ``\"Breaking Bad - Int\u00e9grale de la s\u00e9rie + El Camino : un film \"Breaking Bad\"``.",
"title": "Title",
"type": "string"
},
"annee": {
"description": "Year of the film or series, e.g. ``\"2008\"``.",
"title": "Annee",
"type": "string"
},
"image": {
"description": "URL of the cover art, e.g. ``\"https://images.epagine.fr/5298/529876c88590b26470b6a8f19bb0955a_1_v.jpg\"``.",
"format": "uri",
"maxLength": 2083,
"minLength": 1,
"title": "Image",
"type": "string"
},
"editeur": {
"description": "Publisher, e.g. ``\"Sony Pictures\"``.",
"title": "Editeur",
"type": "string"
},
"media": {
"description": "Media type : Blu-ray, DVD, 4K Ultra HD... e.g. ``\"Blu-ray\"``.",
"title": "Media",
"type": "string"
},
"prix": {
"description": "Recommended price as displayed, e.g. ``\"49.91 \u20ac\"``.",
"title": "Prix",
"type": "string"
},
"date_parution": {
"description": "Release date of the media cover, e.g. ``\"5 Octobre 2022\"``.",
"title": "Date Parution",
"type": "string"
},
"description": {
"description": "Synopsis, e.g. ``\"Walter White, 50 ans, est professeur de chimie...\"``.",
"title": "Description",
"type": "string"
},
"genres": {
"description": "DVDFr genres, when available on the page, e.g. ``[\"Fantastique / Science-fiction\"]``.",
"items": {
"type": "string"
},
"title": "Genres",
"type": "array"
},
"url": {
"description": "URL of the DVDFr page for this edition, e.g. ``\"https://www.dvdfr.com/dvd/3333290016961-breaking-bad-integrale-de-la-serie/\"``.",
"format": "uri",
"maxLength": 2083,
"minLength": 1,
"title": "Url",
"type": "string"
},
"source": {
"description": "URL of the DVDFr page for this edition, e.g. ``\"https://www.dvdfr.com/dvd/3333290016961-breaking-bad-integrale-de-la-serie/\"``.",
"format": "uri",
"maxLength": 2083,
"minLength": 1,
"title": "Source",
"type": "string"
}
},
"required": [
"isbn",
"title",
"annee",
"image",
"editeur",
"media",
"prix",
"date_parution",
"description",
"url",
"source"
],
"title": "SearchItem",
"type": "object"
}
},
"description": "Search results by title (GET /api/search/{query}).\n\nIterating over it yields the editions in :attr:`results`.",
"properties": {
"query": {
"description": "The title that was searched.",
"title": "Query",
"type": "string"
},
"total": {
"description": "Number of titles/editions returned, other editions included.",
"title": "Total",
"type": "integer"
},
"dvdfr_total": {
"description": "Number of products announced by DVDFr, other editions excluded.",
"title": "Dvdfr Total",
"type": "integer"
},
"truncated": {
"default": false,
"description": "``True`` if not all DVDFr pages could be crawled: the list is incomplete.",
"title": "Truncated",
"type": "boolean"
},
"results": {
"description": "The editions found.",
"items": {
"$ref": "#/$defs/SearchItem"
},
"title": "Results",
"type": "array"
}
},
"required": [
"query",
"total",
"dvdfr_total"
],
"title": "SearchResponse",
"type": "object"
}
Fields:
-
query(str) -
total(int) -
dvdfr_total(int) -
truncated(bool) -
results(list[SearchItem])
dvdfr_total
pydantic-field
Number of products announced by DVDFr, other editions excluded.
truncated
pydantic-field
True if not all DVDFr pages could be crawled: the list is incomplete.
SearchItem
pydantic-model
Bases: _ApiModel
Single search result (GET /api/search/{query}).
Show JSON schema:
{
"description": "Single search result (GET /api/search/{query}).",
"properties": {
"isbn": {
"description": "EAN barcode, as a string, e.g. ``\"3333290016961\"``.",
"title": "Isbn",
"type": "string"
},
"title": {
"description": "Title of the edition, e.g. ``\"Breaking Bad - Int\u00e9grale de la s\u00e9rie + El Camino : un film \"Breaking Bad\"``.",
"title": "Title",
"type": "string"
},
"annee": {
"description": "Year of the film or series, e.g. ``\"2008\"``.",
"title": "Annee",
"type": "string"
},
"image": {
"description": "URL of the cover art, e.g. ``\"https://images.epagine.fr/5298/529876c88590b26470b6a8f19bb0955a_1_v.jpg\"``.",
"format": "uri",
"maxLength": 2083,
"minLength": 1,
"title": "Image",
"type": "string"
},
"editeur": {
"description": "Publisher, e.g. ``\"Sony Pictures\"``.",
"title": "Editeur",
"type": "string"
},
"media": {
"description": "Media type : Blu-ray, DVD, 4K Ultra HD... e.g. ``\"Blu-ray\"``.",
"title": "Media",
"type": "string"
},
"prix": {
"description": "Recommended price as displayed, e.g. ``\"49.91 \u20ac\"``.",
"title": "Prix",
"type": "string"
},
"date_parution": {
"description": "Release date of the media cover, e.g. ``\"5 Octobre 2022\"``.",
"title": "Date Parution",
"type": "string"
},
"description": {
"description": "Synopsis, e.g. ``\"Walter White, 50 ans, est professeur de chimie...\"``.",
"title": "Description",
"type": "string"
},
"genres": {
"description": "DVDFr genres, when available on the page, e.g. ``[\"Fantastique / Science-fiction\"]``.",
"items": {
"type": "string"
},
"title": "Genres",
"type": "array"
},
"url": {
"description": "URL of the DVDFr page for this edition, e.g. ``\"https://www.dvdfr.com/dvd/3333290016961-breaking-bad-integrale-de-la-serie/\"``.",
"format": "uri",
"maxLength": 2083,
"minLength": 1,
"title": "Url",
"type": "string"
},
"source": {
"description": "URL of the DVDFr page for this edition, e.g. ``\"https://www.dvdfr.com/dvd/3333290016961-breaking-bad-integrale-de-la-serie/\"``.",
"format": "uri",
"maxLength": 2083,
"minLength": 1,
"title": "Source",
"type": "string"
}
},
"required": [
"isbn",
"title",
"annee",
"image",
"editeur",
"media",
"prix",
"date_parution",
"description",
"url",
"source"
],
"title": "SearchItem",
"type": "object"
}
Fields:
-
isbn(str) -
title(str) -
annee(str) -
image(HttpUrl) -
editeur(str) -
media(str) -
prix(str) -
date_parution(str) -
description(str) -
genres(list[str]) -
url(HttpUrl) -
source(HttpUrl)
title
pydantic-field
Title of the edition, e.g. "Breaking Bad - Intégrale de la série + El Camino : un film "Breaking Bad".
image
pydantic-field
URL of the cover art, e.g. "https://images.epagine.fr/5298/529876c88590b26470b6a8f19bb0955a_1_v.jpg".
date_parution
pydantic-field
Release date of the media cover, e.g. "5 Octobre 2022".
description
pydantic-field
Synopsis, e.g. "Walter White, 50 ans, est professeur de chimie...".
genres
pydantic-field
DVDFr genres, when available on the page, e.g. ["Fantastique / Science-fiction"].
url
pydantic-field
URL of the DVDFr page for this edition, e.g. "https://www.dvdfr.com/dvd/3333290016961-breaking-bad-integrale-de-la-serie/".