You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Felipe M 9bb7b5a756
docs: some information in readme
1 day ago
cmd/server feat: added support for more shops 1 day ago
pkg feat: added support for more shops 1 day ago
.gitignore Initial commit 1 month ago
LICENSE Initial commit 1 month ago
README.md docs: some information in readme 1 day ago
go.mod feat: added support for more shops 1 day ago
go.sum feat: added support for more shops 1 day ago

README.md

bazaar

A service/library to extract product information from URLs.

Data model

Currently, this information is extracted from the site (if possbile):

{
    "image_url": "<url>", // (string) URL to an image file
    "in_stock": false, // (bool) If the item is currently available for purchase
    "name": "<name>", // (string) The name of the product as it appears on the site
    "price": 14.21, // (optional, float) The price of the product [parsed by the library]
    "price_text": "14,21 €", // (optional, string) The price of the product as it appears on the site (with currency)
    "release_date": "2021-03-22T00:00:00Z", // (optional, string RFC3339) the release date of the item
    "url": "<url>" // (string) The URL of the item
}

Supported sites

Support is handled in a best effort basis. Some sites do not provided all exposed fields.

Running

go run cmd/server/main.go