Commit 9f95f996 authored by Moritz Sokoll's avatar Moritz Sokoll 💬
Browse files

worked on api.html

parent b776e263
......@@ -9,5 +9,37 @@
<h1>API</h1>
</header>
<p>This is the API documentation</p>
<table>
<tr>
<th>Type</th>
<th>Name</th>
<th>Does</th>
</tr>
<tr>
<td>class</td>
<td>Preset</td>
<td>creates a preset</td>
</tr>
<tr>
<td>class</td>
<td>Extension</td>
<td>An Extension wrapper</td>
</tr>
</table>
<div class="Preset">
<h2>Prest</h2>
<p>A preset creates you a .json file with yout preset content</p>
<code>
import markcalcapi as mapi
preset = mapi.Preset(
("Math", "History"),
"preset.json",
"School"
)
</code>
<p>This Code creates a file preset.json and writes the preset data to it</p>
<h2>Extension</h2>
</div>
</body>
</html>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment