CachedTwitterUser

Documentation for eth_defi.feed.twitter_api.CachedTwitterUser Python class.

class CachedTwitterUser

Bases: object

Cached user metadata from a handle-to-ID lookup.

Attributes summary

user_id

Numeric X user ID (stable identity).

name

Display name at the time of lookup.

handle

Handle at the time of lookup.

fetched_at

When this entry was last resolved from the API.

Methods summary

__init__(user_id, name, handle, fetched_at)

user_id: str

Numeric X user ID (stable identity).

name: str

Display name at the time of lookup.

handle: str

Handle at the time of lookup.

fetched_at: str

When this entry was last resolved from the API.

__init__(user_id, name, handle, fetched_at)
Parameters
  • user_id (str) –

  • name (str) –

  • handle (str) –

  • fetched_at (str) –

Return type

None