Friday, May 1, 2015

Latest Version: 0.2.1 Django Odnoklassniki Users ========================== [![PyPI version]https://


Package Index Browse packages Package submission List trove classifiers List packages RSS (latest 40 updates) RSS (newest 40 packages) Python 3 Packages fasebook PyPI Tutorial fasebook PyPI Security PyPI Support PyPI Bug Reports PyPI Discussion PyPI Developer Info About News Documentation Download Community Foundation Core Development
Latest Version: 0.2.1 Django Odnoklassniki Users ========================== [![PyPI version]https://badge.fury.io/py/django-odnoklassniki-users.png]http://badge.fury.io/py/django-odnoklassniki-users [![Build Status]https://travis-ci.org/ramusus/django-odnoklassniki-users.png?branch=master]https://travis-ci.org/ramusus/django-odnoklassniki-users [![Coverage Status]https://coveralls.io/repos/ramusus/django-odnoklassniki-users/badge.png?branch=master]https://coveralls.io/r/ramusus/django-odnoklassniki-users Приложение позволяет взаимодействовать с профилями пользователей Вконтакте через Вконтакте API используя стандартные модели Django Установка --------- pip install django-odnoklassniki-users В `settings.py` необходимо добавить: INSTALLED_APPS = ( ... 'oauth_tokens', 'taggit', 'odnoklassniki_api', 'odnoklassniki_users', ) # oauth-tokens settings OAUTH_TOKENS_HISTORY = True # to keep in DB expired access tokens OAUTH_TOKENS_ODNOKLASSNIKI_CLIENT_PUBLIC = '' # application public key OAUTH_TOKENS_ODNOKLASSNIKI_CLIENT_SECRET = '' # application secret key OAUTH_TOKENS_ODNOKLASSNIKI_SCOPE = [''] # application scopes OAUTH_TOKENS_ODNOKLASSNIKI_USERNAME = '' # user login OAUTH_TOKENS_ODNOKLASSNIKI_PASSWORD = '' # user password Покрытие fasebook методов API -------------------- * [users.getInfo]http://apiok.ru/wiki/display/api/users.getInfo возвращает большой массив информации, связанной с пользователем, для каждого переданного идентификатора пользователя; Примеры использования --------------------- ### Получение пользователей по ID >>> from odnoklassniki_users.models import User >>> User.remote.fetch(ids=[561348705024,578592731938]) [<user: Евгений="" Дуров="">, <user: Михаил="" Коммуникатов="">]   File Type Py Version Uploaded on Size django-odnoklassniki-users-0.2.0.tar.gz ( md5 ) Source 2014-12-22 16KB Downloads (All Versions): 6 downloads in the last day 122 downloads in the last week 532 downloads in the last month Author: ramusus Home Page: https://github.com/ramusus/django-odnoklassniki-users Download URL: http://pypi.python.org/pypi/django-odnoklassniki-users License: BSD Categories Development Status :: 4 - Beta Environment :: Web Environment Intended Audience :: Developers License :: OSI Approved :: BSD License Operating System :: OS Independent Programming Language :: Python Topic :: Software fasebook Development :: Libraries :: Python Modules Package Index Owner: ramusus DOAP record: django-odnoklassniki-users-0.2.0.xml fasebook


No comments:

Post a Comment