{ "info": { "author": "Shawn Silva", "author_email": "ssilva@jatgam.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Internet" ], "description": "Steam Web API\n-------------\n\n|buildstatus|\n\nThis script will connect to the Steam API to retrieve information about\nusers/games/groups.\n\nHow to use\n~~~~~~~~~~\n\nInstall\n^^^^^^^\n\nTo install, git clone the repository or download the archive from GitHub.\nThen, run ``python setup.py install`` to have the package installed. You can also\nget the latest release by using ``pip install steamwebapi``.\n\nUse\n^^^\n\nCurrently, to use steamwebapi you must supply a Steam API key. There are two\nways to do that currently. First, you can set an environment variable called\n``STEAM_API_KEY`` to your specific key value and the steamwebapi will use that.\nOtherwise, when instantiating an steam interface object you can pass\n``steam_api_key`` in with the API key as its value. For example:\n\n.. code:: python\n\n steamuserinfo = ISteamUser(steam_api_key='YOURAPIKEY')\n\n\nThe following example will assume that JSON data is being returned, and you\nwant access to the data as returned by Valve.\n\n.. code:: python\n\n from steamwebapi.api import ISteamUser, IPlayerService, ISteamUserStats\n steamuserinfo = ISteamUser()\n steamid = steamuserinfo.resolve_vanity_url(\"profileURL\")['response']['steamid']\n usersummary = steamuserinfo.get_player_summaries(steamid)['response']['players'][0]\n\n\nThe Steam Web API has multiple inferfaces (e.g., ISteamUser, IPlayerService)\nthat provide different functions. After instantiating one of the interfaces\nthe functions can be called with the appropriate paramenters. Each function\nreturns a string of either json, xml, or vdf (valve data format). This can be\nset by the ``DEFAULTFORMAT`` variable or changed in the paramters of the\nfunction: ``steamuserinfo.resolve_vanity_url(\"profileURL\", format=\"xml\")``.\n\nAlternatively, there is a helper function available to build a \"user profile\".\nAt the moment, to use the profile module the STEAM_API_KEY environment variable\nmust be set.\n\n.. code:: python\n\n from steamwebapi import profiles\n user_profile = profiles.get_user_profile(\"VanityURLOrSteamID\")\n\n print(vars(user_profile))\n\n\nSteam Web API Documentation\n~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n* `Steam Web API `_\n* `WebAPI Team Fortress Wiki `_\n* `Steam Community Data `_\n\nREQUIREMENTS\n~~~~~~~~~~~~\n\n* Python\n * 3.5.*\n * 3.4.*\n * 3.3.*\n * 3.2.*\n * 2.7.*\n * 2.6.*\n\n.. |buildstatus| image:: https://travis-ci.org/shawnsilva/steamwebapi.svg?branch=master\n :target: https://travis-ci.org/shawnsilva/steamwebapi\n\nChange Log\n~~~~~~~~~~\n\nNovember 2, 2016 - v0.1.3\n^^^^^^^^^^^^^^^^^^^^^^^^^\n\nBugs\n....\n\n* Fixed passing API key when instantiating (`#1 `_)\n\nDecember 29, 2015 - v0.1.2\n^^^^^^^^^^^^^^^^^^^^^^^^^^\n\nMostly bug fixes as described below.\n\nChanges\n.......\n\n* Switched to reST instead of markdown to work with pypi\n\nBugs\n....\n\n* Fixed issue with profile generation where there was no attribute 'games' if there was no game history\n* Prevent an 'invalid' primaryclanid being set which is returned on some accounts. For example ID 103582791429521408 is returned, which is 0x170000000000000 in hex. The lower 32 bits are used for the actual group/clan id and in this case they are '0'.\n* Not all responses for recently played games return attributes for 'name' or image paths. This seems to mostly be limited time betas.\n\nNovember 27, 2015 - v0.1.1\n^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n* API key must be set via the environment variable ``STEAM_API_KEY``\n* When json format is requested, it is now automatically parsed\n\nJuly 05, 2013 - v0.1.0\n^^^^^^^^^^^^^^^^^^^^^^\n\n* Initial script creation.", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/shawnsilva/steamwebapi", "keywords": "steam valve api web user group profile", "license": "GNU GPL v3", "maintainer": "", "maintainer_email": "", "name": "steamwebapi", "package_url": "https://pypi.org/project/steamwebapi/", "platform": "Unix,Windows", "project_url": "https://pypi.org/project/steamwebapi/", "project_urls": { "Homepage": "https://github.com/shawnsilva/steamwebapi" }, "release_url": "https://pypi.org/project/steamwebapi/0.1.3/", "requires_dist": null, "requires_python": "", "summary": "Steam API Wrapper", "version": "0.1.3" }, "last_serial": 2438310, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "52b21f9754c6734296f00c3fd2030075", "sha256": "1c2aaf3a9ef2e2fd540abaaec4f49a5d10cd5e19a6defe35f33d03600ce51330" }, "downloads": -1, "filename": "steamwebapi-0.1.1.zip", "has_sig": false, "md5_digest": "52b21f9754c6734296f00c3fd2030075", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 28095, "upload_time": "2015-12-05T18:46:52", "url": "https://files.pythonhosted.org/packages/6b/70/83908079d3e4d0763b16db444eccbbd3724ad6aaf48219b45ee94f91e9a0/steamwebapi-0.1.1.zip" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "289686ab2f05bf802a803dc832131d6d", "sha256": "adc09984912a2227cd9623ea94e5208d926d3c99aa37cdbae51573e0995252e2" }, "downloads": -1, "filename": "steamwebapi-0.1.2.zip", "has_sig": false, "md5_digest": "289686ab2f05bf802a803dc832131d6d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 32117, "upload_time": "2015-12-29T16:31:22", "url": "https://files.pythonhosted.org/packages/57/60/ddef5c78b89f37fc715f88d490dae5a973cd314abecf511a930110ce0e3b/steamwebapi-0.1.2.zip" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "523d0281599fd638509195e44f4a7474", "sha256": "5f55760fd38b81260989b2e1667b2271b2665ff35c67aedb14ac1748771a2110" }, "downloads": -1, "filename": "steamwebapi-0.1.3-py3-none-any.whl", "has_sig": false, "md5_digest": "523d0281599fd638509195e44f4a7474", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 16373, "upload_time": "2016-11-02T18:02:28", "url": "https://files.pythonhosted.org/packages/66/e3/9275e8e3bc1c83cdbd6eeac1f403c5cdf25a250b72bd9113629976a4ba79/steamwebapi-0.1.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "535aadd1079c305f7a72becdcde37a51", "sha256": "2dd9197a9be31831641be6cdcc1c0600e31365296e35fa9c0a7b0d682d89415e" }, "downloads": -1, "filename": "steamwebapi-0.1.3.tar.gz", "has_sig": false, "md5_digest": "535aadd1079c305f7a72becdcde37a51", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22609, "upload_time": "2016-11-02T18:02:26", "url": "https://files.pythonhosted.org/packages/11/68/a00054e1ae5408b746703707acc0902c883ea2e16bc4d417fbdfffdefeed/steamwebapi-0.1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "523d0281599fd638509195e44f4a7474", "sha256": "5f55760fd38b81260989b2e1667b2271b2665ff35c67aedb14ac1748771a2110" }, "downloads": -1, "filename": "steamwebapi-0.1.3-py3-none-any.whl", "has_sig": false, "md5_digest": "523d0281599fd638509195e44f4a7474", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 16373, "upload_time": "2016-11-02T18:02:28", "url": "https://files.pythonhosted.org/packages/66/e3/9275e8e3bc1c83cdbd6eeac1f403c5cdf25a250b72bd9113629976a4ba79/steamwebapi-0.1.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "535aadd1079c305f7a72becdcde37a51", "sha256": "2dd9197a9be31831641be6cdcc1c0600e31365296e35fa9c0a7b0d682d89415e" }, "downloads": -1, "filename": "steamwebapi-0.1.3.tar.gz", "has_sig": false, "md5_digest": "535aadd1079c305f7a72becdcde37a51", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22609, "upload_time": "2016-11-02T18:02:26", "url": "https://files.pythonhosted.org/packages/11/68/a00054e1ae5408b746703707acc0902c883ea2e16bc4d417fbdfffdefeed/steamwebapi-0.1.3.tar.gz" } ] }