DiscordPHP-MTG Documentation

Endpoint.php

Table of Contents

Classes

Endpoint
The route table for the "Magic: The Gathering Developers" API — one constant per endpoint (`cards`, `sets`, `sets/:id/booster`, `types`, `formats`, …), with `:param` placeholders bound via {@see EndpointTrait}. Same mechanics as DiscordPHP's own `Endpoint`, pointed at `api.magicthegathering.io`.
On this page

Search results