{ "info": { "author": "Victor Drouin Viallard", "author_email": "victor@drouin.io", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Framework :: Django :: 1.9", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content" ], "description": "# django-steam\n\nSteam api and authentication for django\n\n## Installation\n\n```\npip install django_steam\n```\n\n## Configuration\n\nFirst install the required apps and set the required settings :\n```\nINSTALLED_APPS = (\n ...\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django_openid_auth',\n 'django_steam_api',\n 'django_steam',\n ...\n)\n\n\nAUTHENTICATION_BACKENDS = (\n ...\n 'django_openid_auth.auth.OpenIDBackend',\n ...\n)\n\nLOGIN_URL = '/path/to/openid/login/'\nOPENID_CREATE_USERS = True\nSTEAM_API_KEY = 'YOURSTEAMAPIKEY'\n\n# recommended\nOPENID_SSO_SERVER_URL = 'http://steamcommunity.com/openid'\nSESSION_SERIALIZER = 'django.contrib.sessions.serializers.PickleSerializer'\n\n\n# optional\nOPENID_UPDATE_DETAILS_FROM_SREG = True\nALLOWED_EXTERNAL_OPENID_REDIRECT_DOMAINS = ['http://example.org']\nOPENID_STRICT_USERNAMES = False\n# see https://github.com/edx/django-openid-auth\n# and https://github.com/voblivion/django-steam-api\n```\n\nAdd openid urls to your configuration :\n```\nurlpatterns = patterns('',\n ...\n (r'^openid/', include('django_openid_auth.urls')),\n ...\n)\n```\n\n\nThen update database scheme :\n```\n./manage.py migrate\n```\n\n## Usage\n\nUse any of django-steam-api models.\n\nGive your users link to steam auth :\n```\n\n \n\n```\n\nAccess steam's player profile of authenticated users :\n```\nif user.steam:\n do_something_with(user.steam.player)\n```", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/voblivion/django-steam", "keywords": "", "license": "GPL-3.0 License", "maintainer": "", "maintainer_email": "", "name": "django-steam", "package_url": "https://pypi.org/project/django-steam/", "platform": "", "project_url": "https://pypi.org/project/django-steam/", "project_urls": { "Homepage": "https://github.com/voblivion/django-steam" }, "release_url": "https://pypi.org/project/django-steam/0.1/", "requires_dist": null, "requires_python": "", "summary": "Steam api and authentication for django.", "version": "0.1" }, "last_serial": 2934189, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "419492d4f3e2f3b65b57f9125c5a4bcc", "sha256": "82d91b16d865002a630b0a852dd919bc9600a33f9a46e501db0c2519e05ee7cc" }, "downloads": -1, "filename": "django-steam-0.1.tar.gz", "has_sig": false, "md5_digest": "419492d4f3e2f3b65b57f9125c5a4bcc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15492, "upload_time": "2017-06-08T01:56:25", "url": "https://files.pythonhosted.org/packages/63/9f/188032dad63527069f50ca5edcc4b579c0a5c39092321e2ce1f6825f1a60/django-steam-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "419492d4f3e2f3b65b57f9125c5a4bcc", "sha256": "82d91b16d865002a630b0a852dd919bc9600a33f9a46e501db0c2519e05ee7cc" }, "downloads": -1, "filename": "django-steam-0.1.tar.gz", "has_sig": false, "md5_digest": "419492d4f3e2f3b65b57f9125c5a4bcc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15492, "upload_time": "2017-06-08T01:56:25", "url": "https://files.pythonhosted.org/packages/63/9f/188032dad63527069f50ca5edcc4b579c0a5c39092321e2ce1f6825f1a60/django-steam-0.1.tar.gz" } ] }