[PR #1] [MERGED] Add BoostyAPI wrapper for post fetching #33

Closed
opened 2026-10-13 19:46:21 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Glitchy-Sheep/boosty-downloader/pull/1
Author: @Glitchy-Sheep
Created: 2/16/2025
Status: ✅ Merged
Merged: 2/16/2025
Merged by: @Glitchy-Sheep

Base: main ← Head: feature/boosty-api-wrapper


📝 Commits (10+)

  • 5e06374 feat: ✨ Add main boosty API endpoint
  • 75387b2 chore: 🙈 Add special directory to gitignore for local-only tests and experiments
  • 6437f07 feat: ✨ Define base post and post_data types for further more complex type of data
  • d79d9a1 feat: ✨ Add textual PostData shape
  • b3b2a44 feat: ✨ Add image PostData shape
  • 3fd7b61 feat: ✨ Add link PostData shape
  • 069c86d feat: ✨ Add ok_video PostData shape
  • 5c2d763 feat: ✨ Add video PostData shape
  • c86b563 feat: ✨ Add file PostData shape
  • 06f624d feat: ✨ Add Author model with its posts

📊 Changes

26 files changed (+660 additions, -2 deletions)

View changed files

📝 .gitignore (+2 -0)
➕ boosty_downloader/src/boosty_api/__init__.py (+0 -0)
➕ boosty_downloader/src/boosty_api/core/__init__.py (+0 -0)
➕ boosty_downloader/src/boosty_api/core/client.py (+78 -0)
➕ boosty_downloader/src/boosty_api/core/endpoints.py (+3 -0)
➕ boosty_downloader/src/boosty_api/models/__init__.py (+0 -0)
➕ boosty_downloader/src/boosty_api/models/post/__init__.py (+0 -0)
➕ boosty_downloader/src/boosty_api/models/post/base_post_data.py (+44 -0)
➕ boosty_downloader/src/boosty_api/models/post/extra.py (+17 -0)
➕ boosty_downloader/src/boosty_api/models/post/post.py (+30 -0)
➕ boosty_downloader/src/boosty_api/models/post/post_data_types/__init__.py (+0 -0)
➕ boosty_downloader/src/boosty_api/models/post/post_data_types/post_data_file.py (+13 -0)
➕ boosty_downloader/src/boosty_api/models/post/post_data_types/post_data_image.py (+14 -0)
➕ boosty_downloader/src/boosty_api/models/post/post_data_types/post_data_link.py (+14 -0)
➕ boosty_downloader/src/boosty_api/models/post/post_data_types/post_data_ok_video.py (+61 -0)
➕ boosty_downloader/src/boosty_api/models/post/post_data_types/post_data_text.py (+14 -0)
➕ boosty_downloader/src/boosty_api/models/post/post_data_types/post_data_video.py (+12 -0)
➕ boosty_downloader/src/boosty_api/models/post/posts_request.py (+13 -0)
➕ boosty_downloader/src/boosty_api/utils/__init__.py (+0 -0)
➕ boosty_downloader/src/boosty_api/utils/auth_parsers.py (+25 -0)

...and 6 more files

📄 Description

Changes:

  • Create pydantic models for serialization and de-serialization data from post request.
  • Create main BoostyAPI client with all necessary functionality (only with necessary for post downloading, not the full API)
  • Create structure of modules

Note: error handling is not set up yet, because we need to analyze limitations of the API itself to create any domain exceptions.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Glitchy-Sheep/boosty-downloader/pull/1 **Author:** [@Glitchy-Sheep](https://github.com/Glitchy-Sheep) **Created:** 2/16/2025 **Status:** ✅ Merged **Merged:** 2/16/2025 **Merged by:** [@Glitchy-Sheep](https://github.com/Glitchy-Sheep) **Base:** `main` ← **Head:** `feature/boosty-api-wrapper` --- ### 📝 Commits (10+) - [`5e06374`](https://github.com/Glitchy-Sheep/boosty-downloader/commit/5e0637406e5be6cc301ca2d77319f145e99ae502) feat: :sparkles: Add main boosty API endpoint - [`75387b2`](https://github.com/Glitchy-Sheep/boosty-downloader/commit/75387b292c27d8907596bf64a251af0f76ca1f49) chore: :see_no_evil: Add special directory to gitignore for local-only tests and experiments - [`6437f07`](https://github.com/Glitchy-Sheep/boosty-downloader/commit/6437f0739da803eab56376c5d1f143bb4b7fed32) feat: :sparkles: Define base post and post_data types for further more complex type of data - [`d79d9a1`](https://github.com/Glitchy-Sheep/boosty-downloader/commit/d79d9a1438b0d219e3803420563d346bbfe50c6b) feat: :sparkles: Add textual PostData shape - [`b3b2a44`](https://github.com/Glitchy-Sheep/boosty-downloader/commit/b3b2a448317e51607fa944676ce5f2b0556d2563) feat: :sparkles: Add image PostData shape - [`3fd7b61`](https://github.com/Glitchy-Sheep/boosty-downloader/commit/3fd7b61443c3a128fd4318492b3d20301e215e24) feat: :sparkles: Add link PostData shape - [`069c86d`](https://github.com/Glitchy-Sheep/boosty-downloader/commit/069c86d1b7b70459ec65a92440523f69735bef63) feat: :sparkles: Add ok_video PostData shape - [`5c2d763`](https://github.com/Glitchy-Sheep/boosty-downloader/commit/5c2d76321d963a6e0c02f70fd44fa7d93f97dc55) feat: :sparkles: Add video PostData shape - [`c86b563`](https://github.com/Glitchy-Sheep/boosty-downloader/commit/c86b5635321ca8186b8098858448018095bca7de) feat: :sparkles: Add file PostData shape - [`06f624d`](https://github.com/Glitchy-Sheep/boosty-downloader/commit/06f624dd9626121c33346fa6dc0788bfd4063024) feat: :sparkles: Add Author model with its posts ### 📊 Changes **26 files changed** (+660 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `.gitignore` (+2 -0) ➕ `boosty_downloader/src/boosty_api/__init__.py` (+0 -0) ➕ `boosty_downloader/src/boosty_api/core/__init__.py` (+0 -0) ➕ `boosty_downloader/src/boosty_api/core/client.py` (+78 -0) ➕ `boosty_downloader/src/boosty_api/core/endpoints.py` (+3 -0) ➕ `boosty_downloader/src/boosty_api/models/__init__.py` (+0 -0) ➕ `boosty_downloader/src/boosty_api/models/post/__init__.py` (+0 -0) ➕ `boosty_downloader/src/boosty_api/models/post/base_post_data.py` (+44 -0) ➕ `boosty_downloader/src/boosty_api/models/post/extra.py` (+17 -0) ➕ `boosty_downloader/src/boosty_api/models/post/post.py` (+30 -0) ➕ `boosty_downloader/src/boosty_api/models/post/post_data_types/__init__.py` (+0 -0) ➕ `boosty_downloader/src/boosty_api/models/post/post_data_types/post_data_file.py` (+13 -0) ➕ `boosty_downloader/src/boosty_api/models/post/post_data_types/post_data_image.py` (+14 -0) ➕ `boosty_downloader/src/boosty_api/models/post/post_data_types/post_data_link.py` (+14 -0) ➕ `boosty_downloader/src/boosty_api/models/post/post_data_types/post_data_ok_video.py` (+61 -0) ➕ `boosty_downloader/src/boosty_api/models/post/post_data_types/post_data_text.py` (+14 -0) ➕ `boosty_downloader/src/boosty_api/models/post/post_data_types/post_data_video.py` (+12 -0) ➕ `boosty_downloader/src/boosty_api/models/post/posts_request.py` (+13 -0) ➕ `boosty_downloader/src/boosty_api/utils/__init__.py` (+0 -0) ➕ `boosty_downloader/src/boosty_api/utils/auth_parsers.py` (+25 -0) _...and 6 more files_ </details> ### 📄 Description ## Changes: - Create pydantic models for serialization and de-serialization data from post request. - Create main BoostyAPI client with all necessary functionality (only with necessary for post downloading, not the full API) - Create structure of modules **Note**: _error handling is not set up yet_, because we need to analyze limitations of the API itself to create any domain exceptions. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-13 19:46:21 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Glitchy-Sheep/boosty-downloader#33
No description provided.