Skip to content

Commit

Permalink
Add example to README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
python273 committed May 15, 2018
1 parent 64072b8 commit 3de08fb
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,17 @@ vk_api [![PyPI](https://img.shields.io/pypi/v/vk_api.svg)](https://pypi.python.o
* [Примеры использования](./examples) (python3)
* [Документация по методам API](https://vk.com/dev/methods)

```python
import vk_api

vk_session = vk_api.VkApi('+71234567890', 'mypassword')
vk_session.auth()

vk = vk_session.get_api()

print(vk.wall.post(message='Hello world!'))
```

Установка
------------
$ pip install vk_api

0 comments on commit 3de08fb

Please sign in to comment.