https://github.com/ecthros/vrest
Python interface for VMWare Workstation REST API
https://github.com/ecthros/vrest
Last synced: about 1 year ago
JSON representation
Python interface for VMWare Workstation REST API
- Host: GitHub
- URL: https://github.com/ecthros/vrest
- Owner: ecthros
- Created: 2022-08-07T22:37:45.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-02-25T01:24:25.000Z (over 3 years ago)
- Last Synced: 2025-03-25T09:52:46.582Z (about 1 year ago)
- Language: Python
- Size: 8.79 KB
- Stars: 5
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Turns out the VMWare Workstation has a REST API where you can do a bunch of cool stuff. This repo contains python bindings to make it easier to call the REST functions.
Unfortunately, the server doesn't start by default; you have to start it yourself. To do this, navigate to the folder where VMWare is installed and run `vmrest -C` (to set up the credential) and then `vmrest`:
1. C:\Program Files (x86)\VMware\VMware Workstation>vmrest -C
2. C:\Program Files (x86)\VMware\VMware Workstation>vmrest
When using this script, make sure to call vrest.authenticate(user, password) to set your username and password accordingly. You can also change the IP or port with vrest.set_ip(ip) or vrest.set_port(port).