# pixiv-api-php **Repository Path**: mikuExp_admin/pixiv-api-php ## Basic Information - **Project Name**: pixiv-api-php - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-11-24 - **Last Updated**: 2021-03-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # pixiv-api-php [![Build Status](https://api.travis-ci.org/kokororin/pixiv-api-php.svg)](https://travis-ci.org/kokororin/pixiv-api-php) [![Packagist](https://img.shields.io/packagist/dt/kokororin/pixiv-api-php.svg?maxAge=2592000)](https://packagist.org/packages/kokororin/pixiv-api-php) _Pixiv API for PHP (with Auth supported)_ ### Installation ~~~bash composer require kokororin/pixiv-api-php:dev-master ~~~ ### Example: ~~~php require './vendor/autoload.php'; $api = new PixivAppAPI; # running some methods $api->method(); ~~~ ## Tests To execute the test suite, you'll need phpunit. ```bash $ PIXIV_USERNAME=XXX PIXIV_PASSWORD=XXX composer test ``` ## API ### PixivAppAPI **ALL METHODS need authentication.** See [PixivAppAPI.php](https://github.com/kokororin/pixiv-api-php/blob/master/PixivAppAPI.php) or [PixivAppAPITest.php](https://github.com/kokororin/pixiv-api-php/blob/master/tests/PixivAppAPITest.php) for detail usage. ### PixivAPI (**deprecated**) **Some methods need authentication.** See [PixivAPI.php](https://github.com/kokororin/pixiv-api-php/blob/master/PixivAPI.php) or [PixivAPITest.php](https://github.com/kokororin/pixiv-api-php/blob/master/tests/PixivAPITest.php) for detail usage.