twitbot-core
v0.1.0-beta8
Published
twitbot-core package
Downloads
7
Readme
Install
npm install --save [email protected]
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'
}
})