twitter-types-0.5.0: Twitter JSON parser and types

Safe HaskellNone

Web.Twitter.Types.Lens

Contents

Synopsis

Type classes

Status

SearchResult

data SearchResult body Source

Instances

Eq body => Eq (SearchResult body) 
Show body => Show (SearchResult body) 
FromJSON body => FromJSON (SearchResult body) 

SearchStatus

SearchMetadata

RetweetedStatus

DirectMessage

Event

Delete

User

List

data List Source

Instances

Entities

Entity

data Entity a Source

Instances

entityBody :: forall a b. Lens (Entity a) (Entity b) a bSource

HashTagEntity

UserEntity

URLEntity

MediaEntity

MediaSize

Coordinates

Place

data Place Source

This type represents a place, named locations with corresponding geo coordinates. See https://dev.twitter.com/docs/platform-objects/places.

BoundingBox

Contributor

UploadedMedia

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.

ImageSizeType

data ImageSizeType Source

Image size type. This type is included in the API response of "/1.1/media/upload.json".

Type aliases and sum types

type EntityIndices = [Int]Source

The character positions the Entity was extracted from

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