Commit graph

11 commits

Author SHA1 Message Date
9366774a9c Add summon parser
The summon parser parses through summon pages. Aura/Call parsing has not been added.
2023-08-19 22:58:56 -07:00
6cd64e1eff Update code for FLB
If a weapon has ULB, it has FLB too
2023-08-19 22:58:15 -07:00
bd3464e589 Add weapon parser
The weapon parser parses through weapon pages.

It has the ability to parse skills but that is not complete yet.

It can go through every weapon on the wiki with the aid of the new `wiki_en` column and parse basic data successfully
2023-08-16 02:55:04 -07:00
919625feb7 Update character parser to use correct vars 2023-08-16 02:54:12 -07:00
f50142054c Update debug string 2023-08-16 02:53:52 -07:00
436468f1e5 Properly pass props 2023-08-16 02:53:41 -07:00
efa526a770 Add mapping for bullets 2023-08-16 02:53:34 -07:00
3633752551 Create CharacterParser
The CharacterParser is responsible for taking the response from a wiki object and turning it into something usable. Most of the logic from the original GranblueWiki object ended up here.

To use, you can instantiate a CharacterParser with a Granblue ID. It will create the wiki object for you using the provided character and fetch data when you call `fetch` on the CharacterParser.

You can also fetch data for all characters with the static method `fetch_all`

Currently a specific subset of fields are persisted, but in the future more can and probably should be saved
2023-07-17 04:04:28 -07:00
b3caa1f1d3 Update GranblueWiki
This is an adaptation and cleanup of the original GranblueWiki class. We extracted the object-related code into a parser, and this class is now only responsible for requests and fetching common property maps.
2023-07-17 04:02:23 -07:00
c1716c1e4f Run RuboCop on everything
yolo
2022-12-21 00:22:47 -08:00
c78af47582 Add validation error serializers 2020-09-25 10:51:08 -07:00