Skip to content

Latest commit

 

History

History
30 lines (17 loc) · 596 Bytes

README.md

File metadata and controls

30 lines (17 loc) · 596 Bytes

TCGDex Swift

The SDK provides objects that model the tcgdex data and a service to access them via.

Documentation

The full API/SDK documentation in progress at API Documentation - TCGdex

Installation

Add https://github.com/tcgdex/tcgdex-swift as Package Dependency in XCode

Usage

import TCGDex


let api = TCGDex(lang: .English)

api.cards() // Fetch all cards
api.card(id: "id") // Fetch a card
api.sets() // Fetch all the sets
api.set(id: "id") // Fet a set
api.series() // Fetch all the series 
api.serie(id: "id") // Fetch a serie