HTTP API
PlayStrategy exposes a RESTish HTTP/JSON API that you are welcome to use. Read the HTTP API documentation.
Note - Game embed not working for draughts
Embed PlayStrategy TV in your site
Add the following HTML to your site:
Parameters:
- bg: light, dark
- gf: 0 (chess), 1 (draughts), 2 (loa), 3 (shogi), 4 (xiangqi), 5 (flipello), 8 (amazons), 6 (oware), 7 (togyzkumalak), 9 (go), 10 (backgammon), 11 (breakthroughtroyka)
- theme: (chess) blue, blue2, blue3, blue-marble, canvas, wood, wood2, wood3, wood4, maple, maple2, brown, leather, green, marble, green-plastic, grey, metal, olive, newspaper, purple, purple-diag, pink, ic, horsey; (draughts) blue, blue2, blue3, canvas, wood, wood2, wood3, maple, brown, leather, green, marble, grey, metal, olive, purple; (loa) blue, blue2, blue3, blue-marble, canvas, wood, wood2, wood3, wood4, maple, maple2, brown, leather, green, marble, green-plastic, grey, metal, olive, newspaper, purple, purple-diag, pink, ic, horsey; (shogi) wood, clear; (xiangqi) grey, green; (flipello) green, green-marble, wood; (amazons) blue, blue2, blue3, canvas, wood, wood2, wood3, maple, brown, leather, green, marble, grey, metal, olive, purple; (oware) light-wood, dark-wood; (togyzkumalak) blue, wood; (go) light-wood, dark-wood; (backgammon) classic, contemporary; (breakthroughtroyka) purple-diag, maple
- pieceSet: (chess) cburnett, merida, alpha, california, cardinal, companion, dubrovny, fantasy, fresca, gioco, governor, kosal, leipzig, letter, maestro, pirouetti, reillycraig, shapes, spatial, staunty, tatiana; (draughts) wide_crown, fabirovsky, check_yb; (loa) fabirovsky_loa, check_yb_loa, wide; (shogi) 2kanji, 1kanji, ctw; (xiangqi) 2dhanzi, ka; (flipello) fabirovsky_flipello, check_yb_flipello, classic_flipello, marble_bw_flipello; (amazons) arrow, queen, counter, counter_arrow; (oware) green, blue, red, grey, green_seed, green_numbers; (togyzkumalak) black_gloss; (go) classic_stone, cross; (backgammon) wooden, classic, contemporary; (breakthroughtroyka) staunty, checkers, fabirovsky
Embed a chess analysis in your site
Create a study, then click the share button to get the HTML code for the current chapter.
Parameters:
- bg: light, dark
- gf: 0 (chess), 1 (draughts), 2 (loa), 3 (shogi), 4 (xiangqi), 5 (flipello), 8 (amazons), 6 (oware), 7 (togyzkumalak), 9 (go), 10 (backgammon), 11 (breakthroughtroyka)
- theme: (chess) blue, blue2, blue3, blue-marble, canvas, wood, wood2, wood3, wood4, maple, maple2, brown, leather, green, marble, green-plastic, grey, metal, olive, newspaper, purple, purple-diag, pink, ic, horsey; (draughts) blue, blue2, blue3, canvas, wood, wood2, wood3, maple, brown, leather, green, marble, grey, metal, olive, purple; (loa) blue, blue2, blue3, blue-marble, canvas, wood, wood2, wood3, wood4, maple, maple2, brown, leather, green, marble, green-plastic, grey, metal, olive, newspaper, purple, purple-diag, pink, ic, horsey; (shogi) wood, clear; (xiangqi) grey, green; (flipello) green, green-marble, wood; (amazons) blue, blue2, blue3, canvas, wood, wood2, wood3, maple, brown, leather, green, marble, grey, metal, olive, purple; (oware) light-wood, dark-wood; (togyzkumalak) blue, wood; (go) light-wood, dark-wood; (backgammon) classic, contemporary; (breakthroughtroyka) purple-diag, maple
- pieceSet: (chess) cburnett, merida, alpha, california, cardinal, companion, dubrovny, fantasy, fresca, gioco, governor, kosal, leipzig, letter, maestro, pirouetti, reillycraig, shapes, spatial, staunty, tatiana; (draughts) wide_crown, fabirovsky, check_yb; (loa) fabirovsky_loa, check_yb_loa, wide; (shogi) 2kanji, 1kanji, ctw; (xiangqi) 2dhanzi, ka; (flipello) fabirovsky_flipello, check_yb_flipello, classic_flipello, marble_bw_flipello; (amazons) arrow, queen, counter, counter_arrow; (oware) green, blue, red, grey, green_seed, green_numbers; (togyzkumalak) black_gloss; (go) classic_stone, cross; (backgammon) wooden, classic, contemporary; (breakthroughtroyka) staunty, checkers, fabirovsky
The text is automatically translated to your visitor's language.
Embed a game in your site
On a game analysis page, click the "FEN & PGN" tab at the bottom, then "Embed in your website".
Parameters:
- bg: light, dark
- gf: 0 (chess), 1 (draughts), 2 (loa), 3 (shogi), 4 (xiangqi), 5 (flipello), 8 (amazons), 6 (oware), 7 (togyzkumalak), 9 (go), 10 (backgammon), 11 (breakthroughtroyka)
- theme: (chess) blue, blue2, blue3, blue-marble, canvas, wood, wood2, wood3, wood4, maple, maple2, brown, leather, green, marble, green-plastic, grey, metal, olive, newspaper, purple, purple-diag, pink, ic, horsey; (draughts) blue, blue2, blue3, canvas, wood, wood2, wood3, maple, brown, leather, green, marble, grey, metal, olive, purple; (loa) blue, blue2, blue3, blue-marble, canvas, wood, wood2, wood3, wood4, maple, maple2, brown, leather, green, marble, green-plastic, grey, metal, olive, newspaper, purple, purple-diag, pink, ic, horsey; (shogi) wood, clear; (xiangqi) grey, green; (flipello) green, green-marble, wood; (amazons) blue, blue2, blue3, canvas, wood, wood2, wood3, maple, brown, leather, green, marble, grey, metal, olive, purple; (oware) light-wood, dark-wood; (togyzkumalak) blue, wood; (go) light-wood, dark-wood; (backgammon) classic, contemporary; (breakthroughtroyka) purple-diag, maple
- pieceSet: (chess) cburnett, merida, alpha, california, cardinal, companion, dubrovny, fantasy, fresca, gioco, governor, kosal, leipzig, letter, maestro, pirouetti, reillycraig, shapes, spatial, staunty, tatiana; (draughts) wide_crown, fabirovsky, check_yb; (loa) fabirovsky_loa, check_yb_loa, wide; (shogi) 2kanji, 1kanji, ctw; (xiangqi) 2dhanzi, ka; (flipello) fabirovsky_flipello, check_yb_flipello, classic_flipello, marble_bw_flipello; (amazons) arrow, queen, counter, counter_arrow; (oware) green, blue, red, grey, green_seed, green_numbers; (togyzkumalak) black_gloss; (go) classic_stone, cross; (backgammon) wooden, classic, contemporary; (breakthroughtroyka) staunty, checkers, fabirovsky
The text is automatically translated to your visitor's language.