{"repo":"ScrappyCocco/HowLongToBeat-PythonAPI","free":true,"listed":false,"github":"https://github.com/ScrappyCocco/HowLongToBeat-PythonAPI","clone":"git clone https://github.com/ScrappyCocco/HowLongToBeat-PythonAPI.git","description":"A simple Python API to read data from howlongtobeat","language":"Python","stars":148,"topics":["howlongtobeat","gaming","steam","uplay","origin","time","api","python","python3","package"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"HowLongToBeat Python API A simple Python API to read data from howlongtobeat.com. It is inspired by ckatzorke - howlongtobeat JS API. Content - HowLongToBeat Python API - Content - Usage - Installation - Installing the package downloading the last release - Installing the package from the source code - Usage in code - Start including it in your file - Now call search() - Alternative search (by ID) - DLC search - Results auto-filters - Reading an entry - Issues, Questions \\& Discussions - Authors - License Usage Installation Installing the package downloading the last release Installing the package from the source code Download the repo, enter the folder with 'setup.py' and run the command Usage in code Start including it in your file Now call search() The API main functions are: or, if you prefer using async: The return of that function is a list of possible games, or None in case you passed an invalid \"game name\" as parameter or if there was an error in the request. If the list is not None you should choose the best entry checking the Similarity value with the original name, example: Once done, \"best element\" will contain the best game found in the research. Every entry in the list (if not None in case of errors) is an object of type: HowLongToBeatEntry. Alternative search (by ID) If you prefer, you can get a game by ID, this can be useful if you already have the game's howlongtobeat-id (the ID is the number in the URL, for example in https://howlongtobeat.com/game/7231) the","default_branch":null,"files":null,"tree":[],"storefront":"/r/ScrappyCocco","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ScrappyCocco/HowLongToBeat-PythonAPI/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}