There are examples in the Blynk Libraries for such devices…
NodeJS - https://github.com/vshymanskyy/blynk-library-js
Python - https://github.com/vshymanskyy/blynk-library-python
And some basics I made here for NodeJS…
NodeJS - NodeJS Blynk - Code Examples for Basic Tasks (Work in Progress)