{ "info": { "author": "xSzpo", "author_email": "xszpox@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# allegro-api\n\npyAllegro is a framework, that provides a simple way to use Allegro [Web API](https://allegro.pl/webapi/general.php) and [Rest AP](https://developer.allegro.pl/about/). You don't need to know how RESTful, SOAP or oauth 2.0 works. \n
\nAs for now it's prepared for getting data from allegro - not for managing your account or bidding. \n\n\n### Get started: \n\n1. Go to https://apps.developer.allegro.pl/ and register your app. **You need to setup redirecion url to ```http://localhost:8000```** - it will be your local server that recive your autorization data (oauth 2.0),\n2. Generate your app password [here](https://allegro.pl/myaccount/Settings/security_settings.php/applicationPasswords),\n3. Install pyAllegro with ```pip install pyAllegro```\n4. Import ```from pyAllegro.api import AllegroRestApi, AllegroWebApi```\n5. Setup credentials that you recived from allegro (by default it's saved here: '/Users/{user}/.allegroApiConfig'):\n```\nWebApi = AllegroWebApi()\n\nWebApi.credentials_set(\n appName='',\n clientId='',\n clientSecred='',\n userLogin='',\n redirectUrl='',\n appPassword=''\n )\n\nRestApi = AllegroRestApi()\n\nRestApi.credentials_set(\n appName='',\n clientId='',\n clientSecred='',\n redirectUrl='http://localhost:8000'\n )\n```\n\n\n### How to use pyAllegro:\n* [WebApi](https://github.com/xSzpo/pyAllegro/blob/master/tutorial_WebApi.ipynb)\n* [RestApi](https://github.com/xSzpo/pyAllegro/blob/master/tutorial_RestApi.ipynb)\n\n\n### Allegro api documentation: \n* [Rest Api](https://developer.allegro.pl/documentation/) \n* [Web Api](https://allegro.pl/webapi/documentation.php)\n\n### References\nThanks to: \n* https://cwsi.pl/ecommerce/allegro/podstawy-obslugi-web-api-allegro-pl-web-services-i-modul-suds-jurko-w-pythonie\n* https://cwsi.pl/ecommerce/allegro/allegro-pl-rest-api-w-pythonie-wprowadzenie/\n\n\n### To do \n- [x] publish package on pypi \n- [ ] RestApi put \n- [ ] RestApi delete\n- [ ] restApi post\n\n\n\n\n### Changelog \nver. 0.1.0: \n* automatic token refreshing \n\nver. 0.1.1, 0.2.0: \n* load token automatically in ```RestApi.resource_get()``` method \n\nver. 0.3.0: \n* added ```response2JSON()``` function in WebApi - convert suds response to JSON. \n\n\n\n\n\n\n\n\n\n\n\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/xSzpo/pyAllegro", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pyAllegro", "package_url": "https://pypi.org/project/pyAllegro/", "platform": "", "project_url": "https://pypi.org/project/pyAllegro/", "project_urls": { "Homepage": "https://github.com/xSzpo/pyAllegro" }, "release_url": "https://pypi.org/project/pyAllegro/0.3.1/", "requires_dist": [ "suds-jurko", "requests" ], "requires_python": "", "summary": "pyAllegro is a framework, that provides a simple way to use Allegro Web API and Rest AP.", "version": "0.3.1" }, "last_serial": 4208687, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "12248cfbe5d2e46bf66d7ced65170ab7", "sha256": "99a29b0c72205e066c9f4d1de1d5367f1b92986c9c37ba96c21b8977476da95d" }, "downloads": -1, "filename": "pyAllegro-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "12248cfbe5d2e46bf66d7ced65170ab7", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6475, "upload_time": "2018-08-19T11:55:25", "url": "https://files.pythonhosted.org/packages/ee/7a/65b096c84de25dfeca8fe9f1a4802c525fe96f7a9a32a768ea8a92350553/pyAllegro-0.0.1-py3-none-any.whl" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "9c09afdc2e5e8a2d90e73a78ef24db8d", "sha256": "9567fc6e5fcd9732e87d9da3acdb81c91e7cadc5146d2cf7c4703cdce2ccb1a5" }, "downloads": -1, "filename": "pyAllegro-0.0.2.tar.gz", "has_sig": false, "md5_digest": "9c09afdc2e5e8a2d90e73a78ef24db8d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6027, "upload_time": "2018-08-19T12:28:56", "url": "https://files.pythonhosted.org/packages/2b/c3/48eea219d668969d127e643f46a36bc8b70dd3064899a6524388801c5c75/pyAllegro-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "8180f96408af9e7d0a42a7253c7f15b9", "sha256": "31c88f3cddc73c26319fd9b3af939f29965a43cc48582512294082b490f535fe" }, "downloads": -1, "filename": "pyAllegro-0.0.3.tar.gz", "has_sig": false, "md5_digest": "8180f96408af9e7d0a42a7253c7f15b9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6030, "upload_time": "2018-08-19T12:33:50", "url": "https://files.pythonhosted.org/packages/4b/38/16aba8b73755001e4850e7ee1d41947b1070100c81bc9705b221b10d4c6d/pyAllegro-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "7024ffc7e5c3ecce20ec9618ba63b440", "sha256": "33a4fc8bae006628ef1b7c31648b2bd6dee51daef261b191a3548fa393d0de0b" }, "downloads": -1, "filename": "pyAllegro-0.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "7024ffc7e5c3ecce20ec9618ba63b440", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6498, "upload_time": "2018-08-19T12:45:44", "url": "https://files.pythonhosted.org/packages/e6/cb/429cfc9679b8a1b39462f2ca11477d6456026941a1ce1f0b5892869e4a33/pyAllegro-0.0.4-py3-none-any.whl" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "e55c7853b9495523b36a14e232f59d99", "sha256": "356a6d592583c301349869c752460343f08fc98b0c2df2503fe473a96ee1440f" }, "downloads": -1, "filename": "pyAllegro-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "e55c7853b9495523b36a14e232f59d99", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6621, "upload_time": "2018-08-25T21:32:44", "url": "https://files.pythonhosted.org/packages/25/c3/80150347ba24bcc1b02b2997652d48754f0279e9d4d9935394a8f5ada7fe/pyAllegro-0.1.0-py3-none-any.whl" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "f2b582261cce21cc9fe0727a1cbc9943", "sha256": "317791535833251412cd5abf46595b789926c12946d31d382f4b6904d21c5f3f" }, "downloads": -1, "filename": "pyAllegro-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "f2b582261cce21cc9fe0727a1cbc9943", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6654, "upload_time": "2018-08-26T10:31:16", "url": "https://files.pythonhosted.org/packages/c3/7f/bff644d47af557efb949a458b9702f05920dccb299be941288df25c2c2fc/pyAllegro-0.1.1-py3-none-any.whl" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "13eab7e98d76cf8696e6815582f6a0d0", "sha256": "8000cd22320247e138f8a2f1c37de8b37a2f89cd43ef73ae2f3720ec135d7478" }, "downloads": -1, "filename": "pyAllegro-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "13eab7e98d76cf8696e6815582f6a0d0", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6657, "upload_time": "2018-08-26T10:35:56", "url": "https://files.pythonhosted.org/packages/8f/c3/5a36624c81d2e11093eb0c9c491290c9aa223dc2ea526a51dfca6b8e2a99/pyAllegro-0.2.0-py3-none-any.whl" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "f12b53b96304754a1395f94040cb0c87", "sha256": "4df20b8e6a236abf8a1d5e4c4e8aadda12dac5b33cf51c44136bc3ba8c776e8d" }, "downloads": -1, "filename": "pyAllegro-0.3.0-py3-none-any.whl", "has_sig": false, "md5_digest": "f12b53b96304754a1395f94040cb0c87", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6932, "upload_time": "2018-08-26T16:39:28", "url": "https://files.pythonhosted.org/packages/59/a8/fcc5bc836842c3bc06c5559da5a4b866f9d0b74f130f91eb1b366f1cf7c6/pyAllegro-0.3.0-py3-none-any.whl" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "4cd48aa64059f201e5aba3ff592c464d", "sha256": "c23a2ea6853302a16383229e9bded01c469315685e3f1affc788f7a8d0f59d70" }, "downloads": -1, "filename": "pyAllegro-0.3.1-py3-none-any.whl", "has_sig": false, "md5_digest": "4cd48aa64059f201e5aba3ff592c464d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6931, "upload_time": "2018-08-26T16:46:40", "url": "https://files.pythonhosted.org/packages/36/c4/a58c543a525d613c9589187f5d7df5712b72e4c930a11234976c2492f4e1/pyAllegro-0.3.1-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4cd48aa64059f201e5aba3ff592c464d", "sha256": "c23a2ea6853302a16383229e9bded01c469315685e3f1affc788f7a8d0f59d70" }, "downloads": -1, "filename": "pyAllegro-0.3.1-py3-none-any.whl", "has_sig": false, "md5_digest": "4cd48aa64059f201e5aba3ff592c464d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6931, "upload_time": "2018-08-26T16:46:40", "url": "https://files.pythonhosted.org/packages/36/c4/a58c543a525d613c9589187f5d7df5712b72e4c930a11234976c2492f4e1/pyAllegro-0.3.1-py3-none-any.whl" } ] }