Skip to main content

Asynchronous Python Wrapper For A.R.Q API.

Project description

Python_ARQ

Asyncronous Python Wrapper For A.R.Q API.

Python Github

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]

  1. Deezer
  2. Jiosaavn
  3. Youtube
  4. PronHub
  5. Reddit
  6. Torrent
  7. Wallpapers
  8. Urban Dictionary
  9. Luna AI Chatbot
  10. Lyrics
  11. Wikipedia
  12. NSFW Image Classification
  13. Optical Character Recognition (OCR)

Note

  1. I'll add more features soon.
  2. If you're stucked somewhere, Pathetic Programmers are there to help.

Project details


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

Uploaded Source

Built Distribution

Python_ARQ-2.5-py3-none-any.whl (5.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page