Query builder for social APIs.
Explore the docs »
Report Bug
·
Request Feature
This project uses node and npm.
- npm
npm install npm@latest -g
# NPM
npm install --save @crowdrz/crowdrz-js
# Yarn
yarn add @crowdrz/crowdrz-js
- include it in your code.
const Crowdrz = require('@crowdrz/crowdrz-js')
const Crowdrz = require('@crowdrz/crowdrz-js')
const apiToken = '<api key>'
const facebook = new Crowdrz('facebook')
facebook.setToken(apiToken)
const me = await facebook.call('GET', '/me')
const me2 = await facebook
.setMethod('GET')
.setEndpoint('/me')
.call()
const me3 = await facebook.setEndpoint('/me').get()
console.log(me, me2, me3) // Same Output
npm test
See the open issues for a list of proposed features (and known issues).
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.