nahimnasser / liquor Goto Github PK
View Code? Open in Web Editor NEWDownload the LCBOAPI's product database with this script.
Download the LCBOAPI's product database with this script.
===== Liquor ===== Liquor is a simple library that will copy the lcbo's products api to your database. This was created from a workshop assignment for the YMC (www.theymc.com). The purpose is to avoid creating fake data, when building sample applications, Using manage.py steal_booze, we can now populate our database with live data, and build a sample site with accurate information. http://git.io/NM2urA Quick start ----------- 1. `pip install liquor` 2. Add "liquor" to your INSTALLED_APPS setting like this:: INSTALLED_APPS = ( ... 'liquor', ) 3. Run `python manage.py syncdb` to create the LcboProduct models. 4. Run `python manage.py steal_booze` to get data from the LCBO API, and store it in your models. 5. Run `python manage.py analyze_booze` to get some insights. Accessing the data ----------------- 1. Run `python manage.py shell` to launch the shell 2. `from liquor import models` 3. `models.LcboProduct.objects.all()`
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.