-
Notifications
You must be signed in to change notification settings - Fork 147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
请问App-API有没有画师推荐的api? #257
Comments
这个应该后面新增的,我找时间补充进去。重开这个issue备忘下 |
Implemented method `user_recommended` in `AppPixivAPI` class. The method supposed to be used to send GET-request to /user/recommended URL.
I've implemented one, it looks like it works more or less. After calling
i've seen the next JSON (all data sanitized) in the reponse: @upbit could you please have a look? Is it something what we expect considering the structure of JSON? |
Implemented method `user_recommended` in `AppPixivAPI` class. The method supposed to be used to send GET-request to /user/recommended URL.
Implemented method `user_recommended` in `AppPixivAPI` class. The method supposed to be used to send GET-request to /user/recommended URL.
Implemented method `user_recommended` in `AppPixivAPI` class. The method supposed to be used to send GET-request to /user/recommended URL.
The linter (flake8) keeps failing anyway:
Perhaps Should we handle that as a part of the current issue? |
Updated `illust_recommended()` method of `AppPixivAPI` class. Add using ternary operator when setting up "bookmark_illust_ids" query-parameter.
Done. All checks have passed. Using conditional expression (aka "ternary operator") instead of Meanwhile i wouldn't say this is a conclusive solution for the problem that linter has exposed (not to mention conditional expressions reduce readability). |
* Add `user_recommended()` in API class (#257) Implemented method `user_recommended` in `AppPixivAPI` class. The method supposed to be used to send GET-request to /user/recommended URL. * Fix: linter flake8 issue (#257) Updated `illust_recommended()` method of `AppPixivAPI` class. Add using ternary operator when setting up "bookmark_illust_ids" query-parameter.
* Add `user_recommended()` in API class (#257) Implemented method `user_recommended` in `AppPixivAPI` class. The method supposed to be used to send GET-request to /user/recommended URL. * Fix: linter flake8 issue (#257) Updated `illust_recommended()` method of `AppPixivAPI` class. Add using ternary operator when setting up "bookmark_illust_ids" query-parameter. * fix: Update novel_id in demo.py (fixing CI) Replace novel id 14357107 with id 12438689 in demo.py module.
请问App-API有没有画师推荐的api?
The text was updated successfully, but these errors were encountered: