Skip to content

Commit

Permalink
Fix #33 - Aligned request body with website
Browse files Browse the repository at this point in the history
  • Loading branch information
ScrappyCocco committed Nov 28, 2024
1 parent 02639a1 commit 31457ca
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 8 deletions.
17 changes: 11 additions & 6 deletions howlongtobeatpy/howlongtobeatpy/HTMLRequests.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,25 +69,30 @@ def get_search_request_data(game_name: str, search_modifiers: SearchModifiers, p
'min': 0,
'max': 0
},
'gameplay': {
'perspective': "",
'flow': "",
'genre': "",
"subGenre": " "
},
'rangeYear':
{
'max': "",
'min': ""
},
'gameplay': {
'perspective': "",
'flow': "",
'genre': ""
},
'modifier': search_modifiers.value,
},
'users': {
'sortCategory': "postcount"
},
'lists': {
'sortCategory': "follows"
},
'filter': "",
'sort': 0,
'randomizer': 0
}
},
'useCache': True
}

# If api_key is passed add it to the dict
Expand Down
2 changes: 1 addition & 1 deletion howlongtobeatpy/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
long_description = fh.read()

setup(name='howlongtobeatpy',
version='1.0.11',
version='1.0.12',
packages=find_packages(exclude=['tests']),
description='A Python API for How Long to Beat',
long_description=long_description,
Expand Down
2 changes: 1 addition & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ sonar.organization=scrappycocco-github
sonar.projectKey=ScrappyCocco_HowLongToBeat-PythonAPI

sonar.projectName=HowLongToBeat-PythonAPI
sonar.projectVersion=1.0.11
sonar.projectVersion=1.0.12
sonar.python.version=3.9

# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
Expand Down

0 comments on commit 31457ca

Please sign in to comment.