{"id":15107960,"url":"https://github.com/dimonchik0036/vk-api","last_synced_at":"2025-10-23T02:31:45.509Z","repository":{"id":57495205,"uuid":"94696795","full_name":"dimonchik0036/vk-api","owner":"dimonchik0036","description":"VK SDK | VKontakte wrapper for standalone apps","archived":false,"fork":false,"pushed_at":"2020-10-01T07:15:15.000Z","size":817,"stargazers_count":31,"open_issues_count":3,"forks_count":7,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-09-26T21:43:27.203Z","etag":null,"topics":["api","bot","go","golang","package","sdk","vk","vk-api","vk-bot","vk-bot-api","vk-sdk","vkapi","vkontakte","vkontakte-api","vkontakte-bot-api","vkontakte-sdk","vkontakteapi","wrapper","wrapper-api"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dimonchik0036.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-06-18T15:45:05.000Z","updated_at":"2023-09-13T09:49:17.000Z","dependencies_parsed_at":"2022-08-30T14:50:17.098Z","dependency_job_id":null,"html_url":"https://github.com/dimonchik0036/vk-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimonchik0036%2Fvk-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimonchik0036%2Fvk-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimonchik0036%2Fvk-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimonchik0036%2Fvk-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dimonchik0036","download_url":"https://codeload.github.com/dimonchik0036/vk-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219868433,"owners_count":16555761,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","bot","go","golang","package","sdk","vk","vk-api","vk-bot","vk-bot-api","vk-sdk","vkapi","vkontakte","vkontakte-api","vkontakte-bot-api","vkontakte-sdk","vkontakteapi","wrapper","wrapper-api"],"created_at":"2024-09-25T21:43:27.879Z","updated_at":"2025-10-23T02:31:40.193Z","avatar_url":"https://github.com/dimonchik0036.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n[![](https://github.com/Dimonchik0036/vk-api/blob/master/logo.png)]()  \n\n# VK API? GO!\n[![Build Status](https://travis-ci.org/Dimonchik0036/vk-api.svg?branch=master)](https://travis-ci.org/Dimonchik0036/vk-api)\n[![GoDoc](https://godoc.org/github.com/Dimonchik0036/vk-api?status.svg)](https://godoc.org/github.com/Dimonchik0036/vk-api)\n[![Language](https://img.shields.io/badge/language-Go-blue.svg)](https://github.com/golang/go)\n[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/Dimonchik0036/vk-api/blob/master/LICENSE)  \n  \nWork with Vkontakte API for StandAlone application on The Go Programming Language.  \n\n# Usage / Installation\n\u003c/div\u003e\n\n## Installation\n`go get -u github.com/Dimonchik0036/vk-api`\n\n## Example  \nDisplays incoming messages. If this is a \"/start\", then a \"Hello!\" message will be sent.\n```go\npackage main\n\nimport (\n\t\"github.com/dimonchik0036/vk-api\"\n\t\"log\"\n)\n\nfunc main() {\n\t//client, err := vkapi.NewClientFromLogin(\"\u003cusername\u003e\", \"\u003cpassword\u003e\", vkapi.ScopeMessages)\n\tclient, err := vkapi.NewClientFromToken(\"\u003caccess_token\u003e\")\n\tif err != nil {\n\t    log.Panic(err)\n\t}\n\t\n\tclient.Log(true)\n\n\tif err := client.InitLongPoll(0, 2); err != nil {\n\t\tlog.Panic(err)\n\t}\n\n\tupdates, _, err := client.GetLPUpdatesChan(100, vkapi.LPConfig{25, vkapi.LPModeAttachments})\n\tif err != nil {\n\t\tlog.Panic(err)\n\t}\n\n\tfor update := range updates {\n\t\tif update.Message == nil || !update.IsNewMessage() || update.Message.Outbox(){\n\t\t\tcontinue\n\t\t}\n\n\t\tlog.Printf(\"%s\", update.Message.String())\n\t\tif update.Message.Text == \"/start\" {\n\t\t\tclient.SendMessage(vkapi.NewMessage(vkapi.NewDstFromUserID(update.Message.FromID), \"Hello!\"))\n\t\t}\n\n\t}\n}\n```\n## Technical Details \n* API version 5.67.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimonchik0036%2Fvk-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdimonchik0036%2Fvk-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimonchik0036%2Fvk-api/lists"}