Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 1.03 KB

README.md

File metadata and controls

31 lines (21 loc) · 1.03 KB

basilisk

Basilisk helps Cockatrice download cards in your language (if they have ever been printed in that language).

Usage

Go to Preferences -> Card Sources, click green plus button (Add New URL), paste basilisk link and click OK. Then drag your new link to the top of the list.

Link example:

http[s]://<host>[:<port>]/card?name=!name!&code=!setcode_lower!&number=!set:num!&lang=!sflang!

More info at Cockatrice Wiki

Search Algorithm

  1. /cards/<code>/<number>/<lang>
  • Found: redirect to image
  • Not Found: step 2
  1. /cards/search?q=<query>&order=released
  • Found: redirect to image of the first found card
  • Not Found: step 3
  1. redirect to /cards/<code>/<number>?format=image

License

Distributed under the terms of the MIT license. See LICENSE for details.