pixiv-0.1.1: Pixiv API binding based on servant-client
Copyright(c) 2021 The closed eye of love
LicenseBSD-3-Clause
MaintainerPoscat <poscat@mail.poscat.moe>, berberman <berberman@yandex.com>
Stabilityalpha
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

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

Documentation

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 

Instances

Instances details
Eq Credential Source # 
Instance details

Defined in Web.Pixiv.Auth

Show Credential Source # 
Instance details

Defined in Web.Pixiv.Auth