| 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 |
Web.Pixiv
Description
Example usage:
import Web.Pixiv main :: IO () main = do let credential = RefreshToken "token" 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
- newtype Credential = RefreshToken {}
Documentation
module Web.Pixiv.API
module Web.Pixiv.Types
module Web.Pixiv.Types.PixivT
newtype Credential Source #
Authentication credentials for pixiv API.
Password authentication is no longer supported by pixiv.
You may consult https://github.com/upbit/pixivpy/issues/158 to get the information of how to acquire refresh token.
Normally, users are supposed to create value of this data type and then pass it to runPixivT.
Constructors
| RefreshToken | |
Fields | |
Instances
| Eq Credential Source # | |
Defined in Web.Pixiv.Auth | |
| Show Credential Source # | |
Defined in Web.Pixiv.Auth Methods showsPrec :: Int -> Credential -> ShowS # show :: Credential -> String # showList :: [Credential] -> ShowS # | |