kokororin / pixiv-api-php
Pixiv API for PHP (with Auth supported)
Installs: 634
Dependents: 0
Suggesters: 0
Security: 0
Stars: 79
Watchers: 5
Forks: 14
Open Issues: 0
This package is auto-updated.
Last update: 2024-11-29 05:09:05 UTC
README
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.