Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Default = &Client{}
Default client auto login with PIXIV_PHPSESSID env var.
Functions ¶
Types ¶
type Client ¶ added in v0.2.0
Client to send request to pixiv server.
func (Client) EndpointURL ¶ added in v0.2.0
EndpointURL returns url for server endpint.
func (Client) IsLoggedIn ¶ added in v0.2.0
IsLoggedIn checks login status base on `HEAD https://www.pixiv.net/setting_user.php` response status.
func (*Client) SetPHPSESSID ¶ added in v0.2.0
SetPHPSESSID set client cookie to skip login.
Click to show internal directories.
Click to hide internal directories.