tma15 / python-tabelog

python wrapper for tabelog API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

python-tabelog

Install

git clone https://github.com/tma15/python-tabelog.git
cd python-tabelog
python setup.py install

Example

key = 'Your access key here.'
tabelog = Tabelog(key)
prefecture = '東京'
station = '渋谷'
restaurants = tabelog.search_restaurant(prefecture=prefecture, station=station)

for restaurant in restaurants:
    print 'rcd:', restaurant.rcd
    print 'name:', restaurant.name
    print 'url:', restaurant.tabelogurl
    print 'mobile url:', restaurant.tabelogmobileurl
    print 'dinner price:', restaurant.dinnerprice
    print 'lunch price:', restaurant.lunchprice
    print 'total score:', restaurant.totalscore
    print 'taste score:', restaurant.tastescore
    print 'service score:', restaurant.servicescore
    print 'mood score:', restaurant.moodscore
    print 'category:', restaurant.category
    print 'station:', restaurant.station
    print 'situation:', restaurant.situation

About

python wrapper for tabelog API


Languages

Language:Python 100.0%