VK-AUDIO
Установка
Чтобы установить Vk-audio нужно иметь python 3.4+. Установка происходит так:
$ pip install vk-audio
Использование
Авторизация:
audio_obj = audio(login='login',password='password')
или
vk = vk_api.VkApi(login='login',password='password')
vk.auth()
audio_obj = audio(vk)
Дальнейшие действия:
получение аудио:
map_audio_object = audio_obj.get() #<- map объект
for i in map_audio_object:
print(i.title,i.artist,i.image,i.duration,i.owner_id,i.full_id,i.image)
получение аудио ввиде list'a:
list_audio_object = audio_obj.get(need_list=True,owner_id=1234567,offset=10) #<- list
print(list_audio_object[0].title,list_audio_object[10].artist)
Редактирование/удаление/восстановление аудио
list_audio_object = audio_obj.get(need_list=True) #<- list
list_audio_object[3].edit(title="Новое название",artist="Новый артист!")
list_audio_object[3].delete()
list_audio_object[3].restore()
Metadata
Release files for vk-audio 6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| vk-audio-6.0.tar.gz | 5.2 kB | Without provenance | Details for vk-audio-6.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| vk_audio-6.0-py3-none-any.whl | Python 3 | none | any | Details for vk_audio-6.0-py3-none-any.whl |
Total release size: 10.5 kB
Release files / vk-audio-6.0.tar.gz
| Download URL | vk-audio-6.0.tar.gz |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
68cc7fa732fd1d2633f5a74aa5a9d18ab9679fa4629261e2adf0615bda6bc6d7
|
|
BLAKE2b-256 checksum How to use checksums |
eb86c0b8f2c511226210dd3f3d4622b77bdb1245a082fffbf04fc6861671993a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.0
|
Release files / vk_audio-6.0-py3-none-any.whl
| Download URL | vk_audio-6.0-py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
76fa492133c58bbaafec5795d6b92e57597cb1d5e939c96bf1d15d3ecb8d1a57
|
|
BLAKE2b-256 checksum How to use checksums |
a9d8472ec37e5f5529bb324428a93b01f990d9bdf4c59c26282faf3489755e31
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.0
|
Security for vk-audio 6.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.