Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tdakkota/vk-longpoll-recorder

VK LongPoll events recorder
https://github.com/tdakkota/vk-longpoll-recorder

longpoll longpolling vk vk-api

Last synced: 10 days ago
JSON representation

VK LongPoll events recorder

Awesome Lists containing this project

README

        

# VK LongPoll recorder
## To run
`$ python recorder.py --token=`

or

`$ VK_TOKEN=; python recorder.py`

## Advanced examples

To set API version

`$ python recorder.py --api_version='5.80'`

To set LongPoll version(currently supported only 10)

`$ python recorder.py --version=3`

To set LongPoll mode

`$ python recorder.py --mode=74 # 2 + 8 + 64`

To set output file

`$ python recorder.py --output=myfile`

To set wait time

`$ python recorder.py --wait=25`

To set initial ts

`$ python recorder.py --ts=`

## Requirements
- [requests](https://github.com/psf/requests)
- [google.Fire](https://github.com/google/python-fire)