Licence
MIT
Version
0.1.0-beta8
Deps
5
Vulns
0
Weekly
0
Install
npm install --save twitbot-core@0.1.0
Usage
import Twitbot from 'twitbot-core';
const TT = new Twitbot({
consumer_key: "xx",
consumer_secret: "xxx",
access_token: "xxx",
access_token_secret: "xxx",
})
| params | value |
|---|---|
| consumer_key | xx |
| consumer_secret | xx |
| access_token | xx |
| access_token_secret | xx |
| timeout | xx |
Twitbotcore Methods
Twitbot use
TT.use(() => {
return fuckTwet(params){
// twitbot avaible area
return this.followers()
}
}) // now TT.extra.fuckTwet avaible
TT.extra.fuckTwet({yolo:true})
// or
TT.use({
hello:{
path: 'search/tweets',
method: 'get'
}
})