orcax / nbpa-parking

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NBPA Parking Statistical Tool

Git Usage

# Fetch codes from remote repository
git pull
# Submit code to local repository
git add -A
git commit "some update comment here"
# Sync to remote repository
git push -u origin master

API Description

  • Get occupancy list by conditions.

    URL: /occupancy

    Method: GET

    Data Params:

    * location=[string]
    * startDate=[mm/dd/yyyy]
    * endDate=[mm/dd/yyyy]
    * weekdays=[list of integers among 1-7](separated by comma)
    * startTime=[hh:mm]
    * endTime=[hh:mm]
    
  • Calculate average value for hourly data by conditions.

    URL: /occupancy/meanHour

    Method: GET

    Data Params:

    * location=[string]
    * startDate=[mm/dd/yyyy]
    * endDate=[mm/dd/yyyy]
    * weekdays=[integer from 1-7]
    

About


Languages

Language:Java 67.6%Language:JavaScript 20.5%Language:HTML 10.8%Language:CSS 1.1%