Skip to content

v2.2.1

Latest

Choose a tag to compare

@deivit24 deivit24 released this 20 Sep 16:48
· 1 commit to main since this release
38a55ca

#31

New feature for search_games endpoint

If you pass fetch_discounts=True, the response will include two additional keys: has_discount and discounts.

Under the hood, this uses BeautifulSoup and takes slightly longer to return. For each search result, it makes an additional request to another URL, looks for a specific class in the HTML, and applies the discount information accordingly.