pixiv-app-api
pixiv-app-api copied to clipboard
now uses v2 api for autocompletion (./v2/search/autocomplete).
now uses v2 api for autocompletion (./v2/search/autocomplete). Tags now have a translation if you change the Accept-Language header (example "en-us")
Updated the method "searchAutoComplete()". It now uses v2 of the pixiv api. V2 returns the tags with translations.
Why:
searchAutoComplete() was more or less unuseable for english users.
How:
changed url from ./v1/search/autocomplete to ./v2/search/autocomplete. changed PixivAutoComplete and Pixiv_Auto_Complete to match the api. Added language setter in PixivApi class.
Checklist:
- [ ] Documentation
- [ ] Tests
- [ ] Ready to be merged