Skip to main content

This package helps to get data from howlongtobeat.com

Project description

HowLongToBeat Python API

Build Status
You can easily search play-time of specific game you want to know by using this package.

Usage

How To Install

pip install HowLongToBeat-Python-API

How To Use

Import

from hltbapi import HtmlScraper

Example

res = HtmlScraper().search(name='last of us') #res contains following data of games containing 'last of us'
for entry in res:
    print('===================================')
    print(entry.detailId)
    print(entry.gameName)
    print(entry.description)
    print(entry.playableOn)
    print(entry.imageUrl)
    print(entry.timeLabels)
    print(entry.gameplayMain)
    print(entry.gameplayMainExtra)
    print(entry.gameplayCompletionist)
    print('===================================')

Authors

  • JaeguKim

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

HowLongToBeat-Python-API-0.1.2.tar.gz (3.0 kB view hashes)

Uploaded Source

Built Distribution

HowLongToBeat_Python_API-0.1.2-py3-none-any.whl (5.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page