Safe Haskell | None |
---|---|
Language | Haskell98 |
- type UserId = Integer
- type Friends = [UserId]
- type URIString = Text
- type UserName = Text
- type StatusId = Integer
- type LanguageCode = String
- data StreamingAPI
- data Status = Status {
- statusContributors :: Maybe [Contributor]
- statusCoordinates :: Maybe Coordinates
- statusCreatedAt :: UTCTime
- statusCurrentUserRetweet :: Maybe StatusId
- statusEntities :: Maybe Entities
- statusExtendedEntities :: Maybe Entities
- statusFavoriteCount :: Integer
- statusFavorited :: Maybe Bool
- statusFilterLevel :: Maybe Text
- statusId :: StatusId
- statusInReplyToScreenName :: Maybe Text
- statusInReplyToStatusId :: Maybe StatusId
- statusInReplyToUserId :: Maybe UserId
- statusLang :: Maybe LanguageCode
- statusPlace :: Maybe Place
- statusPossiblySensitive :: Maybe Bool
- statusScopes :: Maybe Object
- statusQuotedStatusId :: Maybe StatusId
- statusQuotedStatus :: Maybe Status
- statusRetweetCount :: Integer
- statusRetweeted :: Maybe Bool
- statusRetweetedStatus :: Maybe Status
- statusSource :: Text
- statusText :: Text
- statusTruncated :: Bool
- statusUser :: User
- statusWithheldCopyright :: Maybe Bool
- statusWithheldInCountries :: Maybe [Text]
- statusWithheldScope :: Maybe Text
- data SearchResult body = SearchResult {}
- data SearchStatus = SearchStatus {}
- data SearchMetadata = SearchMetadata {
- searchMetadataMaxId :: StatusId
- searchMetadataSinceId :: StatusId
- searchMetadataRefreshURL :: URIString
- searchMetadataNextResults :: Maybe URIString
- searchMetadataCount :: Int
- searchMetadataCompletedIn :: Maybe Float
- searchMetadataSinceIdStr :: String
- searchMetadataQuery :: String
- searchMetadataMaxIdStr :: String
- data RetweetedStatus = RetweetedStatus {
- rsCreatedAt :: UTCTime
- rsId :: StatusId
- rsText :: Text
- rsSource :: Text
- rsTruncated :: Bool
- rsEntities :: Maybe Entities
- rsUser :: User
- rsRetweetedStatus :: Status
- rsCoordinates :: Maybe Coordinates
- data DirectMessage = DirectMessage {}
- data EventTarget
- data Event = Event {}
- data Delete = Delete {}
- data User = User {
- userContributorsEnabled :: Bool
- userCreatedAt :: UTCTime
- userDefaultProfile :: Bool
- userDefaultProfileImage :: Bool
- userDescription :: Maybe Text
- userFavoritesCount :: Int
- userFollowRequestSent :: Maybe Bool
- userFollowing :: Maybe Bool
- userFollowersCount :: Int
- userFriendsCount :: Int
- userGeoEnabled :: Bool
- userId :: UserId
- userIsTranslator :: Bool
- userLang :: LanguageCode
- userListedCount :: Int
- userLocation :: Maybe Text
- userName :: Text
- userNotifications :: Maybe Bool
- userProfileBackgroundColor :: Maybe Text
- userProfileBackgroundImageURL :: Maybe URIString
- userProfileBackgroundImageURLHttps :: Maybe URIString
- userProfileBackgroundTile :: Maybe Bool
- userProfileBannerURL :: Maybe URIString
- userProfileImageURL :: Maybe URIString
- userProfileImageURLHttps :: Maybe URIString
- userProfileLinkColor :: Text
- userProfileSidebarBorderColor :: Text
- userProfileSidebarFillColor :: Text
- userProfileTextColor :: Text
- userProfileUseBackgroundImage :: Bool
- userProtected :: Bool
- userScreenName :: Text
- userShowAllInlineMedia :: Maybe Bool
- userStatusesCount :: Int
- userTimeZone :: Maybe Text
- userURL :: Maybe URIString
- userUtcOffset :: Maybe Int
- userVerified :: Bool
- userWithheldInCountries :: Maybe [Text]
- userWithheldScope :: Maybe Text
- data List = List {
- listId :: Int
- listName :: Text
- listFullName :: Text
- listMemberCount :: Int
- listSubscriberCount :: Int
- listMode :: Text
- listUser :: User
- data Entities = Entities {
- enHashTags :: [Entity HashTagEntity]
- enUserMentions :: [Entity UserEntity]
- enURLs :: [Entity URLEntity]
- enMedia :: [Entity MediaEntity]
- type EntityIndices = [Int]
- data Entity a = Entity {
- entityBody :: a
- entityIndices :: EntityIndices
- data HashTagEntity = HashTagEntity {
- hashTagText :: Text
- data UserEntity = UserEntity {}
- data URLEntity = URLEntity {}
- data MediaEntity = MediaEntity {}
- data MediaSize = MediaSize {}
- data Coordinates = Coordinates {
- coordinates :: [Double]
- coordinatesType :: Text
- data Place = Place {}
- data BoundingBox = BoundingBox {
- boundingBoxCoordinates :: [[[Double]]]
- boundingBoxType :: Text
- data Contributor = Contributor {}
- data UploadedMedia = UploadedMedia {}
- data ImageSizeType = ImageSizeType {}
- checkError :: Object -> Parser ()
- twitterTimeFormat :: String
Documentation
type LanguageCode = String Source #
data StreamingAPI Source #
This type represents a Twitter tweet structure. See https://dev.twitter.com/docs/platform-objects/tweets.
data SearchResult body Source #
Eq body => Eq (SearchResult body) Source # | |
Data body => Data (SearchResult body) Source # | |
Show body => Show (SearchResult body) Source # | |
Generic (SearchResult body) Source # | |
ToJSON body => ToJSON (SearchResult body) Source # | |
FromJSON body => FromJSON (SearchResult body) Source # | |
type Rep (SearchResult body) Source # | |
data SearchMetadata Source #
data RetweetedStatus Source #
RetweetedStatus | |
|
data DirectMessage Source #
DirectMessage | |
|
data EventTarget Source #
Event | |
|
This type represents the Twitter user. See https://dev.twitter.com/docs/platform-objects/users.
List | |
|
Entity handling. See https://dev.twitter.com/docs/platform-objects/entities.
Entities | |
|
type EntityIndices = [Int] Source #
The character positions the Entity was extracted from
This is experimental implementation. This may be replaced by more definite types.
Entity | |
|
data HashTagEntity Source #
Hashtag entity. See https://dev.twitter.com/docs/platform-objects/entities#obj-hashtags.
HashTagEntity | |
|
data UserEntity Source #
User mention entity. See https://dev.twitter.com/docs/platform-objects/entities#obj-usermention.
Size entity. See https://dev.twitter.com/docs/platform-objects/entities#obj-size.
data Coordinates Source #
Coordinates | |
|
This type represents a place, named locations with corresponding geo coordinates. See https://dev.twitter.com/docs/platform-objects/places.
Place | |
|
data BoundingBox Source #
A bounding box of coordinates which encloses the place. See https://dev.twitter.com/docs/platform-objects/places#obj-boundingbox.
BoundingBox | |
|
data Contributor Source #
data UploadedMedia Source #
This type is represents the API response of "/1.1/media/upload.json". See https://dev.twitter.com/docs/api/multiple-media-extended-entities.
data ImageSizeType Source #
Image size type. This type is included in the API response of "/1.1/media/upload.json".
checkError :: Object -> Parser () Source #