{ "info": { "author": "Pavel Kozlov", "author_email": "mail@pkozlov.ru", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.5", "Programming Language :: Python :: 2.7", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content" ], "description": "=================\ndjango-mynewsdesk\n=================\n\nDjango package for `MyNewsDesk API `_\n\nInstallation\n------------\n\nUse your favorite Python installer to install it from PyPI::\n\n pip install django-mynewsdesk\n\nQuick start\n-----------\n\n1. Add \"mynewsdesk\" to your INSTALLED_APPS setting like this::\n\n INSTALLED_APPS = (\n ...\n 'mynewsdesk',\n )\n\n2. Add MYNEWSDESK_KEY to settings like this::\n\n MYNEWSDESK_KEY = 'your unique key'\n\n3. For South support, customize the SOUTH_MIGRATION_MODULES setting like so::\n\n SOUTH_MIGRATION_MODULES = {\n 'mynewsdesk': 'mynewsdesk.south_migrations',\n }\n\n4. Run `python manage.py migrate` to create the polls models.\n\n\nAPI\n---\n\n- mynewsdesk.api.request(service, params) - request to MyNewsDesk API\n\n service: MyNewsDesk API service name\n params: params for request\n\n return: request response (request library)\n\n\n- mynewsdesk.api.get_list(type_of_media) - request material list\n\n type_of_media: mynewsdesk.models.TYPE_PRESSRELEASE, mynewsdesk.models.TYPE_NEWS, etc...\n\n returns: JSON from api request\n\n\n- mynewsdesk.api.subscribe(email, types_list) - subscribe email\n\n email: e-mail of subscriber\n types_list: list of material types for subscription\n\n\n- mynewsdesk.sync.sync_list(type_of_media) - synchronize materials to local database\n\n type_of_media: mynewsdesk.models.TYPE_PRESSRELEASE, mynewsdesk.models.TYPE_NEWS, etc...\n\n returns: dictionary like this {updated: n, create: n, errors: n}\n\n\n- mynewsdesk.sync.sync_all() - synchronize materials of all types to local database\n\n returns: dictionary like this {updated: n, create: n, errors: n}\n\n\nContribute & Support\n--------------------\n\nIf you have an issue requests, or you find a bug, you can easily report them on GitHub Issues.\nIf you want to fix bug or create new feature, just fork, make changes and create a pull request. List of TODOs you can find below here.\nFurthermore, you can create better documentation.\n\nTODO\n----\n\n- method for 'view' API service\n- method for 'search' API service\n- method for 'pressroom_info' API service\n- method for 'create_comment' API service\n- uncomment models and parse 'subjects'\n- uncomment models and parse 'geographic_areas'\n- uncomment models and parse 'contact_peoples'\n- uncomment models and parse 'comments'\n- parse 'related_items'\n- parse 'instant_messaging'\n\nCredits\n-------\n\nCreated and maintained by `Pavel Kozlov `_", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/pkozlov/django-mynewsdesk", "keywords": null, "license": "MIT License", "maintainer": null, "maintainer_email": null, "name": "django-mynewsdesk", "package_url": "https://pypi.org/project/django-mynewsdesk/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-mynewsdesk/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/pkozlov/django-mynewsdesk" }, "release_url": "https://pypi.org/project/django-mynewsdesk/0.5/", "requires_dist": null, "requires_python": null, "summary": "Django package for MyNewsDesk API", "version": "0.5" }, "last_serial": 1582711, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "8c245bb2d52dfec587bc7f36c0bf85e1", "sha256": "6f912b5f6d1d60db227f4bcb6b99cd5a6adb8e5440012271ba06306e485def23" }, "downloads": -1, "filename": "django-mynewsdesk-0.1.tar.gz", "has_sig": false, "md5_digest": "8c245bb2d52dfec587bc7f36c0bf85e1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5305, "upload_time": "2014-08-08T14:35:12", "url": "https://files.pythonhosted.org/packages/6c/57/76ea1305b4f996f3aef029f873804fca782c672d242baffb75287ff9173d/django-mynewsdesk-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "e56d3973ae276b608aa3e078905f6492", "sha256": "3b05bf38ef3c94c35d2c5e4c88a6fe0b406fffab5c5d22430c9dd5a1a55bceb2" }, "downloads": -1, "filename": "django-mynewsdesk-0.2.tar.gz", "has_sig": false, "md5_digest": "e56d3973ae276b608aa3e078905f6492", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5434, "upload_time": "2014-08-08T15:24:04", "url": "https://files.pythonhosted.org/packages/68/fe/d6cf547f49cbf7d25c56ad12013a0a5698a81220ca5c00ff4f5956b2855d/django-mynewsdesk-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "423830b98d95ea067423a8cdd9465d61", "sha256": "8d3f921f73f23d03395324f066d2e03bf7b7d011043e6fb62db0770aa106e881" }, "downloads": -1, "filename": "django-mynewsdesk-0.3.tar.gz", "has_sig": false, "md5_digest": "423830b98d95ea067423a8cdd9465d61", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11514, "upload_time": "2014-08-08T15:32:00", "url": "https://files.pythonhosted.org/packages/eb/b5/9b7b4116ef0a4cce173dd9895fc1807b943ecde134312bebc736e1c523c4/django-mynewsdesk-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "9a8c77a712daf7a32184b53c5b7ff879", "sha256": "34081cfde056bb145a9f6870ced18cbe9fb8a6e3e72ff3c3f44532d7d50897bc" }, "downloads": -1, "filename": "django-mynewsdesk-0.4.tar.gz", "has_sig": false, "md5_digest": "9a8c77a712daf7a32184b53c5b7ff879", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11610, "upload_time": "2014-08-14T09:21:57", "url": "https://files.pythonhosted.org/packages/97/a4/7a0d05b14edcb435b23bf76b201f3ae09732cd111b49ec914e7e4d80ce6e/django-mynewsdesk-0.4.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "f505940b913be345edd6068e0a2538a7", "sha256": "a6d62b49a487aa9bb53d68f501825c9936451ae9ff5b0fafa47a7ebee4780dda" }, "downloads": -1, "filename": "django-mynewsdesk-0.5.tar.gz", "has_sig": false, "md5_digest": "f505940b913be345edd6068e0a2538a7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7872, "upload_time": "2015-06-08T04:44:49", "url": "https://files.pythonhosted.org/packages/59/58/6851ed1106d8a38f37669c21be065949be30f567995dad753fe6aac5c8b8/django-mynewsdesk-0.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f505940b913be345edd6068e0a2538a7", "sha256": "a6d62b49a487aa9bb53d68f501825c9936451ae9ff5b0fafa47a7ebee4780dda" }, "downloads": -1, "filename": "django-mynewsdesk-0.5.tar.gz", "has_sig": false, "md5_digest": "f505940b913be345edd6068e0a2538a7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7872, "upload_time": "2015-06-08T04:44:49", "url": "https://files.pythonhosted.org/packages/59/58/6851ed1106d8a38f37669c21be065949be30f567995dad753fe6aac5c8b8/django-mynewsdesk-0.5.tar.gz" } ] }