Skip to main content

Django implementation for vkontakte API Board

Project description

# Django Vkontakte Board

Приложение позволяет взаимодействовать с дисскуссиями групп через Вконтакте API используя стандартные модели Django

## Установка

pip install django-vkontakte-board

В `settings.py` необходимо добавить:

INSTALLED_APPS = (
...
'vkontakte_api',
'vkontakte_groups',
'vkontakte_board',
)

## Примеры использования

### Получение дискуссий группы. Вариант 1

>>> from vkontakte_groups.models import Group
>>> group = Group.remote.fetch(ids=[16297716])
>>> group.fetch_topics()
[<Topic: ...>, <Topic: ...>, <Topic: ...>, '...(remaining elements truncated)...']

### Получение дискуссий группы. Вариант 2

>>> from vkontakte_board.models import Topic
>>> Topic.remote.fetch(group=group, all=True)
[<Topic: ...>, <Topic: ...>, <Topic: ...>, '...(remaining elements truncated)...']

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-vkontakte-board-0.1.2.tar.gz (20.5 kB view details)

Uploaded Source

File details

Details for the file django-vkontakte-board-0.1.2.tar.gz.

File metadata

File hashes

Hashes for django-vkontakte-board-0.1.2.tar.gz
Algorithm Hash digest
SHA256 ca0d02ff99de141e57ba2cf49f6776bb8d4ebf57833ac846830e7dab0cdb45b7
MD5 76237a255739e38b4bf9f2fc367b0550
BLAKE2b-256 88441275cad335b6c8b15a0fd587e3eb173224f3a93ef38dae20c3811b23f6f1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page