Skip to content

Azhrak/liquipedia_embed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Liquipedia Embed Script

Reads a StarCraft II Liquipedia page (https://liquipedia.net/starcraft2/*) and parses the groups and brackets to an array. The script also contains example print methods to produce HTML groups and brackets from the parsed data.

This script can be used to print Liquipedia results on a different web page in an iframe for example. The fetched data is cached to reduce the load on the source web server.

Example use

<iframe src="https://example.com/lp_embed.php?mode=bracket&amp;url=https://liquipedia.net/starcraft2/HomeStory_Cup/12"></iframe>

Print options are given in GET parameters. See lp_embed.php for options.

TODO

  • Parse double elimination brackets.
  • Parse and print player list.
  • Parse and print tournament results.
  • Option to print all groups and brackets on same page.

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published