Posted on 04-12-2016 10:08 AM
I got tired of having to go into JSS every time I needed to Update Inventory on a kid's iPad, so I wrote a SUPER simple python script that runs a webserver (using Flask) to update it via the API. Basically, you set the script to run, create a configuration profile, and enjoy.
Further instructions and the script at my GitHub repo
Posted on 04-12-2016 10:42 AM
Fantastic!
Now if only Apple would implement a way to do it without the command being generated on the server...
Posted on 09-29-2017 11:37 AM
Awesome work! This worked flawlessly... It's so much easier having a quick way to update the inventory on the fly for student devices.
Posted on 12-13-2017 07:19 AM
This worked flawlessly... Thanks @GSSRyan and @bumbletech for telling me about this!
Posted on 03-11-2018 03:19 PM
Why doesn't it work when you add the link in the a Web Kit or Web view in swift? It work correctly as a web clip in JSS. But you can't add a web clip in to a Casper (Focus) single app mode.
Posted on 04-06-2021 12:44 PM
I know that this is an old solution, but is anyone else running into this issue? Everything has been working flawlessly for nearly 4 years now. Today we're seeing some odd behavior. When we submit a request for an update, it fails and all we get in the jss-flask window is gibberish.
I have wiped and reinstalled Python 2.7.18, Flask, requests, and jss-flask. Nothing has changed on the JSS other than updating to 10.27.0 a couple weeks back. Any thoughts or guidance is appreciated!