Pulling a complete switch inventory

The api will be needed.

Then a script like this could be the basis