Secret Library API Documentation

Home Forum Play WTES

The Secret Library API is accessed via https://www.secretlibrary.info/api.php by sending a http POST query.

Index


Load Deck from Secret Library

Input

Output

On success a deck is returned in following format:

***SL***TITLE***
NAME OF THE DECK
***SL***AUTHOR***
CREATOR OF THE DECK
***SL***CREATED***
YYYY-MM-DD
***SL***DESCRIPTION***
DESCRIPTION OF THE DECK
MAY SPAN ON MULTIPLE LINES
***SL***CRYPT***
2 Count Germaine
2 Count Germaine (Adv)
2 François Warden Loehr
***SL***LIBRARY***
10 Cloak the Gathering
2 Coven, The
2 Carlton Van Wyk (Hunter)
***SL***ENDDECK***


Save Deck to Secret Library

Input

Crypt and Library Format

There are several acceptable formats. You can either give card names one per line ("Count Germaine"), give the number as a simple number followed by a space ("2 Count Germaine") or add a generic multiplier marker after the number ("2x Count Germaine" or "2* Count Germaine"). Advanced versions of vampires are notified with an Adv in parenthesis ("(Adv)") after the name separated with a space.

Output


Export inventory from Secret Library

Input

Output

On success an inventory is returned in following format:
HAVE;WANT;CARD NAME

***SL***CRYPT***
2;2;Abebe
2;2;Alan Sovereign (Adv)
4;3;François Warden Loehr
***SL***LIBRARY***
1;1;Absimiliard's Army
5;5;Ahriman's Demesne
4;4;Atonement
1;1;Textbook Damnation, The
8;8;Watch Commander
***SL***ENDEXPORT***


Import inventory to Secret Library

Input

Crypt and library format are as follows:

2;2;Abebe
2;2;Alan Sovereign (Adv)
4;3;François Warden Loehr

1;1;Absimiliard's Army
5;5;Ahriman's Demesne
4;4;Atonement
1;1;Textbook Damnation, The
8;8;Watch Commander

Output


For more information contact the developer through the Secret Library forum.

Secret Library API © Jussi Hattara 2007-2009. All rights reserved.
Jyhad™, Vampire: The Eternal Struggle™ and all game symbols are trademarks of Wizards of the Coast, Inc. and White Wolf Publishing, Inc. All World of Darkness related terms are trademarks of White Wolf Publishing, Inc.
This product is not published nor endorsed by White Wolf Publishing, Inc. The Secret Library is inspired and greatly influenced by the Monger.