DiscordPHP-MTG Documentation

Http.php

Table of Contents

Classes

Http
HTTP client for the MTGJSON v5 API, built the same way DiscordPHP talks to `discord.com` (buckets, driver, retry) but pointed at `mtgjson.com/api/v5`. The API is read-only and unauthenticated, so no token is required. Responses are MTGJSON's `{"meta": {...}, "data": ...}` wrapper, decoded.
On this page

Search results