pokemon v1.0.0 Pokemon.Card

Card API Endpoint

Summary

Functions

Finds all cards by parameters and returns a list of maps based on page and page size. There is a maximum of 1000 cards per request.

Arguments

attackCost
attackDamage
hp
name
page
pageSize
retreatCost
set
types
weaknesses

Finds a card by the card identifier and returns a map

Prints the endpoint name

Finds cards by parameters and returns a list of maps

Functions

all(args \\ %{page: 1, pageSize: 100})

Finds all cards by parameters and returns a list of maps based on page and page size. There is a maximum of 1000 cards per request.

Arguments

attackCost
attackDamage
hp
name
page
pageSize
retreatCost
set
types
weaknesses
find(id)

Finds a card by the card identifier and returns a map

resource()

Prints the endpoint name

where(args)

Finds cards by parameters and returns a list of maps