Skip to content

Latest commit

 

History

History
54 lines (37 loc) · 1.12 KB

README.md

File metadata and controls

54 lines (37 loc) · 1.12 KB

cdiscount_robin_clementine

cdiscount_robin_clementine is a Python library for parsing any cdiscount product price.

Installation

Use the package manager pip to install this package.

pip install -i https://test.pypi.org/simple/ cdiscount_robin_clementine

Usage

from cdiscount_robin_clementine.price_parser import parse_price

print(parse_price('<SKU>'))

You can find any product's SKU in the product page URL.

Web app

A litte user interface is included to this project

To use it, you need to have Node.js and NPM installed : npm

Go to /parser-app with command line tool and run :

npm install

then :

npm run serve

Don't forget :

pip install flask_cors

Finally: run flask server :

env FLASK_APP=server.py flask run

Go to : localhost

And you can enjoy!

License

Copyright (c) 2018 The Python Packaging Authority