Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/tdakkota/vk-longpoll-recorder
- Owner: tdakkota
- License: mit
- Created: 2020-02-25T15:55:56.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-03-16T16:34:43.000Z (almost 5 years ago)
- Last Synced: 2024-10-18T21:16:53.449Z (2 months ago)
- Topics: longpoll, longpolling, vk, vk-api
- Language: Python
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)