Hi I am looking for a simple php code that can list all my droplets. This is for my website. I used to use this for v1 API and now it dose not work with v2 API. please help. here is my v1 code
```
<!DOCTYPE html PUBLI...
Accepted Answer:
@PenwellDlamini Give this a shot :)
```
<?php
$api = 'https://api.digitalocean.com/v2/droplets';
$token = 'your-token';
$options = [
'http' => [
'meth...