Skip to content

br0r/systemet-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

systemet-api

An API for swedish Systembolaget data

Nothing useful here yet

This repo is highly unstable. Feel free to clone or fork if you like, but I wouln't rely on it for anything else than educational purposes

Setting up DB from scratch

A copy from 2016-04-23 is located inside repo.

cd db
sqlite3 systemet.db < db.schema
create_db.py --products-file PRODUCTS_FILE.csv --stores-file STORES_FILE.csv

Setup

# TBD

Run python3 server.js and go to localhost:5000

API

/products?
n - INT number of results
name - STRING name of product, checks both name and name_2

/stores?
n - INT number of results
q - STRING search in keywords
name - STRING name of store

About

An API for swedish Systembolaget data

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages