mirror of https://github.com/zedeus/nitter
29 lines
544 B
Nim
29 lines
544 B
Nim
|
import common
|
||
|
|
||
|
type
|
||
|
User* = object
|
||
|
idStr*: string
|
||
|
name*: string
|
||
|
screenName*: string
|
||
|
location*: string
|
||
|
description*: string
|
||
|
entities*: Entities
|
||
|
createdAt*: string
|
||
|
followersCount*: int
|
||
|
friendsCount*: int
|
||
|
favouritesCount*: int
|
||
|
statusesCount*: int
|
||
|
mediaCount*: int
|
||
|
verified*: bool
|
||
|
protected*: bool
|
||
|
profileBannerUrl*: string
|
||
|
profileImageUrlHttps*: string
|
||
|
profileLinkColor*: string
|
||
|
|
||
|
Entities* = object
|
||
|
url*: Urls
|
||
|
description*: Urls
|
||
|
|
||
|
Urls* = object
|
||
|
urls*: seq[Url]
|