Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mrmarble/steambd-calculator-parser
Simple Python package to parse steamdb.info/calculator
https://github.com/mrmarble/steambd-calculator-parser
calculator parser python steam steamdb
Last synced: 19 days ago
JSON representation
Simple Python package to parse steamdb.info/calculator
- Host: GitHub
- URL: https://github.com/mrmarble/steambd-calculator-parser
- Owner: MrMarble
- License: mit
- Created: 2019-08-16T11:44:48.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-05-22T22:29:58.000Z (over 1 year ago)
- Last Synced: 2024-11-17T00:33:50.723Z (3 months ago)
- Topics: calculator, parser, python, steam, steamdb
- Language: Python
- Size: 17.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SteamDB Calculator Parser
Simple Python package to parse steamdb.info/calculator/\/### How to install
You can install this package using pip
`pip install git+https://github.com/MrMarble/steambd-calculator-parser`### Usage
```python
from steamdbparser import SteamDbParser
steamdb = SteamDbParser.parser()steamdb.isSteamId('76561198287455504')
>>> Truesteamdb.isSteamId('mrmarblet')
>>> Falsesteamdb.getSteamDBProfile('76561198287455504')
>>> {
"display_name": "Horus",
"avatar": "https://steamcdn-a.ak[...]_full.jpg",
"steam_id": "76561198287455504",
"vanity_url": "https://steamcommunity.com/id/mrmarblet/",
"level": "97",
"games": "1,349",
"games_played": "943",
"price": "$10875",
"price_lowest": "$2796",
"price_average": "$8.72",
"price_hour": "$4.36",
"hours": "4,213h",
"hours_average": "4.5h",
"account_age": "3.4", # years
"url_steam": "https://steamcommunity.com/profiles/76561198287455504",
"url_steamdb": "https://steamdb.info/calculator/76561198287455504/"
}
```