LogoLogo
HomeLibraryDonateHelpAbout
  • Repository Manager
  • Credits
  • Application Manifests
    • Introduction to manifests
    • Example manifest
    • Essential Information
      • Category
      • Peripherals
      • Flags
      • Platforms
    • Source
      • Format
      • URL
        • Location
      • GitHub Release
        • Repository
        • File
        • Additional Files
      • SourceForge Release
      • itch.io
      • MediaFire
        • Location
    • Treatments
      • Contents
      • Meta
      • Web
      • Archive
  • Pattern Matching
  • Supported Archive Formats
  • Information for app developers
    • FAQ
  • API
    • Introduction
    • Retrieving Information
    • Retrieving Contents
    • Guidelines
  • Server
    • Introduction
    • Repository Index
    • SourceDownloader
Powered by GitBook
LogoLogo

Documentation

  • API v2
  • WSC
  • CLI

Social

  • Twitter
  • Discord
  • GitHub
On this page
  • Available Treatments
  • Example:

Was this helpful?

  1. Application Manifests
  2. Treatments

Web

Treatments group for internet communication.

Available Treatments

These are the treatments currently provided by the "Web" treatment group:

Treatment
Arguments
Description

web.download

["url", "path"]

Downloads a path from given url to a given path (creates it if doesn't exist), optionally uses user-agent specified in "source" section. Paths relative to application root.

Example:

{
    ...
    "treatments": [
        {
            "treatment": "web.download",
            "arguments": ["https://example.com/app.dol", "apps/newozero/boot.dol"]
        },
    ],
    ...
}
PreviousMetaNextArchive

Last updated 1 year ago

Was this helpful?