Commit graph

6 commits

Author SHA1 Message Date
7c42693db1 Modify importer to handle updates
This way we can also add FLBs and other uncaps easier.
2025-01-12 17:27:06 -08:00
e287176873 Create download_manager.rb
Creates an appropriate downloader for each Granblue ID it receives
2025-01-12 16:04:46 -08:00
577e597864 Create data_importer.rb
* Fetches a list of all CSV files present in the updates folder
* Checks which have already been imported
* Sends unimported data to the appropriate Importer to handle
2025-01-12 16:04:13 -08:00
551c2609b0 Add downloaders
Downloaders take Granblue IDs and download images for those items from the Granblue Fantasy server in all relevant sizes.

Downloaders can download to disk or stream the file directly to S3.
2025-01-12 16:02:51 -08:00
9099849ee3 Add importers
The Importer libraries take CSV data and import them into the database for each type. We currently support characters, summons and weapons.
2025-01-12 16:01:52 -08:00
5668c5c686 Add aws-sdk-s3 and create aws_service.rb
AwsService handles streaming game image files from the Granblue Fantasy server to our S3 instance.
2025-01-12 16:01:06 -08:00