phillbaker / digitalocean-node

Unofficial node client for the v2 DigitalOcean API
http://phillbaker.github.io/digitalocean-node
MIT License
67 stars 16 forks source link

Missing: Listing Droplets by Tag #4

Closed royalgarter closed 8 years ago

royalgarter commented 8 years ago

Ref: https://developers.digitalocean.com/documentation/v2/#listing-droplets-by-tag

phillbaker commented 8 years ago

@royalgarter you should be able to do this via:

var tag = 'foo';
client.droplets.list({ tag_name: tag }, callback)

See #1. Going to close this issue for now, but if there's a way we could improve the documentation or examples, please comment!