Skip to main content

twitter

Get twitter timeline for given coin id. Not more than last 50 tweets [Source: CoinPaprika]

Source Code: [link]

openbb.crypto.dd.twitter(symbol: str = "BTC", sortby: str = "date", ascend: bool = True)

Parameters

NameTypeDescriptionDefaultOptional
symbolstrCryptocurrency symbol (e.g. BTC)BTCTrue
sortbystrKey by which to sort data. Every column name is valid
(see for possible values:
https://api.coinpaprika.com/docs#tag/Coins/paths/~1coins~1%7Bcoin_id%7D~1twitter/get).
dateTrue
ascendboolFlag to sort data descendingTrueTrue

Returns

TypeDescription
pd.DataFrameTwitter timeline for given coin.
Columns: date, user_name, status, retweet_count, like_count