Skip to content

krukid/VkontakteApiCaller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

IMPORTANT: currently the use of this API is discouraged, if at all supported. Use OAuth

VkontakteApiCaller --

Ruby class for calling vkontakte.ru API methods

supports request formats for server and desktop application types (see api_type)

Basic usage:

##########
vac = VkontakteApiCaller.new(@app_id, :desktop, {:mid=>@uid, :sid=>@sid, :secret=>@secret})

vac.post("wall.post", {:owner_id=>@oid, :message=>"hello, world"}, {:v=>3.0, :format=>"json"})

vac.get("getUserSettings", {}, {:v=>3.0, :format=>"xml"})

##########
vac = VkontakteApiCaller.new(@app_id, :server, {:secret=>@secret})

vac.get("secure.getAppStatus", {:uid=>@uid}, {:v=>3.0})

About

Ruby class for calling http://vkontakte.ru API methods

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages