pachadotdev / analogsea

Digital Ocean R client
https://pacha.dev/analogsea/
Apache License 2.0
155 stars 24 forks source link

Update documentation #19

Closed karthik closed 10 years ago

karthik commented 10 years ago

Two issues. There is little documentation on setting up a new application, which do_auth() requires to have a client_id. Also while the client is quite informative (digocean_client_id) the key is a very generic variable name (api_key), which can lead to confusion with other packages.

Also instead of interactively requiring keys (when missing), how about authorizing over the web and writing the credentials to a new env?

sckott commented 10 years ago

Right, i assume we would do auth over web, but docs say they just want the oauth token https://developers.digitalocean.com/v2/#authentication

sckott commented 10 years ago

@karthik good point about better docs though.

karthik commented 10 years ago

Sorry the comments were on the wrong version. A more streamlined auth would be great.

sckott commented 10 years ago

done, addressed in #20