http://decks.epiccardgame.com/ can be queried via an http API.
This API is provided for use in deckbuilders, card databases, tournament managers, and other tools that are a complement to playing Epic Card Game.
All texts are copyrighted by White Wizard Games.
Public and OAuth2
There are two kinds of API endpoints: Public and OAuth2. Public API endpoints are available to everyone, while OAuth2 API endpoints are only available to registered clients (applications). If you need such an access, please send an email describing your project to email@example.com.
DocumentationThe documentation can be found here: http://decks.epiccardgame.com/api/doc.
Examples/api/public/card/01001 returns data for card 01001
/api/public/packs/?jsonp=parseSets returns data for all packs wrapped in a call to parseSets()
EncodingThe response is in ascii encoding. Non-ascii characters are encoded with \uXXXX with XXXX their hexadecimal unicode value.
- Public API responses use both HTTP cache expiration (max-age) and cache validation (last-modified).
- OAuth2 API responses use HTTP cache validation (last-modified).
Please conform to HTTP Caching best practices when building your queries.
- Public API responses include a CORS header: Access-Control-Allow-Origin:*