{ "info": { "author": "Praekelt Foundation", "author_email": "dev@praekeltfoundation.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP :: Dynamic Content" ], "description": "Django Google Credentials\n=========================\n\nStores Google OAuth credentials in Django ORM for easy API service access.\n\nInstallation:\n-------------\n#. Install or add ``django-google-credentials`` to your Python path.\n\n#. Add ``google_credentials`` to your ``INSTALLED_APPS`` setting.\n\n#. Add ``google_credentials`` URL include to your project's ``urls.py`` file::\n \n url(r'^google-credentials/', include('google_credentials.urls')),\n\n#. Create your project on the `Google API Console `_, specifying the redirect URL as ``http://your.domain.com/google-credentials/callback`` (or however you setup your ``urls.py`` as described above).\n\n#. Add the following settings to your project's ``settings.py`` file populated with values as retrieved from Google in the previous step, i.e.::\n \n GA_CLIENT_ID = '32749234234.apps.googleusercontent.com'\n GA_CLIENT_SECRET = 'DKSFY87sd6fHJGdsf6'\n GA_SCOPE = 'https://www.googleapis.com/auth/analytics.readonly'\n GA_REDIRECT_URI = 'http://your.domain.com/google-credentials/callback'\n\n#. Run ``syncdb`` to generate required models.\n\nUsage\n-----\n \nBefore you can start using a service you have to authorize it with your Google account. To do this open `http://your.domain.com/google-credentials/authorize `_ in your browser. \n\nOnce authorized you can retrieve a service for further querying like so::\n\n from google_credentials import utils\n\n service = utils.get_service()\n\nTo purge previously generated credentials open `http://your.domain.com/google-credentials/purge `_ in your browser.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/praekelt/django-google-credentials", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "django-google-credentials", "package_url": "https://pypi.org/project/django-google-credentials/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-google-credentials/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/praekelt/django-google-credentials" }, "release_url": "https://pypi.org/project/django-google-credentials/0.0.2/", "requires_dist": null, "requires_python": null, "summary": "Django app storing Google API OAuth credentials.", "version": "0.0.2" }, "last_serial": 4623990, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "64b23b7d7258bec0f388976b8b362758", "sha256": "5b3d57f4b86de1e3e399f83857afbbdb85e3c455e6e0863a232e9e89620b15b6" }, "downloads": -1, "filename": "django_google_credentials-0.0.1-py2.7.egg", "has_sig": false, "md5_digest": "64b23b7d7258bec0f388976b8b362758", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 7165, "upload_time": "2012-08-16T13:07:57", "url": "https://files.pythonhosted.org/packages/37/73/ddb19d586cf6a9cbd1891afae5efcbf5d5a17e7980b7da2c5d1910a40c1e/django_google_credentials-0.0.1-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "b0e63587f894fab4221bff9a5c4734ce", "sha256": "21cd603ce14c50bb238a041e274b5eaa1d1d4e08ee6636414184c178b81967ab" }, "downloads": -1, "filename": "django-google-credentials-0.0.1.tar.gz", "has_sig": false, "md5_digest": "b0e63587f894fab4221bff9a5c4734ce", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4186, "upload_time": "2012-08-16T13:07:59", "url": "https://files.pythonhosted.org/packages/f8/81/747e32d80fc3f6b0e286bef2adefdd749c83da3ab52951860d5c81fa2da4/django-google-credentials-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "8ee8e4a68c36a6c19204b705bf421459", "sha256": "95834fd2373dbc75e2470fb1686d9aab2e7737e1997bb36e0acc2021807641ff" }, "downloads": -1, "filename": "django_google_credentials-0.0.2-py2.7.egg", "has_sig": false, "md5_digest": "8ee8e4a68c36a6c19204b705bf421459", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 7223, "upload_time": "2013-01-22T08:57:17", "url": "https://files.pythonhosted.org/packages/2b/9f/cb91b2117bb25f1835d3240895ff858272073810154b1d0e564a46f13da4/django_google_credentials-0.0.2-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "30281c4dfdba7574eb773c904ba1a780", "sha256": "dbef126c0e9fe29b4fa71fc3f69fdf5d34c9cb39efc3d48ccefd07e4ffddfc96" }, "downloads": -1, "filename": "django-google-credentials-0.0.2.tar.gz", "has_sig": false, "md5_digest": "30281c4dfdba7574eb773c904ba1a780", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4144, "upload_time": "2013-01-22T08:57:22", "url": "https://files.pythonhosted.org/packages/01/ac/4fc1de17735b407e4f19ecaf929c493b9f92c0e138a8d337f227fc0d60b2/django-google-credentials-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8ee8e4a68c36a6c19204b705bf421459", "sha256": "95834fd2373dbc75e2470fb1686d9aab2e7737e1997bb36e0acc2021807641ff" }, "downloads": -1, "filename": "django_google_credentials-0.0.2-py2.7.egg", "has_sig": false, "md5_digest": "8ee8e4a68c36a6c19204b705bf421459", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 7223, "upload_time": "2013-01-22T08:57:17", "url": "https://files.pythonhosted.org/packages/2b/9f/cb91b2117bb25f1835d3240895ff858272073810154b1d0e564a46f13da4/django_google_credentials-0.0.2-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "30281c4dfdba7574eb773c904ba1a780", "sha256": "dbef126c0e9fe29b4fa71fc3f69fdf5d34c9cb39efc3d48ccefd07e4ffddfc96" }, "downloads": -1, "filename": "django-google-credentials-0.0.2.tar.gz", "has_sig": false, "md5_digest": "30281c4dfdba7574eb773c904ba1a780", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4144, "upload_time": "2013-01-22T08:57:22", "url": "https://files.pythonhosted.org/packages/01/ac/4fc1de17735b407e4f19ecaf929c493b9f92c0e138a8d337f227fc0d60b2/django-google-credentials-0.0.2.tar.gz" } ] }