{"id":13664420,"url":"https://github.com/HearthSim/HearthDb","last_synced_at":"2025-04-26T01:31:32.164Z","repository":{"id":40816951,"uuid":"46183177","full_name":"HearthSim/HearthDb","owner":"HearthSim","description":"HearthDb is a .NET Hearthstone database.","archived":false,"fork":false,"pushed_at":"2025-04-25T17:19:17.000Z","size":8013,"stargazers_count":73,"open_issues_count":10,"forks_count":40,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-04-25T18:32:24.352Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://hearthsim.info","language":"C#","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/HearthSim.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,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2015-11-14T16:57:40.000Z","updated_at":"2025-04-25T17:19:21.000Z","dependencies_parsed_at":"2023-09-28T20:41:02.892Z","dependency_job_id":"c5178de9-16d9-48a4-ba09-b3db1e919ddb","html_url":"https://github.com/HearthSim/HearthDb","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HearthSim%2FHearthDb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HearthSim%2FHearthDb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HearthSim%2FHearthDb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HearthSim%2FHearthDb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HearthSim","download_url":"https://codeload.github.com/HearthSim/HearthDb/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250919591,"owners_count":21507969,"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":[],"created_at":"2024-08-02T05:02:55.904Z","updated_at":"2025-04-26T01:31:32.158Z","avatar_url":"https://github.com/HearthSim.png","language":"C#","funding_links":[],"categories":["C\\#"],"sub_categories":[],"readme":"# HearthDb\n\n[![Build \u0026 Deploy](https://github.com/HearthSim/HearthDb/actions/workflows/main.yml/badge.svg)](https://github.com/HearthSim/HearthDb/actions/workflows/main.yml)\n\n\nHearthDb is a .NET Hearthstone database.\n\n## Deckstrings\n`HearthDb.Deckstrings.DeckSerializer` can serialize decks from and to Hearthstones deck string format, used for importing/exporting decks.  \n\nSee [here](https://github.com/HearthSim/HearthDb/blob/master/HearthDb.Tests/DeckSerializerTest.cs) for example usage.\n\nFull deck strings documentation can be found here: https://hearthsim.info/docs/deckstrings/\n\n## Cards\n`HearthDb.Cards` contains all card information of the `CardDefs.xml`, imported from the [hsdata HearthSim project](https://github.com/HearthSim/hs-data).\n\nSee [here](https://github.com/HearthSim/HearthDb/blob/master/HearthDb.Tests/UnitTest1.cs#L14-L25) for example usage.\n\n### Localized strings\nBy default, HearthDb only loads locale data for enUS and zhCN. Additional language \ndata can be downloaded from `api.hearthstonejson.com`, e.g. `https://api.hearthstonejson.com/v1/latest/CardDefs.deDE.xml` and loaded at runtime via \n`HearthDb.Cards.LoadLocaleData(...)`.\n\nIf desired, all language data can be included by default by replacing the url in `HearthDb.CardDefsDownloader` with `https://github.com/HearthSim/hsdata/blob/master/CardDefs.xml`.\n\n## CardIDs\n`HearthDb.CardIds` contains properly named constant for all cardIds existing in Hearthstone. \n\nThe `CardIds.cs` file is generated by `HearthDb.CardIdLibGenerator`. \n\nSee [here](https://github.com/HearthSim/HearthDb/blob/master/HearthDb.Tests/UnitTest1.cs#L28-L34) for example usage.\n\n## Enums\n`HearthDb.Enums` contains all the relevant Hearthstone enums.\n\nThe `Enums.cs` file is generated by `HearthDb.EnumsGenerator`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FHearthSim%2FHearthDb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FHearthSim%2FHearthDb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FHearthSim%2FHearthDb/lists"}