=======================
[](http://badge.fury.io/py/django-vkontakte-places) [](https://travis-ci.org/ramusus/django-vkontakte-places) [](https://coveralls.io/r/ramusus/django-vkontakte-places)
Приложение позволяет взаимодействовать с географическими объектами Вконтакте, такими как страны и города через Вконтакте API используя стандартные модели Django
Установка
---------
pip install django-vkontakte-places
В `settings.py` необходимо добавить:
INSTALLED_APPS = (
...
'oauth_tokens',
'taggit',
'vkontakte_api',
'vkontakte_places',
)
# oauth-tokens settigs
OAUTH_TOKENS_HISTORY = True # to keep in DB expired access tokens
OAUTH_TOKENS_VKONTAKTE_CLIENT_ID = '' # application ID
OAUTH_TOKENS_VKONTAKTE_CLIENT_SECRET = '' # application secret key
OAUTH_TOKENS_VKONTAKTE_SCOPE = ['ads,wall,photos,friends,stats'] # application scopes
OAUTH_TOKENS_VKONTAKTE_USERNAME = '' # user login
OAUTH_TOKENS_VKONTAKTE_PASSWORD = '' # user password
OAUTH_TOKENS_VKONTAKTE_PHONE_END = '' # last 4 digits of user mobile phone
Покрытие методов API
--------------------
* [places.getCountries](http://vk.com/dev/places.getCountries) – возвращает список стран;
* [places.getCities](http://vk.com/dev/places.getCities) – возвращает список городов;
* [places.getRegions](http://vk.com/dev/places.getRegions) – возвращает список регионов;
* [places.getCountryById](http://vk.com/dev/places.getCountryById) – возвращает информацию о странах по их id;
* [places.getCityById](http://vk.com/dev/places.getCityById) – возвращает информацию о городах по их id;
* [places.getStreetById](http://vk.com/dev/places.getStreetById) – возвращает информацию об улицах по их id;
В планах:
* [places.getById](http://vk.com/dev/places.getById) – возвращает информацию о местах;
* [places.search](http://vk.com/dev/places.search) – возвращает список найденных мест;
* [places.getCheckins](http://vk.com/dev/places.getCheckins) – возвращает список отметок;
* [places.getTypes](http://vk.com/dev/places.getTypes) – возвращает список типов мест;
Metadata
Release files for django-vkontakte-places 0.7.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django-vkontakte-places-0.7.1.tar.gz | 10.8 kB | Without provenance | Details for django-vkontakte-places-0.7.1.tar.gz |
Release files / django-vkontakte-places-0.7.1.tar.gz
| Download URL | django-vkontakte-places-0.7.1.tar.gz |
|---|---|
| Size | 10.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
90a2aaf792137881b7670ebe67c457b7605d62db585cd1269c536c61b1b75d34
|
|
BLAKE2b-256 checksum How to use checksums |
dfb459aef5021fc4ac3666d44d46e0f80925d9d1b8375ae3cac813f8181b13dc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for django-vkontakte-places 0.7.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.