a freakin' simple node wrapper for yo api
install via npm:
npm i yo-api
in your code:
Yo = require "yo-api"
yo = new Yo "your-yo-api-token"
yo.yoall (err, res, body) ->
# do whatever..
yo.yo "WORLDCUP", (err, res, body) ->
# do something else..
yo.subscribers_count (err, res, body) ->
# do something with count...
- fork it ( https://github.com/sakatam/node-yo-api/fork )
- create your feature branch (
git checkout -b my-new-feature
) - commit your changes (
git commit -am 'Add some feature'
) - push to the branch (
git push origin my-new-feature
) - create new pull request