Asynchronous Python Wrapper For A.R.Q API.
Project description
Python_ARQ
Asyncronous Python Wrapper For A.R.Q API.
Requirements
- Python 3.8 or higher.
- ARQ_API url, Get it from here
Installation
$ pip3 install -U python-arq
Usage
For Example, to get a song link from deezer, you can do this
# Input
from Python_ARQ import ARQ
import asyncio
# class to pass api url
arq = ARQ(Api_Url)
# create Function to search a song
async def func(query: str):
song = await arq.deezer(query=query, limit=1)
return song[0].url
# main function
async def main():
output = await func("Never gonna give you up")
print(output)
# Run in async loop
if __name__ == "__main__":
asyncio.run(main())
# Output:
https://e-cdns-proxy-3.dzcdn.net/api/1/f1fb0b260a55f594c20d4592c752708460c4864fb97de0be8b459c3b63ff69817d97eddffd60bfbf9f6de5a89d0dbf8864c3f107173b1bfa601b4442aee694e4e67427534a7c8b1a145d2a931fd3429e
The link above is a direct link to that song.
Documentation
There is no documentation as of now, however, you can take help from the docstrings this way.
from Python_ARQ import ARQ
print(help(ARQ.deezer))
Features as of now [List of APIs]
- Deezer
- Jiosaavn
- Youtube
- PronHub
- Torrent
- Wallpapers
- Urban Dictionary
- Luna AI Chatbot
- Google Drive
Note
- I'll add more features soon.
- If you're stucked somewhere, Pathetic Programmers are there to help.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Python_ARQ-1.9.tar.gz
(4.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file Python_ARQ-1.9.tar.gz.
File metadata
- Download URL: Python_ARQ-1.9.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.0 importlib_metadata/3.7.3 packaging/20.9 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
14c3c14bde810446bf32be019878a5d5decd36627c210ab78ca8643289fbfe7b
|
|
| MD5 |
15bdb38a455f0d38054e3a87c5181f5e
|
|
| BLAKE2b-256 |
c4f8ee548abffc76b98be34376dab6a61cd976ed78f045f5d3713547602aebf1
|
File details
Details for the file Python_ARQ-1.9-py3-none-any.whl.
File metadata
- Download URL: Python_ARQ-1.9-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.0 importlib_metadata/3.7.3 packaging/20.9 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
41001cb388a1ea227fd43e7e028de44155d425a8c3f92802981fa3016e9ebc13
|
|
| MD5 |
3e9981006ebc5671d109ea19c619618e
|
|
| BLAKE2b-256 |
d7d5430c79e23c826787eafac1c28ef6d7f32051da90d90195d13df698145a92
|