+
Skip to content

JSON API to RPI WiFi data! #65

Open
@olyerickson

Description

@olyerickson

Hi Team!

So, we "sort of" have an API for the campus WiFi-based occupancy predictions, ie what the StudySafe app does. Currently this is "experimental"; we're working on publishing it in a more API-list fashion.

See https://inciteprojects.idea.rpi.edu/studysafe/app/studysafe/ for the three-years-now running app...

The basic URL pattern is: https://lp01.idea.rpi.edu/shiny/erickj4/StudySafeJSON/?building=CII&day=Sunday&hour=12
NOTE: You must be on the RPI VPN for this API access

The day​ and hour​ filters are optional; if you leave either or both off, it will list. building​ must be specified; it will default to EMPAC​ if you leave off.

To get a list of the available buildings just append with list​, ie: https://lp01.idea.rpi.edu/shiny/erickj4/StudySafeJSON/?list=TRUE

The service is providing JSON wrapped in HTML; you will need to do some hacking to get at the embedded JSON. We're working on providing this "for real."

TALK to Maryellen Marino (one of your RCOS mentors) about how to pull this JSON out...

Please let me know if you have questions!

John
PS: StudySafe is at: https://inciteprojects.idea.rpi.edu/studysafe/app/studysafe/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载