| Safe Haskell | None |
|---|
Web.Twitter.Types
- 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
- statusExtendedEntities :: Maybe Entities
- statusInReplyTo :: Maybe StatusId
- statusInReplyToUser :: Maybe UserId
- statusFavorite :: Maybe Bool
- statusRetweetCount :: Maybe Integer
- statusUser :: User
- statusRetweet :: Maybe Status
- statusPlace :: Maybe Place
- statusFavoriteCount :: Integer
- statusLang :: Maybe Text
- statusPossiblySensitive :: Maybe Bool
- statusCoordinates :: Maybe Coordinates
- 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 {}
- 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 Coordinates = Coordinates {
- coordinates :: [Double]
- coordinatesType :: Text
- data Place = Place {}
- data BoundingBox = BoundingBox {
- boundingBoxCoordinates :: [[[Double]]]
- boundingBoxType :: Text
- checkError :: Object -> Parser ()
Documentation
type DateString = StringSource
type LanguageCode = StringSource
data StreamingAPI Source
Constructors
| SStatus Status | |
| SRetweetedStatus RetweetedStatus | |
| SEvent Event | |
| SDelete Delete | |
| SFriends Friends | |
| SUnknown Value |
Instances
Constructors
data SearchResult body Source
Constructors
| SearchResult | |
Fields | |
Instances
| Eq body => Eq (SearchResult body) | |
| Show body => Show (SearchResult body) | |
| FromJSON body => FromJSON (SearchResult body) |
data SearchStatus Source
Constructors
| SearchStatus | |
data SearchMetadata Source
Constructors
Instances
data RetweetedStatus Source
Constructors
| RetweetedStatus | |
Fields
| |
data DirectMessage Source
Constructors
| DirectMessage | |
Fields
| |
data EventTarget Source
Instances
Constructors
| Event | |
Fields
| |
Constructors
| User | |
Fields
| |
Constructors
| List | |
Fields
| |
Entity handling.
Constructors
| Entities | |
Fields
| |
type EntityIndices = [Int]Source
The character positions the Entity was extracted from
This is experimental implementation. This may be replaced by more definite types.
Constructors
| Entity | |
Fields
| |
data HashTagEntity Source
Constructors
| HashTagEntity | |
Fields
| |
Instances
Constructors
| URLEntity | |
data Coordinates Source
Constructors
| Coordinates | |
Fields
| |
Instances
Constructors
| Place | |
Fields
| |
data BoundingBox Source
Constructors
| BoundingBox | |
Fields
| |
Instances
checkError :: Object -> Parser ()Source