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.5.tar.gz
(4.1 kB
view hashes)