git clone git@github.com:mahendra-s/play-spark.git
cd play-spark
sbt clean run
/v1/pricehistory?period=week
e.g http://localhost:9000/v1/pricehistory?period=week
/v1/pricehistory?period=week&rollingavg=2
e.g http://localhost:9000/v1/pricehistory?period=week&rollingavg=2
/v1/pricehistory?period=month
e.g http://localhost:9000/v1/pricehistory?period=month
/v1/pricehistory?period=month&rollingavg=2
e.g http://localhost:9000/v1/pricehistory?period=month&rollingavg=2
/v1/pricehistoryperiod?start=2018-06-01&end=2018-06-06
e.g http://localhost:9000/v1/pricehistoryperiod?start=2018-06-01&end=2018-06-06
/v1/pricehistoryperiod?start=2018-06-01&end=2018-06-06&rollingavg=2
e.g http://localhost:9000/v1/pricehistoryperiod?start=2018-06-01&end=2018-06-06&rollingavg=2
/v1/priceforecast?days=15
e.g http://localhost:9000/v1/priceforecast?days=15
/v1/priceforecast?days=15&rollingavg=3
e.g http://localhost:9000/v1/priceforecast?days=15&rollingavg=3
/display/pricehistory?period=week&rollingavg=2
e.g http://localhost:9000/display/pricehistory?period=week&rollingavg=2
/display/pricehistory?period=month&rollingavg=2
e.g http://localhost:9000/display/pricehistory?period=month&rollingavg=2