azuline / pixiv-api

A documented, idiomatic, and tested wrapper library around Pixiv's App API.
https://pixiv-api.readthedocs.io/
Apache License 2.0
127 stars 13 forks source link

Model outdated #19

Open abel1502 opened 2 years ago

abel1502 commented 2 years ago

Client.fetch_user fails, because FullUser doesn't expect the is_user_access_blocked argument. I assume there are likely other incompatibilities, but I haven't yet had the time to experiment with it.

Updating the api is the obvious solution, but it would probably also help to add some tolerance for unrecognized fields.

If any more info is needed from me, I'll be glad to provide it.

DreiPixel commented 2 years ago

i recommend just using this: https://github.com/upbit/pixivpy

azuline commented 2 years ago

also would recommend, i wrote this for personal use, but i am really busy now and no longer use this library myself