Skip to content
This repository was archived by the owner on Sep 4, 2023. It is now read-only.

yukariin/PyPixiv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyPixiv Build Status

Unofficial Python API client based on specification extracted from Pixiv Android App v5.0.61 and PixivPy.

Requirements

Python 3.4+ and requests

Installation & Usage

pip install

pip install git+https://github.com/Yukariin/PyPixiv.git

(you may need to run pip with root permission: sudo pip install git+https://github.com/Yukariin/PyPixiv.git)

Then import the package:

import pypixiv

Setuptools

Install via Setuptools.

python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Then import the package:

import pypixiv

Getting Started

Please follow the installation procedure

import pypixiv
# create an instance of the API class
api_instance = pypixiv.PixivAppApi()

api_response = api_instance.app_info()
print(api_response)

Documentation for API Endpoints

All URIs are relative to https://app-api.pixiv.net

Class Method HTTP request Description
PixivAppApi get_app_info GET /v1/application-info/android Get application info for Android device (no auth needed)
PixivAppApi get_contest_illusts GET /v1/contest/illusts
PixivAppApi get_contest_info_illust GET /v1/contest/info/illust
PixivAppApi get_emoji GET /v1/emoji List available emojis (no auth needed)

Documentation For Authorization

All endpoints marked with no auth needed do not require authorization.

Author

Yukarin

Releases

No releases published

Packages

 
 
 

Contributors

Languages