Skip to content
This repository has been archived by the owner on Sep 25, 2024. It is now read-only.

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
README.md:
- Add notification about IntelliJ IDE’s warning about div’s align
- Add dummy alt description for image

api.py:
- Add support for /api/topics
- Add support for unified response data validator from utils.py
- Add tokens refresh on config init
- Update FavoriteLinkedType import
- Update all non-optional return types to optional in endpoint method
- Remove redundant `or None if list is empty` description
- Remove check and note about username (not user ID) for create/destroy friend method

endpoints.py:
- Rename topic_updates to updates_topics method
- Update FavoriteLinkedType import

enums/favorite.py:
- Rename LinkedType to FavoriteLinkedType to prevent collision with LinkedType of enums/topic.py

enums/topic.py
- Initial addition

models/topic.py:
- Add optional types for some fields

utils.py:
- Add validate_return_data method for unified validation of response data
- Remove check for True if data is a boolean in query dict generation
  • Loading branch information
SecondThundeR committed Jun 5, 2022
2 parents d129a05 + 23b0146 commit 165c82c
Show file tree
Hide file tree
Showing 7 changed files with 571 additions and 349 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<!-- If PyCharm or IDEA will throw a warning here, just ignore it -->
<div align="center">
<!-- Not a final logo :( (or not?) -->
<img src="https://raw.githubusercontent.com/SecondThundeR/shikithon/main/assets/logo.png">
<img src="https://raw.githubusercontent.com/SecondThundeR/shikithon/main/assets/logo.png" alt="Shikithon Logo">
<h1>Shikithon</h1>
<p>Очередной враппер для Shikimori API, написанный на Python</p>
</div>
Expand Down
Loading

0 comments on commit 165c82c

Please sign in to comment.