1462401787
Added a utils file
...
Wanted to separate the higher level config folder stuff from just db module
Because the download module will also want to find cache
2025-08-15 02:00:50 +01:00
5dfdff17c1
Added the start of the db create
...
Need to do insert (obv), recall, search by name (get the whole name column), and
then display nicely.
Also renamed / used more correctly the "data" folder. I should use cache for
the downloaded .json file from scryfall though
2025-08-15 01:48:16 +01:00
4f095c55ec
Moved some files and started skeleton db
2025-08-15 00:55:47 +01:00
d168ca88ec
Moved seperate things into separate files
2025-08-15 00:22:18 +01:00
6d21f5e496
Added checking for the correct type
2025-08-14 23:45:42 +01:00
906aaa1e59
Using ureq to download files
...
I might just throw out the TempFile thing - should actually save them somewhere. As
I think it would likely be useful for testing too
2025-08-13 20:22:49 +01:00
f0d851ebb3
Fixed up a couple of fields
2025-02-08 01:19:32 +00:00
d868ef1e90
Added a couple more enums and invalid-ish card list
2025-02-08 00:41:21 +00:00
a1728de503
Ran rustfmt and clippy
2025-02-07 22:38:20 +00:00
a14d2dcb75
Don't look at that awful test...
...
I have tested it on the Oracle cards - so should like... mostly work for cards
Except for, I think, mistakes? in the Scryfall database.
2025-02-05 00:13:48 +00:00
66b22c1c30
Added a very poorly written test thingy
...
Started fixing a couple of mistakes
2025-02-04 23:45:53 +00:00
993ac46954
Got most of the fields I think
2025-02-04 23:21:23 +00:00
f576fe6cc8
Added UUID
...
And fixed up the fact the promo types are optionally null/not there/empty/full
2025-02-04 22:40:51 +00:00
2dd4f3d696
Added some more fields
...
Got most of them done. Added a couple of cards too
2025-02-01 01:18:38 +00:00
d8e0b2c07b
Seems to be alright at deserialising the things so far
2025-01-31 23:45:43 +00:00
871d2af2da
Added a first test to see whether a card is available
2025-01-31 23:31:58 +00:00
9771a905ff
Half of ScryfallDeser fields added
...
Very non-atomic - and I'm not even sure if it's half.
I think I might stop here and actually try the derserialisation stuff
2025-01-31 23:21:47 +00:00