Skip to content

Archive properties

alkihis edited this page Feb 17, 2020 · 12 revisions

You can explore archive properties (creation date, owner...) by using the TwitterArchive instance.

Properties / Accessors

  • .tweets: Access to the TweetArchive instance.
  • .user: Access to the UserData instance (see it in the next part)
  • .generation_date: Archive creation date.
  • .is_gdpr: True if archive is a GDPR archive.
  • .info: Access to archive information. See BasicArchiveInfo interface.
  • .is_zip_loaded: True if ZIP is loaded in the object.
  • .synthetic_info: Quick info to summarize the archive.
  • .hash: Hash for loaded archive. Used to identifiate similar archives. Based on user details, tweet count and dm count.
  • .events: To listen to read events.

GDPR archive specificities

Some properties are restricted for the GDPR archive.

  • .messages: Access to the DMArchive instance. Details for this property are available in the Direct Messages section.
  • .favorites: Access to the FavoriteArchive instance. Details for this property are available in the Explore Favorites.
  • .mutes: Set of muted user IDs.
  • .blocks: Set of blocked user IDs.
  • .followers: Set of followers user IDs.
  • .followings: Set of followings user IDs.
  • .moments: Moments created by the user.
  • .lists: Registred/Created lists of the user.
  • .medias: Access to medias folders through MediaArchive instance.
  • .ads: Access to the AdArchive instance.

Utilities:

  • .releaseZip(): If you don't need ZIP anymore, you can unload it here. It will free memory.

Continue

Next page is User data.

Clone this wiki locally