All fields are required. All keys and specified values are case sensitive. All requests can use either a GET or POST method. In order to make a request, the account making the request cannot already be online. When you make a request, the account used will appear online briefly for the duration of the request.
Key | Description |
username | The username of the account uploading the card |
password | A password token that belongs to the uploading account. To generate a token, login with Remember Me selected, then copy the password value from this page: https://www.duelingbook.com/logged-in |
action | The specified action being performed. The following values are acceptable:
|
id | The ID of the card being edited. Only used for Edit card |
name | The card's name |
effect | The card's effect |
card_type | The card's category. The following values are acceptable:
|
monster_color | A Monster Card's Type. Leave blank for Spell/Traps, otherwise the following values are acceptable:
|
type | The card's Type. For Monster Cards, the following values are acceptable:
For Spell cards, the following values are acceptable:
For Trap cards, the following values are acceptable:
|
attribute | A Monster Card's Attribute. Leave blank for Spell/Trap cards, otherwise the following values are acceptable:
|
level | A Monster Card's Level. Must be a value between 0-12. |
atk | A Monster Card's ATK. Can be a value between 0-9999, or ? |
def | A Monster Card's DEF. Can be a value between 0-9999, or ? |
flip | Indicates whether a Monster Card is a Flip monster. Use 1 if it is, use 0 if not. |
ability | A Monster Card's ability. Can be blank, otherwise the following values are acceptable:
|
is_effect | Indicates whether the word Effect shows up next to a Monster Card's Type. Use 1 if it does, use 0 if not. |
pendulum | Indicates whether a Monster Card is a Pendulum Monster. Use 1 if it is, use 0 if not. |
scale | The scale of a Pendulum Monster. Must be a value between 0-13. |
pendulum_effect | A Monster Card's Pendulum Effect. |
arrows | A Link Monster's Link Markers. This is an 8-digit String containing values of 0 and 1. Each 1 indicates a red marker. Start from the top left, and work your way clockwise. |
rush | Indicates whether a card is a Rush Card. Use 1 if it is, use 0 if not. |
limit | The number of copies of this card you can use in a Deck. Must be a value between 0-3. |
privacy | Indicates whether a card is public or private. Use 1 for a public card, or 2 for a private card. |
image | (Optional) An image URL to update the card's artwork. |