{ "info": { "author": "Rodrigo Martins de Oliveira", "author_email": "allrod5@hotmail.com", "bugtrack_url": null, "classifiers": [], "description": "StaticMaps Signature\n====================\n\nEasily sign Google StaticMap API request urls with your API Key or Client ID.\n\nPython 2.x and 3.x are supported.\n\n.. |build| image:: https://travis-ci.org/allrod5/staticmaps-signature.svg?branch=master\n :target: https://travis-ci.org/allrod5/staticmaps-signature\n :scale: 100%\n :align: middle\n.. |coverage| image:: https://coveralls.io/repos/github/allrod5/staticmaps-signature/badge.svg?branch=master\n :target: https://coveralls.io/github/allrod5/staticmaps-signature?branch=master\n :scale: 100%\n :align: middle\n\n+---------+------------+\n| |build| | |coverage| |\n+---------+------------+\n\nUsage\n-----\n\nUsing StaticMaps Signature is pretty straight forward:\n\n.. code:: python\n\n from staticmaps_signature import StaticMapURLSigner\n staticmap_url_signer = StaticMapURLSigner(\n public_key=YOUR_API_KEY, private_key=YOUR_SECRET)\n\n signed = staticmap_url_signer.sign_url(URL_TO_SIGN)\n\nThis will return your URL appended with\n``'&key=YOUR_API_KEY&signature=UNIQUE_SIGNATURE'``.\n\nIf you wish to use your Cliend ID instead then just instantiate\n:class:`StaticMapURLSigner` like this:\n\n.. code:: python\n\n staticmap_url_signer = StaticMapURLSigner(\n client_id=YOUR_CLIENT_ID, private_key=YOUR_SECRET)\n\nIn case your URL already contains your API Key or Cliend ID instantiate\n:class:`StaticMapURLSigner` with your shared secret only:\n\n.. code:: python\n\n staticmap_url_signer = StaticMapURLSigner(private_key=YOUR_SECRET)\n\nIf you want just to append your API Key to the URL rather than signing it\njust instantiate :class:`StaticMapURLSigner` with your key only:\n\n.. code:: python\n\n staticmap_url_signer = StaticMapURLSigner(public_key=YOUR_API_KEY)\n\nThat's all there is for it.\n\nThis project is not maintained or supported by Google nor Google Maps.", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/allrod5/staticmaps-signature/", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "staticmaps-signature", "package_url": "https://pypi.org/project/staticmaps-signature/", "platform": "any", "project_url": "https://pypi.org/project/staticmaps-signature/", "project_urls": { "Homepage": "https://github.com/allrod5/staticmaps-signature/" }, "release_url": "https://pypi.org/project/staticmaps-signature/0.2.0/", "requires_dist": null, "requires_python": "", "summary": "Easily sign Google StaticMap API request urls with your API Key or Client ID", "version": "0.2.0" }, "last_serial": 3511886, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "81969b5cc5628b6e261f48ac8b32e592", "sha256": "0bf7e5c2dc68e658890901f21880c67b7ad2ab3c484c180fdd156035d2ef7aa3" }, "downloads": -1, "filename": "staticmaps-signature-0.1.0.tar.gz", "has_sig": false, "md5_digest": "81969b5cc5628b6e261f48ac8b32e592", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4114, "upload_time": "2017-09-25T18:49:31", "url": "https://files.pythonhosted.org/packages/ac/2e/f1b185a652d81cb561acfae45b63b0a815bf8e63971846883ae2ad05f6d6/staticmaps-signature-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "5e494f9c0ca65a7dfddc36b7b36cfe32", "sha256": "6b416c4cd7234de78c1962d6d3daba2bd1166e0d067dd5e98f2c8ca59baa411d" }, "downloads": -1, "filename": "staticmaps-signature-0.1.1.tar.gz", "has_sig": false, "md5_digest": "5e494f9c0ca65a7dfddc36b7b36cfe32", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4119, "upload_time": "2017-09-25T18:52:59", "url": "https://files.pythonhosted.org/packages/66/fe/aaca69a67e135c6b73e495dda01d9164941f039154c86db9714357d6fdde/staticmaps-signature-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "877ad419d6d489d1a9a145be1624a488", "sha256": "ebf3310c776b276b6c707fa81ac7c7e9466606860e52840cc99acd5cc03b8c11" }, "downloads": -1, "filename": "staticmaps-signature-0.1.2.tar.gz", "has_sig": false, "md5_digest": "877ad419d6d489d1a9a145be1624a488", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4041, "upload_time": "2017-09-25T22:17:35", "url": "https://files.pythonhosted.org/packages/4d/ec/6a1b124d20189ea1b2f879df0571b660526e33b3252d96b55960d8c4afbe/staticmaps-signature-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "c335961145561b30b559e33cce47b424", "sha256": "3a378b5928e3efd24415ae38bcc54afeab7faf489ab23399af98732392ccef17" }, "downloads": -1, "filename": "staticmaps-signature-0.1.3.tar.gz", "has_sig": false, "md5_digest": "c335961145561b30b559e33cce47b424", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4232, "upload_time": "2017-09-26T14:56:37", "url": "https://files.pythonhosted.org/packages/d8/52/87d392fe84086e729a3d5027342e504368b07c079693fd78ecee7ca95821/staticmaps-signature-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "5e99459b2020b696a01dd636b189a205", "sha256": "c385d4156d352469bb5db7473ee9f140d50a8b9d56a158ddf0c2b19adf63a39d" }, "downloads": -1, "filename": "staticmaps-signature-0.1.4.tar.gz", "has_sig": false, "md5_digest": "5e99459b2020b696a01dd636b189a205", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4485, "upload_time": "2017-09-26T16:38:33", "url": "https://files.pythonhosted.org/packages/7e/42/c62c66cf6fb10f20e02ea13d524ed05d5229456aae7d4caff0372874730c/staticmaps-signature-0.1.4.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "7610e7cd8232b4339547605570867948", "sha256": "95bfd46902c7a484e32a7192573ea97dbe6c1bece35d3c287f88982e77377c91" }, "downloads": -1, "filename": "staticmaps-signature-0.2.0.tar.gz", "has_sig": false, "md5_digest": "7610e7cd8232b4339547605570867948", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4737, "upload_time": "2018-01-22T17:33:21", "url": "https://files.pythonhosted.org/packages/8b/4e/b8b5b6f846dabe7d129c30cb65f5172c3b9f2ce7583363f1a0c3ce71470e/staticmaps-signature-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7610e7cd8232b4339547605570867948", "sha256": "95bfd46902c7a484e32a7192573ea97dbe6c1bece35d3c287f88982e77377c91" }, "downloads": -1, "filename": "staticmaps-signature-0.2.0.tar.gz", "has_sig": false, "md5_digest": "7610e7cd8232b4339547605570867948", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4737, "upload_time": "2018-01-22T17:33:21", "url": "https://files.pythonhosted.org/packages/8b/4e/b8b5b6f846dabe7d129c30cb65f5172c3b9f2ce7583363f1a0c3ce71470e/staticmaps-signature-0.2.0.tar.gz" } ] }