{"id":13658522,"url":"https://github.com/jwodder/hscards","last_synced_at":"2025-04-24T11:31:53.740Z","repository":{"id":66104056,"uuid":"139364892","full_name":"jwodder/hscards","owner":"jwodder","description":"Script for generating Hearthstone card spoilers \u0026 checklists","archived":true,"fork":false,"pushed_at":"2021-12-08T23:11:03.000Z","size":43,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-08-02T05:08:53.517Z","etag":null,"topics":["checklist","hearthstone","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jwodder.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-07-01T21:52:52.000Z","updated_at":"2023-01-27T20:21:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"41ded9f4-c72a-433b-8f20-376f64b38a21","html_url":"https://github.com/jwodder/hscards","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwodder%2Fhscards","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwodder%2Fhscards/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwodder%2Fhscards/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwodder%2Fhscards/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jwodder","download_url":"https://codeload.github.com/jwodder/hscards/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223952517,"owners_count":17230902,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["checklist","hearthstone","python"],"created_at":"2024-08-02T05:01:00.309Z","updated_at":"2024-11-10T12:30:21.350Z","avatar_url":"https://github.com/jwodder.png","language":"Python","readme":"This is a script for generating text spoilers and set checklists for\n[Hearthstone](https://playhearthstone.com).\n\nInstallation \u0026 Running\n======================\n\nPython 3.6 or higher is required.\n\n1. Copy/clone the code to your computer\n\n2. In this directory, run `python3 -m pip install --user -r requirements.txt`\n   (Requires [pip](https://pip.pypa.io))\n\n3. Run the code by running `python3 -m hscards ...` in this directory.  (There\n   are other possible ways to run the code, but let's just stick to one simple\n   method here.)\n\nUsage\n=====\n\nBy default, all commands fetch card data from \u003chttps://hearthstonejson.com\u003e —\nspecifically,\n\u003chttps://api.hearthstonejson.com/v1/latest/enUS/cards.collectible.json\u003e.  The\n`c`/`--cards-file` option can be used to specify a different file or URL in the\nsame format to use instead.\n\n`spoiler` command\n-----------------\n\n    python3 -m hscards [-c \u003ccards-file\u003e] spoiler [-I] [-o \u003coutfile\u003e]\n\nGenerate a file of text spoilers for all collectible Hearthstone cards.  The\nspoilers look like this:\n\n    Name:   Explosive Trap\n    Type:   Spell — Secret\n    Cost:   2\n    Class:  Hunter\n    Text:   \u003cb\u003eSecret:\u003c/b\u003e When your hero is attacked, deal 2 damage to all\n              enemies.\n    Set:    Classic (Common)\n    Flavor: It traps your food AND cooks it for you!\n    Artist: Brandon Kitkouski\n\nIf the `-I`/`--show-ids` option is specified, the spoilers will also include\neach card's ID.\n\nBy default, the spoilers are written to `cards.txt`; the `-o`/`--outfile`\noption can be used to specify a different file.\n\n`checklists` command\n--------------------\n\n    python3 -m hscards [-c \u003ccards-file\u003e] checklists [-d \u003coutput-dir\u003e] [-f \u003ctxt|pdf\u003e] [--full-names] [\u003cset\u003e ...]\n\nGenerate checklists for each collectible Hearthstone card set (either all sets\nor just those listed on the command line), one file per set.  Files are created\nin the directory specified with the `-d`/`--output-dir` option (default:\n`checklists`) and are named either with each set's internal codename (e.g., the\nBasic set is `CORE.txt` and the Classic set is `EXPERT1.txt`) or, if the\n`--full-names` option is given, with each set's full display name (e.g.,\n`Basic.txt` and `Classic.txt`).  The checklist file format can be set with the\n`-f`/`--format` option: either `txt` (the default) or `pdf`.\n","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjwodder%2Fhscards","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjwodder%2Fhscards","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjwodder%2Fhscards/lists"}