Security News
Opengrep Emerges as Open Source Alternative Amid Semgrep Licensing Controversy
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
github.com/yanple/vk_api
###Plus: masking client_id to the iPhone, Android, iPad, Windows Phone clients.
go (golang) api client for vk.com
###Get
go get github.com/yanple/vk_api
// and dependence
go get github.com/PuerkitoBio/goquery
###Import
@import "github.com/yanple/vk_api"
##How to use
###Login/pass auth
var api vk_api.Api
err := api.LoginAuth(
"email/phone",
"pass",
"3087104", // client id
"wall,offline", // scope (permissions)
)
if err != nil {
panic(err)
}
###OAuth (click "allow" on special vk page) See martini based example
###Make query to API
params := make(map[string]string)
params["domain"] = "yanple"
params["count"] = "1"
strResp, err := api.Request("wall.get", params)
if err != nil {
panic(err)
}
log.Println(strResp)
All api methods on https://vk.com/dev/methods
###Client ids (Masking only for login/pass auth)
// client_id = "28909846" # Vk application ID (Android) doesn't work.
// client_id = "3502561" # Vk application ID (Windows Phone)
// client_id = "3087106" # Vk application ID (iPhone)
// client_id = "3682744" # Vk application ID (iPad)
Vk_api by Yanple is BSD licensed
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.