Safe Haskell | None |
---|
- type DateString = String
- type UserId = Integer
- type Friends = [UserId]
- type URIString = Text
- type UserName = Text
- type StatusId = Integer
- type LanguageCode = String
- data StreamingAPI
- data Status = Status {
- statusCreatedAt :: DateString
- statusId :: StatusId
- statusText :: Text
- statusSource :: Text
- statusTruncated :: Bool
- statusEntities :: Maybe Entities
- statusInReplyTo :: Maybe StatusId
- statusInReplyToUser :: Maybe UserId
- statusFavorite :: Maybe Bool
- statusRetweetCount :: Maybe Integer
- statusUser :: User
- statusRetweet :: Maybe Status
- statusPlace :: Maybe Place
- statusFavoriteCount :: Integer
- 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 :: DateString
- rsId :: StatusId
- rsText :: Text
- rsSource :: Text
- rsTruncated :: Bool
- rsEntities :: Maybe Entities
- rsUser :: User
- rsRetweetedStatus :: Status
- data DirectMessage = DirectMessage {}
- data EventTarget
- data Event = Event {}
- data Delete = Delete {}
- data User = User {
- userId :: UserId
- userName :: UserName
- userScreenName :: Text
- userDescription :: Maybe Text
- userLocation :: Maybe Text
- userProfileImageURL :: Maybe URIString
- userURL :: Maybe URIString
- userProtected :: Maybe Bool
- userFollowers :: Maybe Int
- userFriends :: Maybe Int
- userTweets :: Maybe Int
- userLangCode :: Maybe LanguageCode
- userCreatedAt :: Maybe DateString
- 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 Place = Place {}
- data BoundingBox = BoundingBox {
- boundingBoxCoordinates :: [[[Double]]]
- boundingBoxType :: Text
- checkError :: Object -> Parser ()
Documentation
type DateString = StringSource
type LanguageCode = StringSource
data StreamingAPI Source
data SearchResult body Source
Eq body => Eq (SearchResult body) | |
Show body => Show (SearchResult body) | |
FromJSON body => FromJSON (SearchResult body) |
data SearchMetadata Source
data RetweetedStatus Source
RetweetedStatus | |
|
data DirectMessage Source
DirectMessage | |
|
data EventTarget Source
User | |
|
List | |
|
Entity handling.
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
HashTagEntity | |
|
Place | |
|
data BoundingBox Source
BoundingBox | |
|
checkError :: Object -> Parser ()Source