Skip to content

Asynchronous wrapper for hearthstone-deck-helper API

License

Notifications You must be signed in to change notification settings

exsaron/hdh-api-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

91916a4 · Apr 20, 2024

History

41 Commits
Oct 1, 2022
Aug 15, 2022
Oct 1, 2022
Jul 20, 2022
Jul 17, 2022
Jul 20, 2022
Jul 16, 2022
Apr 20, 2024
Aug 4, 2022
Jul 20, 2022
Jul 17, 2022
Jul 19, 2022

Repository files navigation

HS Deck Helper Bot

Asynchronous Telegram bot-wrapper for HS Deck Helper API.

This project has been abandoned - I've completely lost interest in Hearthstone and am not following updates.

The bot allows you to construct requests to the HS Deck Helper API using Telegram buttons and receive formatted responses.

Stack

  • Python 3.10
  • aiogram
  • aiohttp
  • Redis
  • pytest & asynctest
  • Docker & docker-compose

Features

Supported HS Deck Helper API features:

  • Card search by
    • name
    • type (Minion, Spell, Location etc)
    • class (Priest, Warlock, Druid, Neutral etc)
    • set (Core, Castle Nathria etc)
    • rarity (Legendary, Epic etc)
    • numeric parameters (cost, attack, health etc; depending on type)
  • Deck search by
    • format (Standard, Wild, Classic)
    • class (Priest, Warlock, Druid etc)
    • date of creation
    • included cards (search for cards inside the deck search)
  • Decoding decks from
    • pure deck code
    • full decklist (that is copied from the game client)

Interaction scheme

interaction

Card search example

card_search_start

Click the Type Button:

card_search_types_1

Select Location - a new type of Hearthstone cards. The Health parameter is now available:

card_search_types_location

Change Type:

card_search_types_2

Select Minion. Another parameters are now available:

card_search_types_minion

Let's set a couple more parameters:

card_search_more_params

Press REQUEST button. A request to HS Deck Helper API will be executed.

card_search_response_list

Links lead to card renders.
Select a specific card. A request to HS Deck Helper API will be executed.

card_search_response_detail

Similarly, the search for decks is performed.

About

Asynchronous wrapper for hearthstone-deck-helper API

Topics

Resources

License

Stars

Watchers

Forks