Nintendo Eshop Prices
A wrapper python for eshop-prices.com
Available resources
- Search
- Get prices from URL
- Get prices
- Get top discounts
- Get availables currencies
Install
$ pip install eshop-prices
Contribute
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
Usage
Search
from eshop_prices import EshopPrices
eshop = EshopPrices(currency="BRL")
eshop.search("Zelda")
Get prices from url
from eshop_prices import EshopPrices
eshop = EshopPrices(currency="BRL")
eshop.get_prices_from_url("/games/164-mario-kart-8-deluxe/")
Get prices
from eshop_prices import EshopPrices
eshop = EshopPrices(currency="BRL")
eshop.get_prices("Zelda")
Get top discounts
from eshop_prices import EshopPrices
eshop = EshopPrices(currency="BRL")
eshop.get_top_discounts()
Get available currencies
from eshop_prices import EshopPrices
eshop = EshopPrices(currency="BRL")
eshop.get_available_currencies()