twitter-types-lens-0.6.0: Twitter JSON types (lens powered)

Safe HaskellNone
LanguageHaskell2010

Web.Twitter.Types.Lens

Contents

Synopsis

Type classes

Status

data Status :: *

This type represents a Twitter tweet structure. See https://dev.twitter.com/docs/platform-objects/tweets.

SearchResult

data SearchResult body :: * -> *

Instances

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

searchResultStatuses :: forall body body. Lens (SearchResult body) (SearchResult body) body body Source

SearchStatus

SearchMetadata

RetweetedStatus

DirectMessage

Event

data Event :: *

Delete

data Delete :: *

User

data User :: *

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

List

data List :: *

Instances

Entities

Entity

data Entity a :: * -> *

Instances

entityBody :: forall a a. Lens (Entity a) (Entity a) a a Source

HashTagEntity

UserEntity

URLEntity

MediaEntity

MediaSize

Coordinates

Place

data Place :: *

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

BoundingBox

data BoundingBox :: *

A bounding box of coordinates which encloses the place. See https://dev.twitter.com/docs/platform-objects/places#obj-boundingbox.

Contributor

UploadedMedia

data UploadedMedia :: *

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 :: *

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

Type aliases and sum types

type Friends = [UserId]

type UserName = Text

type EntityIndices = [Int]

The character positions the Entity was extracted from

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

StreamingAPI

EventTarget