MrKampf / proxmoxVE

The is a PHP 8 ProxmoxVe API client. With it you can easily and quickly retrieve information from your Proxmox server or cluster.
GNU General Public License v3.0
51 stars 26 forks source link

Get requests params #21

Closed sriccio closed 2 years ago

sriccio commented 2 years ago

This PR adds globally optional $params supports for GET requests.

It also add support for optional $params in Resources.php get function.

You can now filter the type of resource you want to fetch, for example:

cluster()->resources()->get(['type' => 'node']);