Releases: wesbuck/DominionCardAPI
Releases · wesbuck/DominionCardAPI
DominionCardAPI v2.0.1
DominionCardAPI v2.0.0
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 addedset_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
API Function Changes
uuid
is now assigned upon POSTing a new carduuid
andcard_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
API Function Changes
- None
Package Changes
- Bump Django from 3.0.3 to 3.0.7
v1.1.3
v1.1.2
v1.1.1
v1.1.0
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
Initial release of Dominion Card API. See the documentation for more information. Installation instructions are also available.