Skip to content

Ethosa/shizuka

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shizuka

The Nim framework for VK

Open Source Love Nim language-plastic License: MIT test

Stable version - 1.0.0

Install

nimble install shizuka

Features

  • Calling any VK API method.
  • Convenient working with longpoll.
  • Uploader.
  • Fully async.
  • VK keyboards and templates.
  • Very simple usage
    import shizuka
    
    # auth
    var
      vk = newVk(8123456789, "mypassword")
      lp = newLongpoll(vk)
    
    vk@message_new(event):  # real-time events handler
      echo event
    
    lp.run()  # starts to listen longpoll.

Debug mode

For enable debug mode compile with -d:debug or --define:debug.

Wiki Docs Tests

Copyright 2021, Ethosa