fme-twitter
Version:
Twitter module for aggregating twitter data
178 lines (177 loc) • 4.35 kB
TypeScript
export declare class Contributor {
id: number;
id_str: string;
scren_name: string;
}
export declare class Cordinates {
coordinates: Float64Array;
type: string;
}
export declare class Url {
display_url: string;
expanded_url: string;
url: string;
indicies: number[];
}
export declare class Entity {
hastags: string[];
urls: Url[];
user_metnions: string[];
symbols: string[];
media: Media[];
}
export declare class EntitiesExtended extends Entity {
hastags: string[];
urls: Url[];
user_metnions: string[];
media: Media[];
}
export declare class KloutClass {
kloutID: string;
score: number;
scoreDelta: {
dayChange: number;
weekChange: number;
monthChange: number;
};
bucket: string;
constructor();
}
export declare class MediaSize {
h: number;
w: number;
resize: string;
}
export declare class Media {
url: string;
display_url: string;
expanded_url: string;
id: number;
id_str: string;
indices: number[];
media_url: string;
media_url_https: string;
sizes: {
large: MediaSize;
medium: MediaSize;
small: MediaSize;
thumb: MediaSize;
type: string;
url: string;
};
}
export declare class extended_tweet {
display_test_range: number[];
entities: EntitiesExtended;
full_text: string;
}
export declare class DupScore {
maxLevScore: number;
minLevScore: number;
maxTweetId: number;
minTweetId: number;
matchCount: number;
index: number;
threshHold: number;
constructor(threshHold: number);
}
export declare class Tweet {
contributors: Contributor[];
coordinates: Cordinates;
created_at: Date;
display_text_range: String[];
entities: Entity[];
favorite_count: number;
favorited: boolean;
filter_level: string;
geo: null;
id: number;
msgid: number;
id_string: string;
in_replay_to_screen_name: null;
in_reply_to_status_id: null;
in_reply_to_status_id_str: null;
in_reply_to_user_id: null;
in_reply_to_user_id_str: null;
is_quote_status: boolean;
lang: string;
full_link: string;
title: string;
place: null;
possibly_sensitive: boolean;
retweet_count: number;
retweeted: boolean;
source: string;
source_type: string;
authorID: number;
text: string;
excerpt: string;
user: AuthorModel;
hash: string;
likes: number;
dislikes: number;
clicks: number;
levscore: number;
orig: any;
_embedded: any;
blocked: boolean;
blocked_reason: String[];
href: string;
guid: string;
image_url: string;
score: number;
stripped: string;
dupScore: DupScore;
}
export declare class AuthorModel {
klout: KloutClass;
likes: number;
dislikes: number;
publish_count: number;
rejects: number;
contributors_enabled: boolean;
created_at: Date;
default_profile: boolean;
default_profile_image: boolean;
description: null;
entities: Entity[];
favorites_count: number;
follow_request_sent: boolean;
followers_count: number;
following: boolean;
friends_count: number;
geo_enabled: boolean;
id: number;
id_str: string;
is_translator: false;
lang: string;
listed_count: string;
location: string;
name: string;
notifications: string;
profile_background_color: string;
profile_background_image_url: string;
profile_background_image_url_https: string;
profile_background_tile: string;
profile_image_url: string;
profile_image_url_https: string;
profile_link_color: string;
profile_sidebar_border_color: string;
profile_sidebar_fill_color: string;
profile_text_color: string;
profile_use_background_image: boolean;
protected: false;
screen_name: string;
statuses_count: number;
time_zone: string;
url: string;
utc_offset: string;
verified: boolean;
fmeID: string;
isBanned: boolean;
isBannedReason: string;
isBannedDate: Date;
source: string;
site: string;
article_count: number;
}