Skip to content

Instantly share code, notes, and snippets.

@BiviaBen
BiviaBen / pubapi_docs.html
Last active August 18, 2021 10:15
Chess.com Published-Data API
<ul style="font-size: 10pt">
<li>Last reviewed and updated: 2017-11-05</li>
<li>Comments: <a href="https://www.chess.com/news/view/published-data-api#comments">https://www.chess.com/news/view/published-data-api#comments</a></li>
<li>Revisions: <a href="https://gist.github.com/BiviaBen/87bd7f830b6f1a8ba6b537f4e0c87e95/revisions">https://gist.github.com/BiviaBen/87bd7f830b6f1a8ba6b537f4e0c87e95/revisions</a></li>
</ul>
<hr>
<p>The PubAPI is a read-only REST API that responds with JSON-LD data. Our goal is to re-package all currently public data from the website and make it available via the PubAPI. "Public Data" is information available to people who are not logged in, such as player data, game data, and club/tournament information. This excludes private information that is restricted to the logged in user, such as game chat and conditional moves.</p>
<p>This is read-only data. You cannot send game-moves or other commands to Chess.com from this system. If you wish to send commands, you will be int
@BiviaBen
BiviaBen / git-my-pants
Created January 13, 2015 23:02
Git My Pants
#!/opt/local/bin/php
<?php
$baseShas = array(
'master' => 'a89471b',
'develop' => '38d6412',
);
$permaBranches = array(
'master',
'staging',