A service/library to extract product information from URLs.
Variable name | Default | Description |
---|---|---|
HTTP_ENABLED |
true |
Enable/Disable the HTTP server |
HTTP_PORT |
8080 |
Port to serve the HTTP in |
-
POST /item
Parameters:
- url: The URL to extract information from
Responses:
200
: Information extracted400
: Shop not supported, missing parameters500
: Internal error, check logs
-
GET /liveness
Responses:
200
: Server running
Currently, this information is extracted from the site (if possbile):
{
"description": "...",
"image_url": "https://...",
"in_stock": false,
"name": "...",
"price": 0.0,
"price_text": "0,0 €",
"release_date": "2019-03-08T00:00:00Z",
"url": "https://..."
}
Support is handled in a best effort basis. Some sites do not provided all exposed fields.