twitter-types-0.3.20140601: Twitter JSON parser and types

Safe HaskellNone

Web.Twitter.Types.Lens

Synopsis

Documentation

data SearchResult body Source

Instances

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

data List Source

Instances

data Entities Source

Entity handling.

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

Instances

evEvent :: SimpleLens Event TextSource

userId :: SimpleLens User UserIdSource

userTweets :: SimpleLens User (Maybe Int)Source

listId :: SimpleLens List IntSource

listName :: SimpleLens List TextSource

listMode :: SimpleLens List TextSource

listUser :: SimpleLens List UserSource

placeId :: SimpleLens Place TextSource

placeName :: SimpleLens Place TextSource

placeType :: SimpleLens Place TextSource

placeUrl :: SimpleLens Place TextSource

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

class AsUser u whereSource

Methods

user_id :: SimpleLens u UserIdSource

name :: SimpleLens u UserNameSource

screen_name :: SimpleLens u TextSource