Skip to content

Support for local bulk file access #43

@edhaight

Description

@edhaight

Nice library!

I’ve been playing around with the scryfall API lately and noticed their mention of a bulk JSON file being available every 12 hours. This mostly contains price changes, apparently, as they claim card information hardly ever changes. You can likely get away with one of these files once per release if you only care about card information.

That kind of raises a point on if there should be a client option for loading this file once upfront (many ways to go about this), and then regularly accessing it as an in memory database. There are of course more complex options for a local sqlite file as well for example.

To start, I think it would be awesome to come up with some sort of in memory client backed by a local JSON file. I have a hobby based use case for high throughput scryfall calls and this seems like the way to go.

Have you put any thought toward something like this? Thoughts on expanding this to a Client interface and providing a secondary implementation?

thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions