Skip to content

hudsonbrendon/nintendo-eshop-prices

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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()

Dependencies

License

MIT