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

Directly export SearchModifiers #20

Closed Lamarcke closed 1 year ago

Lamarcke commented 1 year ago

This make it easier to find the Search Modifiers enum. Otherwise, the user has to import directly, like this:

from howlongtobeatpy.HTMLRequests import SearchModifiers

The new syntax can be:

from howlongtobeat import HowLongToBeat, SearchModifiers
Lamarcke commented 1 year ago

I honestly doubt this was a big problem for anyone, but thanks I can approve it

I'll publish it with the next version that I doubt will be soon (I don't have any change to make for now)

No problem, it really wasn't. Just a little QoL so you can have all your important imports in one line 😄