/pixiv-api-php

Pixiv API for PHP

Primary LanguagePHPMIT LicenseMIT

pixiv-api-php

Build Status Packagist

Pixiv API for PHP (with Auth supported)

Installation

composer require kokororin/pixiv-api-php:dev-master

Example:

require './vendor/autoload.php';

$api = new PixivAppAPI;
# running some methods
$api->method();

Tests

To execute the test suite, you'll need phpunit.

$ PIXIV_USERNAME=XXX PIXIV_PASSWORD=XXX composer test

API

PixivAppAPI

ALL METHODS need authentication.
See PixivAppAPI.php or PixivAppAPITest.php for detail usage.

PixivAPI (deprecated)

Some methods need authentication.
See PixivAPI.php or PixivAPITest.php for detail usage.