{ "info": { "author": "Fredrik Sundqvist", "author_email": "fsundqvist@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Swish Python Client Library\r\n===========================\r\n\r\nThis client library is designed to support the Swish API. It was originally developed at `Playing `_.\r\n\r\nInstallation\r\n------------\r\n\r\nIt's easy! Just install it with pip:\r\n\r\n.. code-block:: bash\r\n\r\n $ pip install swish\r\n\r\nQuick Start Example\r\n-------------------\r\n\r\n.. code-block:: python\r\n\r\n import swish\r\n\r\n swish_client = swish.SwishClient(\r\n environment=swish.Environment.Test,\r\n merchant_swish_number='1231181189',\r\n cert=('/path/to/cert.pem', '/path/to/key.pem'),\r\n verify='/path/to/swish.pem'\r\n )\r\n\r\n payment = swish_client.create_payment(\r\n payee_payment_reference='0123456789',\r\n callback_url='https://example.com/api/swishcb/paymentrequests',\r\n payer_alias='46712345678',\r\n amount=100,\r\n currency='SEK',\r\n message='Kingston USB Flash Drive 8 GB'\r\n )\r\n\r\n # YOUR CODE: Save payment.id and other info in your database for later!\r\n\r\n\r\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/madspindel/swish-python", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "swish", "package_url": "https://pypi.org/project/swish/", "platform": "", "project_url": "https://pypi.org/project/swish/", "project_urls": { "Homepage": "https://github.com/madspindel/swish-python" }, "release_url": "https://pypi.org/project/swish/1.1/", "requires_dist": [ "requests (>=2.9.1)", "schematics (>=2.0.0.dev2)" ], "requires_python": "", "summary": "Swish Python Client Library", "version": "1.1" }, "last_serial": 4176538, "releases": { "1.0a1": [ { "comment_text": "", "digests": { "md5": "ce22276a07d05a18a442eb24840a599d", "sha256": "9621e58531dc9d26315d4951e986c1d0b03e2103de219b8a45797b58f578bb30" }, "downloads": -1, "filename": "swish-1.0a1.zip", "has_sig": false, "md5_digest": "ce22276a07d05a18a442eb24840a599d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18923, "upload_time": "2016-04-11T14:16:20", "url": "https://files.pythonhosted.org/packages/68/a3/380e50f75976d9b385a471a5b1fe5412695447699412c01fa76ac0b4c4e9/swish-1.0a1.zip" } ], "1.0b1": [ { "comment_text": "", "digests": { "md5": "f94b8296ef9aa8b0a527082a5a41c2f4", "sha256": "728dac27b7f688bfe1c3adbdb8192d59bc80afef4311da0292e0da75328a140f" }, "downloads": -1, "filename": "swish-1.0b1.zip", "has_sig": false, "md5_digest": "f94b8296ef9aa8b0a527082a5a41c2f4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22191, "upload_time": "2016-04-18T10:00:20", "url": "https://files.pythonhosted.org/packages/37/9b/4e10f9eedaecabb856233c2dd9a2fae3799b32533b28f1ed858a88a79db1/swish-1.0b1.zip" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "c873cec6a82aebbeac88a869af0bde41", "sha256": "caf0b063ce357b7757f3ee51b29fe4ac518bc7add9d52a603d5be8e2d47a4679" }, "downloads": -1, "filename": "swish-1.1-py2-none-any.whl", "has_sig": false, "md5_digest": "c873cec6a82aebbeac88a869af0bde41", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 13821, "upload_time": "2018-08-16T13:22:34", "url": "https://files.pythonhosted.org/packages/ac/c8/dd049119e8555a10a04b4da8dbe4f1f357f3f7ff2d4d2f4c7c181a432ced/swish-1.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4fb1ac789acf9a4913607f9332af3e9d", "sha256": "bd9995ce18aa4ca35e510a4b7b46ada4f6b54cfbe0de1137b25aa59e4b1a4862" }, "downloads": -1, "filename": "swish-1.1.tar.gz", "has_sig": false, "md5_digest": "4fb1ac789acf9a4913607f9332af3e9d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12993, "upload_time": "2018-08-16T13:22:35", "url": "https://files.pythonhosted.org/packages/6e/cd/5f4c4d5c76dccc03e06d2aee9e9b093ca7d9711dfb78070d7754c10ce78d/swish-1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c873cec6a82aebbeac88a869af0bde41", "sha256": "caf0b063ce357b7757f3ee51b29fe4ac518bc7add9d52a603d5be8e2d47a4679" }, "downloads": -1, "filename": "swish-1.1-py2-none-any.whl", "has_sig": false, "md5_digest": "c873cec6a82aebbeac88a869af0bde41", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 13821, "upload_time": "2018-08-16T13:22:34", "url": "https://files.pythonhosted.org/packages/ac/c8/dd049119e8555a10a04b4da8dbe4f1f357f3f7ff2d4d2f4c7c181a432ced/swish-1.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4fb1ac789acf9a4913607f9332af3e9d", "sha256": "bd9995ce18aa4ca35e510a4b7b46ada4f6b54cfbe0de1137b25aa59e4b1a4862" }, "downloads": -1, "filename": "swish-1.1.tar.gz", "has_sig": false, "md5_digest": "4fb1ac789acf9a4913607f9332af3e9d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12993, "upload_time": "2018-08-16T13:22:35", "url": "https://files.pythonhosted.org/packages/6e/cd/5f4c4d5c76dccc03e06d2aee9e9b093ca7d9711dfb78070d7754c10ce78d/swish-1.1.tar.gz" } ] }