taylor / kiex

Elixir version manager
http://taylor.github.io/kiex/
MIT License
766 stars 65 forks source link

Add GitHub OAuth header #23

Closed BanzaiMan closed 9 years ago

BanzaiMan commented 9 years ago

Fixes https://github.com/taylor/kiex/issues/22

This PR introduces function curl_with_args, which adds GitHub OAuth header if $KIEX_OAUTH_TOKEN env var is defined. This raises the API rate limit from 60 per hour to 5000 per hour.

taylor commented 9 years ago

Looks good. Thanks @BanzaiMan