esa-node
esa.io API v1 client library for nodejs.
Installation
via npm
$ npm install --save esa-node
via yarn
$ yarn add esa-node
Supported methods
- teams
- team
- members
- posts
- post(post_number)
- create_post
- comments
- comment
- invitation
- user
Example
// Setupconst esa = 'access_token' 'teamName' // Fetch postsconst res = await esaconsole // Change teamconst teamResponse = await esaesaconst posts = esa
Contributing
- Fork it ( https://github.com/mottox2/esa-node/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 a new Pull Request