Copyright | (c) 2021 The closed eye of love |
---|---|
License | BSD-3-Clause |
Maintainer | Poscat <poscat@mail.poscat.moe>, berberman <berberman@yandex.com> |
Stability | alpha |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
Example usage:
import Web.Pixiv main :: IO () main = do let credential = Password "username" "password" illust <- runPixivT' credential $ getIllustDetail 70479649 print illust
This will print illustration information of https://www.pixiv.net/artworks/70479649.
More information is available on README.
Synopsis
- module Web.Pixiv.API
- module Web.Pixiv.Types
- module Web.Pixiv.Types.PixivT
- data Credential = Password ByteString ByteString
Documentation
module Web.Pixiv.API
module Web.Pixiv.Types
module Web.Pixiv.Types.PixivT
data Credential Source #
Authentication credentials for pixiv API.
Normally, users are supposed to create value of this data type using Password
constructor,
then pass it to runPixivT
.
Instances
Eq Credential Source # | |
Defined in Web.Pixiv.Auth (==) :: Credential -> Credential -> Bool # (/=) :: Credential -> Credential -> Bool # | |
Show Credential Source # | |
Defined in Web.Pixiv.Auth showsPrec :: Int -> Credential -> ShowS # show :: Credential -> String # showList :: [Credential] -> ShowS # |