Safe Haskell | Safe-Infered |
---|
- data TwitterException
- type DateString = String
- type UserId = Integer
- type Friends = [UserId]
- type URLString = String
- type UserName = Text
- type StatusId = Integer
- type LanguageCode = String
- data StreamingAPI
- data Status = Status {}
- data SearchStatus = SearchStatus {}
- data RetweetedStatus = RetweetedStatus {
- rsCreatedAt :: DateString
- rsId :: StatusId
- rsText :: Text
- rsSource :: String
- rsTruncated :: Bool
- rsEntities :: Maybe Entities
- rsUser :: User
- rsRetweetedStatus :: Status
- data EventTarget
- data Event = Event {}
- data Delete = Delete {}
- data User = User {
- userId :: UserId
- userName :: UserName
- userScreenName :: String
- userDescription :: Maybe Text
- userLocation :: Maybe Text
- userProfileImageURL :: Maybe URLString
- userURL :: Maybe URLString
- userProtected :: Maybe Bool
- userFollowers :: Maybe Int
- userFriends :: Maybe Int
- userTweets :: Maybe Int
- userLangCode :: Maybe LanguageCode
- userCreatedAt :: Maybe DateString
- data List = List {
- listId :: Int
- listName :: String
- listFullName :: String
- listMemberCount :: Int
- listSubscriberCount :: Int
- listMode :: String
- listUser :: User
- data Entities = Entities {
- enHashTags :: [Entity HashTagEntity]
- enUserMentions :: [Entity UserEntity]
- enURLs :: [Entity URLEntity]
- data Entity a = Entity {
- entityBody :: a
- entityIndices :: EntityIndices
- data HashTagEntity = HashTagEntity {
- hashTagText :: Text
- data UserEntity = UserEntity User
- data URLEntity = URLEntity {}
- checkError :: Object -> Parser a
Documentation
data TwitterException Source
type DateString = StringSource
type LanguageCode = StringSource
data StreamingAPI Source
data RetweetedStatus Source
RetweetedStatus | |
|
data EventTarget Source
User | |
|
List | |
|
Entity handling.
Entities | |
|
Entity | |
|
data HashTagEntity Source
HashTagEntity | |
|
data UserEntity Source
The UserEntity
is just a wrapper around User
which is
a bit wasteful, and should probably be replaced by just
storing the id, name and screen name here.
checkError :: Object -> Parser aSource