MockDataRetriever
Summary
This contructor is private, you should access it via TwitterStreamChannels.launchMockDataRetriever(credentials,options)
This will allow you to create your own json data mocks
Keep in mind this class is not designed to retrieve lots of tweets on long duration.
It was only designed to ease the creation of your data mocks to use after with TwitterStreamChannels.getMockedClass()
More infos in the README on the github repo
Constructor
MockDataRetriever
Syntax
Summary
Parameters:
-
credentials
Object -
options
Object-
track
Arrayarray of keywords to track
-
output
Stringfilepath of the json file where to put the retrieved tweets
-
[maxNumber=200]
String optionalmaximum number of tweets that will be retrieved (default 200 / max 500)
-
[timeout=100000]
String optionalmaximum delay after the stream will close whatever number of tweets are captured (default 100 000ms)
-