VKHS-1.8.1: Provides access to Vkontakte social network via public API

Safe HaskellNone
LanguageHaskell98

Web.VKHS.Types

Synopsis

Documentation

data AccessToken Source #

AccessToken is a authentication data, required by all VK API functions. It is a tuple of access_token, user_id, expires_in fields, returned by login procedure.

See http://vk.com/developers.php?oid=-1&p=Авторизация_клиентских_приложений (in Russian) for more details

See also modifyAccessToken and readInitialAccessToken

newtype AppID Source #

Constructors

AppID 

Fields

Instances

Eq AppID Source # 

Methods

(==) :: AppID -> AppID -> Bool #

(/=) :: AppID -> AppID -> Bool #

Ord AppID Source # 

Methods

compare :: AppID -> AppID -> Ordering #

(<) :: AppID -> AppID -> Bool #

(<=) :: AppID -> AppID -> Bool #

(>) :: AppID -> AppID -> Bool #

(>=) :: AppID -> AppID -> Bool #

max :: AppID -> AppID -> AppID #

min :: AppID -> AppID -> AppID #

Show AppID Source # 

Methods

showsPrec :: Int -> AppID -> ShowS #

show :: AppID -> String #

showList :: [AppID] -> ShowS #

data JSON Source #

Constructors

JSON 

Fields

Instances

Data JSON Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> JSON -> c JSON #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c JSON #

toConstr :: JSON -> Constr #

dataTypeOf :: JSON -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c JSON) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c JSON) #

gmapT :: (forall b. Data b => b -> b) -> JSON -> JSON #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> JSON -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> JSON -> r #

gmapQ :: (forall d. Data d => d -> u) -> JSON -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> JSON -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> JSON -> m JSON #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> JSON -> m JSON #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> JSON -> m JSON #

Show JSON Source # 

Methods

showsPrec :: Int -> JSON -> ShowS #

show :: JSON -> String #

showList :: [JSON] -> ShowS #

data Form Source #

Constructors

Form 

Fields

Instances

data FilledForm Source #

Constructors

FilledForm 

Fields

data GenericOptions Source #

Generic parameters of the VK execution. For accessing from VK runtime, use getGenericOptions function

Constructors

GenericOptions 

Fields