Skip to content

Asynchronous wrapper for hearthstone-deck-helper API

License

Notifications You must be signed in to change notification settings

ysaron/hdh-api-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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