A wrapper python for eshop-prices.com
- Search
- Get prices from URL
- Get prices
- Get top discounts
- Get availables currencies
$ pip install eshop-prices
Clone the repository project:
$ git clone https://github.com/hudsonbrendon/eshop-prices.git
Make sure Poetry is installed, otherwise:
$ pip install -U poetry
Install the dependencies:
$ poetry install
To run the tests:
$ pytest
from eshop_prices import EshopPrices
eshop = EshopPrices(currency="BRL")
eshop.search("Zelda")
from eshop_prices import EshopPrices
eshop = EshopPrices(currency="BRL")
eshop.get_prices_from_url("/games/164-mario-kart-8-deluxe/")
from eshop_prices import EshopPrices
eshop = EshopPrices(currency="BRL")
eshop.get_prices("Zelda")
from eshop_prices import EshopPrices
eshop = EshopPrices(currency="BRL")
eshop.get_top_discounts()
from eshop_prices import EshopPrices
eshop = EshopPrices(currency="BRL")
eshop.get_available_currencies()