Skip to main content

Advanced tool with API integration and additional features

Project description

anvolt.py

Advanced tool with API integration and additional features

Features

Explore the vast array of features available in anvolt.py with this comprehensive list:

  • Roleplaying Images: Add high-quality images for immersive roleplaying experiences
  • Quizzes / Trivia: Incorporate interactive quizzes and trivia games to engage users
  • Anime Images (SFW / NSFW): Include a variety of anime-related images, including both safe-for-work and not-safe-for-work options
  • Client-Side Support: Provide support for client-side implementation, allowing for seamless integration with existing projects
  • Ease-of-Use Codes: Design the package with simplicity and ease-of-use in mind, offering user-friendly codes and documentation
  • Twitch API Integration: Utilize the Twitch API to retrieve and display real-time data from Twitch streams
  • Command-Line Interface: Include a Command-Line Interface (CLI) for user-friendly access and control of the package's features

📦 Installation

There are two ways to install anvolt.py, first you can use the stable release from PyPI:

$ pip install anvolt.py

Second you can use the development version from GitHub to get the latest features and updates:

$ pip install git+https://github.com/Stawa/anvolt.py

For more information on how to use the package, check out the documentation

🚀 Quickstart

Every function will have its own response class, for example bite function, it return Responses class that you can find on anvolt.models.response

from anvolt import AnVoltClient

client = AnVoltClient() # client_id and client_secret (optional)

def example():
    bite = client.sfw.bite()
    print(bite.url) # Return str

example()

🛠️ Updater

Stay on top of updates and avoid potential errors by using our Updater class. This class ensures you are always using the latest stable version of our API, so you can focus on building your application without worrying about potential changes or bugs.

from anvolt.updater import Updater

updater = Updater()
updater.check_for_updates()

💻 CLI / Command-Line Interface

The anvolt package provides a Command-Line Interface (CLI) for easy access to its features. To test requests and retrieve a list of endpoints for a specific category, use the following commands:

$ anvolt category-help

This command displays a list of available categories and their respective endpoints. It allows users to see the different categories available and the endpoints associated with each one.

$ anvolt requests --category <category> --endpoint <endpoint>

This command will execute a test request to the specified endpoint in the chosen category. The --category and --endpoint options are required for this command to work properly.

$ anvolt save --category <category> --endpoint <endpoint>

This command retrieves an image from the API and saves it to the current directory set in the command prompt, such as C:\Users\Stawa\Desktop\Folder

🔗 Links

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

anvolt.py-0.1.6.tar.gz (13.6 kB view details)

Uploaded Source

File details

Details for the file anvolt.py-0.1.6.tar.gz.

File metadata

  • Download URL: anvolt.py-0.1.6.tar.gz
  • Upload date:
  • Size: 13.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.3 readme-renderer/37.2 requests/2.28.1 requests-toolbelt/0.9.1 urllib3/1.26.13 tqdm/4.64.0 importlib-metadata/4.12.0 keyring/23.9.3 rfc3986/1.5.0 colorama/0.4.6 CPython/3.10.6

File hashes

Hashes for anvolt.py-0.1.6.tar.gz
Algorithm Hash digest
SHA256 c1cfb56e2280cf139c137889c80096ea859610dca583d898c5956dcb63f1e782
MD5 3edb8bc705aba4b46b652fe2f246d35f
BLAKE2b-256 c021fb7d19651e768f7a3a5eda59412328400e3984f81f180aa10050691322a3

See more details on using hashes here.

Supported by

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