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

Safe HaskellNone
LanguageHaskell98

Web.VKHS.API.Simple

Contents

Description

This module contains definitions of VK various API bindings. I tried to keep it as simple as possible. More, the user is expected to copy any function from this module into their runhaskell script and customize as required.

Runhaskell script may looks like the following: @ #!usrbin/env runhaskell {--} {--}

Synopsis

Documentation

apiSimple :: (MonadAPI m x s, FromJSON a) => MethodName -> [(String, Text)] -> API m x a Source #

apiSimpleH :: (MonadAPI m x s, FromJSON a) => MethodName -> [(String, Text)] -> (ErrorRecord -> Maybe a) -> API m x a Source #

apiSimpleHM :: (MonadAPI m x s, FromJSON a) => MethodName -> [(String, Text)] -> (ErrorRecord -> API m x (Maybe a)) -> API m x a Source #

apiVer :: (MonadAPI m x s, FromJSON a) => String -> [(String, Text)] -> API m x a Source #

getCities :: MonadAPI m x s => Country -> Maybe Text -> API m x (Sized [City]) Source #

getGroupWall :: forall m x s. MonadAPI m x s => GroupRecord -> API m x (Sized [WallRecord]) Source #

See [https:/vk.comdev/wall.get]

FIXME fix setUserPhoto, it is not actually working

FIXME move low-level upload code to API.Base