ScrappyCocco / HowLongToBeat-PythonAPI

A simple Python API to read data from howlongtobeat
https://pypi.org/project/howlongtobeatpy/
MIT License
84 stars 5 forks source link

Case-insensitive similarity #7

Closed Kononkov1998 closed 3 years ago

Kononkov1998 commented 3 years ago

Hello! Sometimes the name of the game in some source (e. g. Steam) and on HLTB completely coincides, not counting the case, but the similarity is very low. For example, game RED HOT VENGEANCE has only 0.3 similarity.

It would be great if you can add case insensitive search capability. It might look something like this: HowLongToBeat(0.9).search("game_name", case_sensitive = False)

Thank you!

ScrappyCocco commented 3 years ago

Thanks for the feedback, will do it now

Kononkov1998 commented 3 years ago

It works great. Thanks!