twitter-types-0.7.2.1: Twitter JSON parser and types

Safe HaskellNone
LanguageHaskell98

Web.Twitter.Types

Synopsis

Documentation

data SearchResult body Source

Instances

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 User Source

This type represents the Twitter user. See https://dev.twitter.com/docs/platform-objects/users.

type EntityIndices = [Int] Source

The character positions the Entity was extracted from

This is experimental implementation. This may be replaced by more definite types.

data Entity a Source

Constructors

Entity 

Fields

entityBody :: a

The detail information of the specific entity types (HashTag, URL, User)

entityIndices :: EntityIndices

The character positions the Entity was extracted from

Instances

data URLEntity Source

Constructors

URLEntity 

Fields

ueURL :: URIString

The URL that was extracted

ueExpanded :: URIString

The fully resolved URL (only for t.co links)

ueDisplay :: Text

Not a URL but a string to display instead of the URL (only for t.co links)