-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Vladimir Protsenko
committed
Oct 15, 2021
1 parent
d25d3e2
commit 2628a47
Showing
1 changed file
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Digitalocean API shell | ||
Console utility for working with DigitalOcean API | ||
|
||
### Requirements | ||
* PHP 7.4+ | ||
* [Composer](https://getcomposer.org) | ||
* PHP [Curl](https://www.php.net/manual/book.curl.php) extension | ||
* PHP [GMP](https://www.php.net/manual/book.gmp.php) extension | ||
* PHP [JSON](https://www.php.net/manual/book.json.php) extension | ||
|
||
### Installation | ||
* Run `composer create-project grayfolk/digitalocean-api-shell`. | ||
* Go to `digitalocean-api-shell` folder and edit `accounts.json`. This is a simple [JSON](https://www.json.org) file with `"username" : "API Key"` records. You can use whatever name is convenient for you (but it shoud be unique) and real DigitalOcean API key. You can obtain API key in your [DigitalOcean Account - API - Personal access tokens - Generate New Token](https://cloud.digitalocean.com/account/api/tokens/new). | ||
|
||
### Running | ||
Go to `digitalocean-api-shell` folder and run `./do`. |