Status\n"; $numi=count($commands); $numni=count($nicommands); $total=$numi+$numni; $percent=round($numi/$total*100); echo "$numi of $total implemented ($percent%)
\n"; echo "

Basics

\n"; echo "All API commands return \"status\", which is either \"ok\" or \"error\"
\n"; echo "If status is \"error\", then the return also contains \"error\" which contains the error message
\n"; echo "

Implemented API

\n"; ksort($commands); foreach($commands AS $c=>$com) { echo "

".htmlspecialchars($c)."

"; echo "
\n"; echo $com['description']; echo "
"; if(count($com['post'])) { echo "

Post

\n"; echo ""; } if(count($com['return'])) { echo "

Return

\n"; echo ""; } echo "
"; echo "
"; } echo "

Not Implemented API

\n"; ksort($nicommands); foreach($nicommands AS $c=>$com) { echo "

".htmlspecialchars($c)."

"; echo "
\n"; echo $com['description']; echo "
"; if(count($com['post'])) { echo "

Post

\n"; echo ""; } if(count($com['return'])) { echo "

Return

\n"; echo ""; } echo "
"; echo "
"; } ?>