{ "info": { "author": "Alexandre Varas", "author_email": "alej0varas@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Framework :: Django", "Framework :: Django :: 1.10", "Framework :: Django :: 1.11", "Intended Audience :: Developers", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Internet :: WWW/HTTP :: Dynamic Content" ], "description": "============\n DjAppodeal\n============\n\nDjango application for `Appodeal `_ integration.\n\nInstall\n=======\n\n - Add 'appodeal' to `INSTALLED_APPS`\n - Add `url(r'^/', include('appodeal.urls')),` to `urls.py`\n - (optional) Add `APPODEAL_SECRET_ANDROID` to `settings.py`\n - (optional) Add `APPODEAL_SECRET_IOS` to `settings.py`\n - Add `APPODEAL_REWARD_CREATE_HANDLER` to `settings.py`\n - Run `python manage.py migrate`. \n - Add the callback URL in Appodeal \"{https://example.com/reward/}?data1={data1}&data2={data2}\"\n\nHandler\n=======\n\nIt will be called with:\n\n:output:\n A `dict` with the decrypted data from Appodeal\n:rewards:\n A `appodeal.Reward` `QuerySet` with all the records with the same `impression_id`.\n\nShould return a string that will be stored as `result` in the reward record.\n\nIf your handler fails the exception representation will be stored as the `result`.\n\n`output` example\n----------------\n\n.. code-block:: python\n\n {\n 'user_id': user_id,\n 'amount': amount,\n 'currency': currency,\n 'impression_id': impression_id,\n 'timestamp': timestamp,\n 'hash': hash,\n 'output': output\n }\n\n\nRun tests\n---------\n\n::\n\n ./runtests.py\n\nBuild/Publish\n-------------\n\n::\n\n python setup.py sdist bdist_wheel\n twine upload dist/*\n\n\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/alej0varas/djappodeal", "keywords": "django appodeal reward", "license": "GPL v3", "maintainer": "", "maintainer_email": "", "name": "appodeal", "package_url": "https://pypi.org/project/appodeal/", "platform": "", "project_url": "https://pypi.org/project/appodeal/", "project_urls": { "Homepage": "https://github.com/alej0varas/djappodeal" }, "release_url": "https://pypi.org/project/appodeal/0.9.3/", "requires_dist": [ "django", "pycrypto" ], "requires_python": "", "summary": "Django views for Appodeal integration", "version": "0.9.3" }, "last_serial": 3241798, "releases": { "0.9.1": [ { "comment_text": "", "digests": { "md5": "5708b8bf31badc98d38028d919040c29", "sha256": "1ab0e8247dbb0a241fc4d8ac7ded151dc452e97576881df35a742b528da9b087" }, "downloads": -1, "filename": "appodeal-0.9.1-py3-none-any.whl", "has_sig": false, "md5_digest": "5708b8bf31badc98d38028d919040c29", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9276, "upload_time": "2017-10-11T09:25:29", "url": "https://files.pythonhosted.org/packages/92/f7/7b9af2ed67c965f4c54e7fc983efcdbba1415f2bf8c6bfb0dc5a6f2f5980/appodeal-0.9.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "50a8439640e36970cec5673101469375", "sha256": "f654c78f85d6141717739b63cb88a0d1f75b1ec8b0d06daabc3a3d743d0e8129" }, "downloads": -1, "filename": "appodeal-0.9.1.tar.gz", "has_sig": false, "md5_digest": "50a8439640e36970cec5673101469375", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5673, "upload_time": "2017-10-11T09:25:30", "url": "https://files.pythonhosted.org/packages/c9/07/e01ea9ec653569777636763f935633cb3c1e8435c1d0c78fd585be791d43/appodeal-0.9.1.tar.gz" } ], "0.9.2": [ { "comment_text": "", "digests": { "md5": "85547a224bc89d5ac7dfb3186c92d05e", "sha256": "7805001b75c19193da1212c432adbbf05e0ced22bf8c2dd39f1a58f5fe801348" }, "downloads": -1, "filename": "appodeal-0.9.2-py3-none-any.whl", "has_sig": false, "md5_digest": "85547a224bc89d5ac7dfb3186c92d05e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9306, "upload_time": "2017-10-11T09:27:56", "url": "https://files.pythonhosted.org/packages/7c/a5/fffbf50fb530523cfc0fc103df2e75f813958961ef0906499e125d142f37/appodeal-0.9.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a1216d8b899f5cfe4d9eda3515fe6820", "sha256": "023b353d7ca6bf1314ef3a8d4189d464c16a3b1e919b327f5cd14ab5b5f1a505" }, "downloads": -1, "filename": "appodeal-0.9.2.tar.gz", "has_sig": false, "md5_digest": "a1216d8b899f5cfe4d9eda3515fe6820", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5693, "upload_time": "2017-10-11T09:27:57", "url": "https://files.pythonhosted.org/packages/1c/a3/f80202e08b20e224d867c5943f06d4a01cf5e18e0978d9ed8812edc799ea/appodeal-0.9.2.tar.gz" } ], "0.9.3": [ { "comment_text": "", "digests": { "md5": "321bd4aa9ee9deeb5954944ed5ba3dcb", "sha256": "6673de763019ca4c0a5e68ceadfb613690b4c9352ed2fb679dd6fe24612afd13" }, "downloads": -1, "filename": "appodeal-0.9.3-py3-none-any.whl", "has_sig": false, "md5_digest": "321bd4aa9ee9deeb5954944ed5ba3dcb", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9521, "upload_time": "2017-10-11T11:40:01", "url": "https://files.pythonhosted.org/packages/2f/a0/d077427f17c5d3ad26bd5908da83b1afaffae1b813a01675dda4876c7016/appodeal-0.9.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ec36eced171979f8c3baccf1d1e9a928", "sha256": "d7b3f32c02dfc0de62e04c82c76e026c7864a5845f2e01af786e8e3e556cb086" }, "downloads": -1, "filename": "appodeal-0.9.3.tar.gz", "has_sig": false, "md5_digest": "ec36eced171979f8c3baccf1d1e9a928", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5830, "upload_time": "2017-10-11T11:40:03", "url": "https://files.pythonhosted.org/packages/90/13/56f3c41ee87fa7806b5b438da7d5cfbfbc76b9098cda795acfbfb9b32dbc/appodeal-0.9.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "321bd4aa9ee9deeb5954944ed5ba3dcb", "sha256": "6673de763019ca4c0a5e68ceadfb613690b4c9352ed2fb679dd6fe24612afd13" }, "downloads": -1, "filename": "appodeal-0.9.3-py3-none-any.whl", "has_sig": false, "md5_digest": "321bd4aa9ee9deeb5954944ed5ba3dcb", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9521, "upload_time": "2017-10-11T11:40:01", "url": "https://files.pythonhosted.org/packages/2f/a0/d077427f17c5d3ad26bd5908da83b1afaffae1b813a01675dda4876c7016/appodeal-0.9.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ec36eced171979f8c3baccf1d1e9a928", "sha256": "d7b3f32c02dfc0de62e04c82c76e026c7864a5845f2e01af786e8e3e556cb086" }, "downloads": -1, "filename": "appodeal-0.9.3.tar.gz", "has_sig": false, "md5_digest": "ec36eced171979f8c3baccf1d1e9a928", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5830, "upload_time": "2017-10-11T11:40:03", "url": "https://files.pythonhosted.org/packages/90/13/56f3c41ee87fa7806b5b438da7d5cfbfbc76b9098cda795acfbfb9b32dbc/appodeal-0.9.3.tar.gz" } ] }