pixivD was a package that provided access to some of the web APIs used by pixiv.
It was used in pixiv_down until it was merged in early 2024.

Usage

To use pixivD, you need dub version 1.23.0 or newer (this is when support for git was implemented).
Then, in your configuration file:

# dub.sdl
dependency "pixivd" repository="git+https://codeberg.org/supercell/pixivd" \
    version="8b0d2e3157470ef5551bd38769d144ffbbe4216a"
// dub.json
{
    // previous configuration options...
    dependencies: {
        "pixivd": {
            "repository": "git+https://codeberg.org/supercell/pixivd",
            "version": "8b0d2e3157470ef5551bd38769d144ffbbe4216a"
        }
    },
}

Source Code

The pixiv_down source code is available via git.
Web interfaces are available at the pixivd repository hosted on codeberg and the pixivd repository at OSDN.

To get the tree and place it in a sub-directory of your current directory, you can clone it from either of the above repositories:

git clone https://codeberg.org/supercell/pixivd

or

git clone http://pf.osdn.net/gitroot/n/ne/nemophila/pixivd.git

Examples

You can find some examples on how to use the API in the Examples directory in the source code.

License

pixivd is licensed under the terms GNU General Public License, version 3.
You can find more details in the COPYING file, or online at the GNU website.