Skip to main content

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

Release files for anvolt.py 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for anvolt.py 0.1.6
File Size Uploaded
anvolt.py-0.1.6.tar.gz 13.6 kB Details

Release files / anvolt.py-0.1.6.tar.gz

Download URL anvolt.py-0.1.6.tar.gz
Size 13.6 kB
Tags Source
SHA-256 checksum
How to use checksums
c1cfb56e2280cf139c137889c80096ea859610dca583d898c5956dcb63f1e782
BLAKE2b-256 checksum
How to use checksums
c021fb7d19651e768f7a3a5eda59412328400e3984f81f180aa10050691322a3
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.1.6 This release

1 release file

0.1.5

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page