Skip to main content

Get item prices and volumes from the Steam Community Market using Python 3

Project description

steam_community_market

|pypi| |license| |stars| |issues| |repo_size| |chat|

|donate_steam| |donate|

Get prices and volumes of any item on the Steam Community Market_ using Python 3.

.. _Steam Community Market: https://steamcommunity.com/market/

.. contents:: Table of Contents :depth: 1

Installing

Install and update using pip_:

.. code-block:: text

pip install steam_community_market

.. _pip: https://pip.pypa.io/en/stable/quickstart/

Usage

.. code-block:: python

from steam_community_market import Market, AppID

market = Market("USD")

item = "AK-47 | Redline (Field Tested)"

market.get_lowest_price(item, AppID.CSGO)
14.98

market.get_volume(item, 730)
1097

"USD" can either be ESteamCurrency, str, int or empty. Find the currencies supported here_.

.. _here: https://github.com/offish/steam_community_market/blob/master/steam_community_market/enums.py#L4

Documentation

Documentation for this package can be found on readthedocs_.

.. _readthedocs: https://steam-community-market.readthedocs.io/en/latest/

Links

  • Documentation_
  • Releases_
  • Issue tracker_
  • Discord_
  • Donate_

License

MIT License

Copyright (c) 2020 offish_

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

.. _offish: https://offi.sh

.. _Documentation: https://steam-community-market.readthedocs.io/en/latest/ .. _Releases: https://pypi.org/project/steam_community_market/ .. _Issue tracker: https://github.com/offish/steam_community_market/issues .. _Discord: https://discord.gg/t8nHSvA .. _Donate: https://www.paypal.me/0ffish

.. |pypi| image:: https://img.shields.io/pypi/v/steam_community_market.svg :target: https://pypi.org/project/steam_community_market :alt: Latest version released on PyPi

.. |license| image:: https://img.shields.io/github/license/offish/steam_community_market.svg :target: https://github.com/offish/steam_community_market/blob/master/LICENSE :alt: License

.. |stars| image:: https://img.shields.io/github/stars/offish/steam_community_market.svg :target: https://github.com/offish/steam_community_market/stargazers :alt: Stars

.. |issues| image:: https://img.shields.io/github/issues/offish/steam_community_market.svg :target: https://github.com/offish/steam_community_market/issues :alt: Issues

.. |repo_size| image:: https://img.shields.io/github/repo-size/offish/steam_community_market.svg :target: https://github.com/offish/steam_community_market :alt: Repo Size

.. |chat| image:: https://img.shields.io/discord/467040686982692865.svg :target: https://discord.gg/t8nHSvA :alt: Discord

.. |donate_steam| image:: https://img.shields.io/badge/donate-steam-green.svg :target: https://steamcommunity.com/tradeoffer/new/?partner=293059984&token=0-l_idZR :alt: Donate via Steam

.. |donate| image:: https://img.shields.io/badge/donate-paypal-blue.svg :target: https://www.paypal.me/0ffish :alt: Done via PayPal

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

steam_community_market-1.2.3.tar.gz (5.7 kB view details)

Uploaded Source

File details

Details for the file steam_community_market-1.2.3.tar.gz.

File metadata

  • Download URL: steam_community_market-1.2.3.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.7.3

File hashes

Hashes for steam_community_market-1.2.3.tar.gz
Algorithm Hash digest
SHA256 2617566a1e5f7b12049771eb9608ac06f1d1c4627217f7eb22cbcb1b40527408
MD5 8d79e63cce0a786ae0fccde04ab45893
BLAKE2b-256 1ae50ea01e876a03aa273eeef13808ad5b1c82d51b90b7255e1825cb1ec42a65

See more details on using hashes here.

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