Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/seandenigris/digitaloceanst
Digital Ocean API Smalltalk Wrapper
https://github.com/seandenigris/digitaloceanst
Last synced: 6 days ago
JSON representation
Digital Ocean API Smalltalk Wrapper
- Host: GitHub
- URL: https://github.com/seandenigris/digitaloceanst
- Owner: seandenigris
- License: mit
- Created: 2015-03-08T18:16:43.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-03-08T18:21:26.000Z (almost 10 years ago)
- Last Synced: 2024-11-17T19:11:40.620Z (2 months ago)
- Language: Smalltalk
- Size: 152 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Wrapper of [Digital Ocean's web API](https://developers.digitalocean.com/)
#### Authentication
Digital Ocean uses two tokens to identify you:
- client ID
- api keyThese are managed via the [API Access page](https://cloud.digitalocean.com/api_access)
To initialize these tokens:
DoCredentials current
clientID: 'a long identifier';
apiKey: 'another long identifier'.Now all API calls will originate from this user.
####Active Droplets
DoDroplet allActive.
DoDroplet allActive detect: [ :e | e name = 'mycooldomain.org' ].####Droplet Sizes
Two useful queries:DoDropletSize all.
DoDropletSize named: '512MB'####Images
DoImage globalImages.
DoImage snapshots.
DoImage all