VK-Audio-Token-Swift
获取音频访问的 vkontakte 令牌 (Swift)
此代码可以使您能够获取适用于 VK 音频 API 的 VK 令牌,以便查询音频 URI。代码是通过逆向官方 VK 客户端获得的。VK 登录,VK 密码。不需要其他依赖项。
安装
pod 'VKAudioToken'
使用
TokenReceiverOfficial(login: "USER_LOGIN (Email or Phone)", pass: "USER_PASSWORD").getToken(success: {(token, secret, deviceId) in
print(token)
}, fail: {(error) in
print(error)
})
许可
VKAudioToken - Token generate for access to VKontakte official audio.
Copyright (C) 2019 LUTSKII MIKHAIL
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://gnu.ac.cn/licenses/>.
```