{ "info": { "author": "ramusus", "author_email": "ramusus@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Django Facebook Pages Statistic\n===============================\n\n[![PyPI version](https://badge.fury.io/py/django-facebook-pages-statistic.png)](http://badge.fury.io/py/django-facebook-pages-statistic) [![Build Status](https://travis-ci.org/ramusus/django-facebook-pages-statistic.png?branch=master)](https://travis-ci.org/ramusus/django-facebook-pages-statistic) [![Coverage Status](https://coveralls.io/repos/ramusus/django-facebook-pages/badge.png?branch=master)](https://coveralls.io/r/ramusus/django-facebook-pages-statistic)\n\nApplication for storing Facebook Pages statistic (likes and talking_about counters) for different timesnaps\n\nInstallation\n------------\n\n pip install django-facebook-pages-statistic\n\nAdd into `settings.py` lines:\n\n INSTALLED_APPS = (\n ...\n 'taggit',\n 'oauth_tokens',\n 'facebook_api',\n 'facebook_pages',\n 'facebook_pages_statistic',\n )\n\n # oauth-tokens settings\n OAUTH_TOKENS_HISTORY = True # to keep in DB expired access tokens\n OAUTH_TOKENS_FACEBOOK_CLIENT_ID = '' # application ID\n OAUTH_TOKENS_FACEBOOK_CLIENT_SECRET = '' # application secret key\n OAUTH_TOKENS_FACEBOOK_SCOPE = ['offline_access'] # application scopes\n OAUTH_TOKENS_FACEBOOK_USERNAME = '' # user login\n OAUTH_TOKENS_FACEBOOK_PASSWORD = '' # user password\n\nUsage examples\n--------------\n\nAfter fetching Facebook Page from [django-facebook-pages application](https://github.com/ramusus/django-facebook-pages)\nautomaticaly in background PageStatistic instance will be created which store last likes_count, talking_about_count and current update time\n\n >>> page = Page.remote.fetch('19292868552')\n >>> stat = page.statistics.latest()\n >>> stat.likes_count\n 10\n >>> stat.talking_about_count\n 20\n >>> stat.updated_at\n datetime.datetime(2014, 10, 28, 15, 12, 16, 128099, tzinfo=)\n\nLicensing\n---------\n\nThis library uses the [Apache License, version 2.0](http://www.apache.org/licenses/LICENSE-2.0.html).\nPlease see the library's individual files for more information.", "description_content_type": null, "docs_url": null, "download_url": "http://pypi.python.org/pypi/django-facebook-pages-statistic", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ramusus/django-facebook-pages-statistic", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "django-facebook-pages-statistic", "package_url": "https://pypi.org/project/django-facebook-pages-statistic/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-facebook-pages-statistic/", "project_urls": { "Download": "http://pypi.python.org/pypi/django-facebook-pages-statistic", "Homepage": "https://github.com/ramusus/django-facebook-pages-statistic" }, "release_url": "https://pypi.org/project/django-facebook-pages-statistic/0.6.0/", "requires_dist": null, "requires_python": null, "summary": "Application for storing Facebook Pages statistic for different timesnaps", "version": "0.6.0" }, "last_serial": 1755091, "releases": { "0.0.4": [], "0.0.5": [ { "comment_text": "", "digests": { "md5": "8d0bf77be2ba240346a8422a31955380", "sha256": "31af170549068f29474ecb820cc93ccc602fec8053c638aa970ba31327552dc9" }, "downloads": -1, "filename": "django-facebook-pages-statistic-0.0.5.tar.gz", "has_sig": false, "md5_digest": "8d0bf77be2ba240346a8422a31955380", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4144, "upload_time": "2014-11-03T18:22:11", "url": "https://files.pythonhosted.org/packages/bd/59/88b3252e42694d373f357ceb00c85ea35781c84a7c922fa5315779fb3ca5/django-facebook-pages-statistic-0.0.5.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "00dc7fc5cfabd55f5a831535c8295b9d", "sha256": "4f5e3e45a7ef4ca5c7599faf1177083f84bd1cfcca6b3b40cbc87d64b8e96135" }, "downloads": -1, "filename": "django-facebook-pages-statistic-0.0.6.tar.gz", "has_sig": false, "md5_digest": "00dc7fc5cfabd55f5a831535c8295b9d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5389, "upload_time": "2014-11-03T18:53:39", "url": "https://files.pythonhosted.org/packages/d2/a7/c2dd6a4578ba8bac62413afb4f4be7a6f99c6c744e94d226d58985fa4d40/django-facebook-pages-statistic-0.0.6.tar.gz" } ], "0.0.7": [ { "comment_text": "", "digests": { "md5": "06d9d3c53adf010576c8e5adf12efa50", "sha256": "a0911e36bb00c52c2c88a492ac32fb47439d2744c4a49db699ee60b22de2273a" }, "downloads": -1, "filename": "django-facebook-pages-statistic-0.0.7.tar.gz", "has_sig": false, "md5_digest": "06d9d3c53adf010576c8e5adf12efa50", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7931, "upload_time": "2014-11-14T16:45:41", "url": "https://files.pythonhosted.org/packages/e7/48/cd67863e3116b8b0c21598f47be449c290cfc810fc1e9919a0fba86bf8d9/django-facebook-pages-statistic-0.0.7.tar.gz" } ], "0.0.8": [ { "comment_text": "", "digests": { "md5": "7093479691c85e2f37a2444cb7875ac8", "sha256": "eb2ec82a35539ece4e7014132ce3f9f19e5737dd78cc88b0a6410b823219c6d0" }, "downloads": -1, "filename": "django-facebook-pages-statistic-0.0.8.tar.gz", "has_sig": false, "md5_digest": "7093479691c85e2f37a2444cb7875ac8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8130, "upload_time": "2014-11-15T12:58:38", "url": "https://files.pythonhosted.org/packages/38/71/159724e3fdeb77c87588f9d488757f5c04ceb871fbb23f4a7c6a6c3f7af8/django-facebook-pages-statistic-0.0.8.tar.gz" } ], "0.6.0": [ { "comment_text": "", "digests": { "md5": "d94a8f8ba25ad878474a58e62cf9a851", "sha256": "eb3ca3114af504d103a0b54359eac530543d8930565f0490c86fd1601cfa61ff" }, "downloads": -1, "filename": "django-facebook-pages-statistic-0.6.0.tar.gz", "has_sig": false, "md5_digest": "d94a8f8ba25ad878474a58e62cf9a851", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10551, "upload_time": "2015-10-06T17:56:40", "url": "https://files.pythonhosted.org/packages/01/a2/871641999f9f7b0ebe368c95582965532e1cc8e94d1ef0a754af3a8c2e92/django-facebook-pages-statistic-0.6.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d94a8f8ba25ad878474a58e62cf9a851", "sha256": "eb3ca3114af504d103a0b54359eac530543d8930565f0490c86fd1601cfa61ff" }, "downloads": -1, "filename": "django-facebook-pages-statistic-0.6.0.tar.gz", "has_sig": false, "md5_digest": "d94a8f8ba25ad878474a58e62cf9a851", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10551, "upload_time": "2015-10-06T17:56:40", "url": "https://files.pythonhosted.org/packages/01/a2/871641999f9f7b0ebe368c95582965532e1cc8e94d1ef0a754af3a8c2e92/django-facebook-pages-statistic-0.6.0.tar.gz" } ] }