pixiv-0.1.0: src/Web/Pixiv/API/Trending.hs
{-# OPTIONS_HADDOCK hide, prune #-}
module Web.Pixiv.API.Trending
( module Web.Pixiv.API.Trending,
)
where
import Servant.API
import Web.Pixiv.API.PixivEntry
import Web.Pixiv.Types
type GetTrendingTags =
PixivEntry :> "v1" :> "trending-tags" :> "illust"
:> QueryParam "include_translated_tag_results" Bool
:> Get '[JSON] TrendingTags
type GetRecommendedIllusts =
PixivEntry :> "v1" :> "illust" :> "recommended"
:> QueryParam "include_privacy_policy" Bool
:> QueryParam "include_ranking_illusts" Bool
:> Get '[JSON] Illusts
type GetRecommendedMangas =
PixivEntry :> "v1" :> "manga" :> "recommended"
:> QueryParam "include_privacy_policy" Bool
:> QueryParam "include_ranking_illusts" Bool
:> Get '[JSON] Illusts