Skip to content

Releases: wesbuck/DominionCardAPI

DominionCardAPI v2.0.1

11 Oct 20:17
ee0516b
Compare
Choose a tag to compare

Package Changes

  • Replaced Travis CI with GitHub Actions Workflow
  • Renamed the default branch to main
  • Security patches & updates

DominionCardAPI v2.0.0

07 Oct 01:04
Compare
Choose a tag to compare

A full-featured Dominion Kingdom Cards API.

This API is intended to power companion apps for the board game Dominion and allows you to quickly and easily obtain card sets and card details for the Kingdom Cards used to play the game.

Documentation

See https://documenter.getpostman.com/view/5603098/RWguxcDR for more information.

Params

The complete list of params returned in the results for all requests to this API:

Param Type Editable Description
id Integer No The primary key of the card.
uuid String No Each card has a unique 36 character UUID4 identifier.
card_name String Yes The unique name of the card.
set_name String Yes The name of the expansion set this card is a part of.
type String Yes The type of card.
cost String Yes The cost of this card.
card_text String Yes The full description of the card.
is_kingdom_card Boolean Yes Whether or not this is a kingdom card.
source String No The original source of this card.

Data Information

  • In the cost field, Þ represents "potion(s)".
  • In the description field, \\n denotes where a new line should be inserted.
  • In the description field, \\d denotes where a horizontal break should be inserted.

Changes for v2.0.0

API Function Changes

  • source field has been added
  • set_num field has been removed
  • Added DELETE, PUT, PATCH endpoints
  • All endpoints now properly return all 9 params for each card
  • The following fields are now required to POST a new card:
    • card_name, set_name, type, is_kingdom_card, cost, card_text

Package Changes

  • Removed set_num field from source csv file
  • Updated & added unit tests
  • Updated travis.yml

DominionCardAPI v1.2.0

05 Oct 01:55
Compare
Choose a tag to compare

API Function Changes

  • uuid is now assigned upon POSTing a new card
  • uuid and card_name must be unique
  • The following fields are now required to POST a new card: card_name, set_num, set_name, type, cost, card_text

Package Changes

  • Bump Django from 3.0.7 to 3.1.2
  • Bump version for 26 other dependencies
  • Unit tests have been greatly improved & coverage is now 100%

DominionCardAPI v1.1.4

03 Oct 16:21
2c53866
Compare
Choose a tag to compare

API Function Changes

  • None

Package Changes

  • Bump Django from 3.0.3 to 3.0.7

v1.1.3

28 Jan 01:50
Compare
Choose a tag to compare

API Function Changes

  • None

Package Changes

  • Enabled CORS
  • Fixed some card names in dominion_cards.csv
  • Updated README

Deployment Notes

  • Do pip install -r requirements.txt to install new dependency.

v1.1.2

22 Jan 00:36
0c371be
Compare
Choose a tag to compare

API Function Changes

  • None

Package Changes

  • Requirements updated to Python 3.7 or 3.8
  • Removed duplicate card from dominion_cards.csv
  • Implemented coverage - reports are available on codecov
  • Added badges to README

v1.1.1

18 Jan 01:56
4397954
Compare
Choose a tag to compare

API Function Changes

  • None

Package Changes

  • Fixed Django security vulnerability by updating requirements
  • Added GitHub project files (PR template, logo)
  • Removed outdated OpenAPI3 file

v1.1.0

31 Dec 02:35
Compare
Choose a tag to compare

API Function Changes

  • Implemented /kingdom/ to get a random Kingdom card (i.e. not a base card or "landscape" card).
  • Updated /cardset/ to send only Kingdom cards.
  • Updated /all/ to send only Kingdom cards. It is now an alias of /cards/?is_kingdom_card=true.

Package Changes

  • Added MIT License.
  • Implemented Travis CI and pytest for continuous integration testing.
  • Added is_kingdom_card field to the csv file.
  • Added data for Nocturne and Renaissance expansions to the csv file.

v1.0.0

19 Dec 02:58
Compare
Choose a tag to compare

Initial release of Dominion Card API. See the documentation for more information. Installation instructions are also available.