kokororin/pixiv-api-php

Pixiv API for PHP (with Auth supported)

v1.1 2016-06-09 06:18 UTC

This package is auto-updated.

Last update: 2024-11-29 05:09:05 UTC


README

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.