Skip to content

Shanghai Disney Waiting Queue Statistics 上海迪士尼排队情况

License

Notifications You must be signed in to change notification settings

t01y/wait4disney

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is this ?

We all love Shanghai Disneyland, but the long long long waiting queue is going to kill us. So I need a better place to find which attraction is the lightest.

Also I want to find out which season is the best choice to travel to Disneyland, the statistic will give me the answer.

Installation

  1. install influxdb
  2. install grafana
$ git clone git://github.com/gtt116/wait4disney
$ cd wait4disney
$ pip install -r requirements.txt
$ python main.py

The influxdb configration was hard coded at main.py, please feel free to change them to meet your environment.

You can setup a crontab job to update disney waiting queue every minute. The grafana dashboard template locates at wait4disney/doc/grafana.json, you can import it to give a try.

Heatmap

To generate heatmap follow these steps:

python web.py > disney.json
python -mSimpleHTTPServer

Then open your favourite web browser to http://127.0.0.1:8000/index.html. you can also setup a crontab to generate report every day.

Web Snapshot

wait

About

Shanghai Disney Waiting Queue Statistics 上海迪士尼排队情况

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 54.0%
  • HTML 43.6%
  • Shell 2.4%