MCPcopy Create free account

hub / github.com/alkihis/twitter-archive-reader / functions

Functions335 in github.com/alkihis/twitter-archive-reader

↓ 29 callersMethodget
* Get a media from a specific media type. * * @param from Media archive type * @param name Filename (exact filename required) * @param as_arra
ts/MediaArchive.ts:61
↓ 27 callersMethodhas
(id_str: string)
ts/tweets/TweetArchive.ts:17
↓ 22 callersMethodadd
(elements: T[])
ts/tweets/TweetArchive.ts:13
↓ 18 callersMethodready
()
ts/reading/StreamArchive.ts:368
↓ 17 callersMethodget
( name: string, type: "text" | "arraybuffer" | "blob" = "text", parse_auto = true
ts/reading/StreamArchive.ts:380
↓ 17 callersMethodread
()
ts/reading/StreamZip.ts:878
↓ 15 callersMethodentries
()
ts/reading/StreamZip.ts:471
↓ 13 callersMethoddir
(name: string)
ts/reading/StreamArchive.ts:372
↓ 13 callersMethodfind
* Search into **tweets** using **query**. * * Query can contain keywords. * Default available keywords are: * - `since:{YYYY-MM-DD} or {YY
ts/tweets/TweetArchive.ts:876
↓ 12 callersMethodsearch
(query: RegExp)
ts/reading/StreamArchive.ts:403
↓ 11 callersFunctionwrite
(name: string, data: any)
ts/test/basic_t.ts:20
↓ 10 callersFunctionparseTwitterDate
(date: string)
ts/utils/exported_helpers.ts:84
↓ 10 callersMethodsingle
(id_str: string)
ts/tweets/TweetArchive.ts:16
↓ 9 callersMethodemitAndChangeState
(step: string, new_state?: ArchiveReadState)
ts/TwitterArchive.ts:1068
↓ 8 callersFunctiondateFromTweet
(tweet: PartialTweet)
ts/utils/exported_helpers.ts:100
↓ 8 callersMethodready
Resolved when archive read is over.
ts/TwitterArchive.ts:642
↓ 8 callersMethodsearchDir
(query: RegExp)
ts/reading/StreamArchive.ts:407
↓ 6 callersMethodget
* @deprecated Use `.single()` instead.
ts/tweets/FavoriteArchive.ts:47
↓ 6 callersMethodreadUntilFoundCallback
(err: any, bytesRead: number)
ts/reading/StreamZip.ts:338
↓ 5 callersMethodall
* All tweets registered in this archive. * * Remember that it's not assured that tweets are sorted. * * To get ordered tweets, use `.sorte
ts/tweets/TweetArchive.ts:388
↓ 5 callersMethodgetFolderOfType
(archive: string)
ts/MediaArchive.ts:101
↓ 5 callersMethodinitArchivePart
* Read one or more archive parts from loaded archive. * * You don't need to call this method if you use the default constructor.
ts/TwitterArchive.ts:364
↓ 5 callersMethodmonth
(month: string | number, year: string | number)
ts/tweets/TweetArchive.ts:14
↓ 4 callersMethodaddTweetsToGdprArchive
(tweets: PartialTweetGDPR[])
ts/TwitterArchive.ts:221
↓ 4 callersMethodcheckOp
()
ts/reading/StreamZip.ts:911
↓ 4 callersFunctionsortTweets
(tweets: T[], order: "asc" | "desc" = "desc")
ts/utils/exported_helpers.ts:141
↓ 3 callersMethodcheckEntriesExist
()
ts/reading/StreamZip.ts:461
↓ 3 callersFunctionconstructArchive
(archive: AcceptedZipSources)
ts/reading/StreamArchive.ts:49
↓ 3 callersFunctiondateFromFavorite
(favorite: PartialFavorite)
ts/utils/exported_helpers.ts:108
↓ 3 callersMethodfile
(name: string, as_array_buffer?: T)
ts/MediaArchive.ts:487
↓ 3 callersMethodloadPart
* Load a part of CollectedUserData archive. * * Should be used to build from hand this object.
ts/user/UserData.ts:295
↓ 3 callersMethodparseAge
(age: string[])
ts/user/UserData.ts:542
↓ 3 callersFunctionsafePusher
(array: Array<T>, elements: Array<T>)
ts/utils/helpers.ts:24
↓ 3 callersMethodsearch
* Deprecated. Use `.find()` instead, that is more future proof.
ts/tweets/TweetArchive.ts:811
↓ 3 callersFunctionsupportsBigInt
()
ts/utils/helpers.ts:6
↓ 2 callersFunctionaddEvents
(e: DirectMessageEventsContainer)
ts/utils/exported_helpers.ts:23
↓ 2 callersMethodaddGDPR
* Add unconverted GDPR tweets to this archive. * This method should not be called by end-programmer. * * Prefer usage of `TwitterArchive.load
ts/tweets/TweetArchive.ts:80
↓ 2 callersMethodarrayMonthIterator
* Iterate array of tweets by month * * @param order Order by `asc` or `desc`.
ts/tweets/TweetArchive.ts:510
↓ 2 callersMethodbetween
Get tweets in a specific time interval.
ts/tweets/TweetArchive.ts:195
↓ 2 callersMethodcanVerifyCrc
(entry: ZipEntry)
ts/reading/StreamZip.ts:535
↓ 2 callersMethoddata
(data: Buffer)
ts/reading/StreamZip.ts:1049
↓ 2 callersMethoddataOffset
(entry: ZipEntry)
ts/reading/StreamZip.ts:531
↓ 2 callersFunctiondateOfDMEvent
(event: { createdAt: string, createdAtDate?: Date })
ts/utils/helpers.ts:10
↓ 2 callersFunctiondateRegexFromQuery
(query: string)
ts/tweets/TweetArchive.ts:650
↓ 2 callersMethodfromTweetMediaEntity
* Extract related tweet video or picture from a media entity. * * ```ts * const tweet = archive.tweets.all[0]; * * if (tweet.extended_e
ts/MediaArchive.ts:198
↓ 2 callersMethodgetArchiveType
(archive: string)
ts/MediaArchive.ts:90
↓ 2 callersMethodinitOrAwaitArchive
(archive_type: ExistingArchives | string, init_folder: string | string[])
ts/MediaArchive.ts:339
↓ 2 callersMethodinitUserCache
()
ts/TwitterArchive.ts:962
↓ 2 callersMethodloadArchivePart
* Load a part of a GDPR archive. * * Set current archive as GDPR archive.
ts/TwitterArchive.ts:765
↓ 2 callersMethodofDm
* Return all the images of a direct message, as blob or array buffer. * * If the message does not exists or the DM archive is not loaded / avail
ts/MediaArchive.ts:130
↓ 2 callersMethodopen
(chunkSize?: number)
ts/reading/StreamZip.ts:314
↓ 2 callersMethodopenEntry
(entry: ZipEntry | string)
ts/reading/StreamZip.ts:559
↓ 2 callersFunctionparseZipTime
(timebytes: number, datebytes: number)
ts/reading/StreamZip.ts:849
↓ 2 callersMethodread
( file: FolderEntry, type: "text" | "arraybuffer" | "blob" = "text", parse_auto =
ts/reading/FolderArchive.ts:166
↓ 2 callersMethodread
( file: ZipEntry, type: "text" | "arraybuffer" | "blob" = "text", parse_auto = tru
ts/reading/StreamArchive.ts:196
↓ 2 callersMethodread
( file: JSZip.JSZipObject, type: "text" | "arraybuffer" | "blob" = "text", parse_a
ts/reading/StreamArchive.ts:411
↓ 2 callersMethodreadCallback
(bytesRead: number, buffer: Buffer)
ts/reading/StreamZip.ts:1004
↓ 2 callersMethodreadEntries
()
ts/reading/StreamZip.ts:403
↓ 2 callersMethodready
()
ts/MediaArchive.ts:479
↓ 2 callersFunctionsortFavorites
(favorites: PartialFavorite[], order: "asc" | "desc" = "desc")
ts/utils/exported_helpers.ts:163
↓ 2 callersFunctiontoBits
(dec: number, size: number)
ts/reading/StreamZip.ts:842
↓ 1 callersMethod__init
* **For internal module use only.** * * Can **ONLY** be used with GDPR archives. * * For loading basic user info, you must use `.loadPar
ts/user/UserData.ts:57
↓ 1 callersMethod__initUserCache
* Needed to convert GDPR tweets to PartialTweets. * * **You should not use this method! This is for internal purpose.**
ts/tweets/TweetArchive.ts:542
↓ 1 callersMethodadd
* Add a new conversation part to actual conversation. * Actual conversation and new part must have the same ID. * * After you've imported all
ts/direct_messages/Conversation.ts:486
↓ 1 callersMethodaddClicked
* Add clicked actions to this container.
ts/tweets/TweetArchive.ts:93
↓ 1 callersMethodautoDetectIfArrayBuffer
()
ts/MediaArchive.ts:545
↓ 1 callersMethodautoDetectStoreType
(archive: ConstructibleArchives)
ts/MediaArchive.ts:364
↓ 1 callersMethodconvertToPartial
(tweet: PartialTweetGDPR)
ts/tweets/TweetArchive.ts:557
↓ 1 callersMethoddetectMimeType
(name: string)
ts/MediaArchive.ts:516
↓ 1 callersMethodentryData
(entry: ZipEntry | string)
ts/reading/StreamZip.ts:598
↓ 1 callersFunctionescapeRegExp
(string: string)
ts/tweets/TweetArchive.ts:1067
↓ 1 callersMethodexpandLeft
(length: number)
ts/reading/StreamZip.ts:927
↓ 1 callersMethodfromDmMediaUrl
* Extract the related media file to a URL present in the `mediaUrls` array of a Direct Message.
ts/MediaArchive.ts:145
↓ 1 callersMethodfromFile
* Create a new instance of Archive from a file contained in this archive. * * @param name File name or file object
ts/reading/StreamArchive.ts:466
↓ 1 callersMethodget
Get a conversation with specific ID. undefined if it does not exists.
ts/direct_messages/DMArchive.ts:41
↓ 1 callersMethodget
( name: string, type: "text" | "arraybuffer" | "blob" = "text", parse_auto = true
ts/reading/FolderArchive.ts:148
↓ 1 callersMethodget
( name: string, type: "text" | "arraybuffer" | "blob" = "text", parse_auto = true
ts/reading/StreamArchive.ts:178
↓ 1 callersMethodgetCrcTable
()
ts/reading/StreamZip.ts:1067
↓ 1 callersMethodgetEntries
(from_directory: string)
ts/reading/FolderArchive.ts:50
↓ 1 callersFunctiongetEventsFromMessages
( msgs: LinkedDirectMessage[], include_messages = false, remove_double_linked_list = false, )
ts/utils/exported_helpers.ts:18
↓ 1 callersFunctiongetExtendedContainerBase
()
ts/TwitterArchive.ts:26
↓ 1 callersMethodgetProfileBannerOf
* Get the profile banner of given user. * * The first parameter should generally be `archive.user`. * * If user has no banner, this method
ts/MediaArchive.ts:237
↓ 1 callersMethodgetProfilePictureOf
* Get the profile picture of given user. * * The first parameter should generally be `archive.user`. * * If user has no profile picture, t
ts/MediaArchive.ts:253
↓ 1 callersMethodhas
Test if archive has a conversation with ID {id}
ts/direct_messages/DMArchive.ts:46
↓ 1 callersMethodhas
(name: string)
ts/reading/StreamArchive.ts:376
↓ 1 callersMethodindexate
* Index imported messages. * Needed to see all DMs. * * Should be call after you've imported all with **.add()**.
ts/direct_messages/Conversation.ts:506
↓ 1 callersMethodinit
(parts_to_read: Set<ArchiveReadPart>)
ts/TwitterArchive.ts:237
↓ 1 callersFunctioninitAdArchiveFromArchive
(archive: BaseArchive<any>, ads: AdArchive)
ts/utils/helpers.ts:43
↓ 1 callersMethodinitAgeInfo
()
ts/user/UserData.ts:148
↓ 1 callersMethodinitClassic
(parts_to_read: Set<ArchiveReadPart>)
ts/TwitterArchive.ts:343
↓ 1 callersMethodinitConnectedApps
()
ts/user/UserData.ts:201
↓ 1 callersMethodinitCreationIp
()
ts/user/UserData.ts:189
↓ 1 callersMethodinitEmailAddresses
()
ts/user/UserData.ts:224
↓ 1 callersMethodinitGDPR
(parts_to_read: Set<ArchiveReadPart>)
ts/TwitterArchive.ts:271
↓ 1 callersMethodinitIpAudit
()
ts/user/UserData.ts:240
↓ 1 callersMethodinitNiDevices
()
ts/user/UserData.ts:255
↓ 1 callersMethodinitPersonalization
--------------
ts/user/UserData.ts:85
↓ 1 callersMethodinitPhoneNumber
()
ts/user/UserData.ts:278
↓ 1 callersMethodinitProtectedHistory
()
ts/user/UserData.ts:180
↓ 1 callersMethodinitScreenNameHistory
()
ts/user/UserData.ts:171
next →1–100 of 335, ranked by callers