Skip to content

Commit

Permalink
integ MSp49
Browse files Browse the repository at this point in the history
  • Loading branch information
norlandrhagen committed May 14, 2020
1 parent 1178571 commit b0d99f3
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 22 deletions.
Binary file modified _build/doctrees/environment.pickle
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -45,23 +45,12 @@ Catalog
api.get_catalog()
.. code-block:: python
#!pip install pycmap -q #uncomment to install pycmap, if necessary
import pycmap
api = pycmap.API(token='<YOUR_API_KEY>')
api.search_catalog('optics KOK1606')
.. figure:: /_static/overview_icons/sql.png
:scale: 10 %

**SQL Statement**


Here is how to achieve the same results using a direct SQL statement. Please refer to :ref:`query` for more information.

.. code-block:: sql
Expand Down
2 changes: 1 addition & 1 deletion _build/html/searchindex.js

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -287,14 +287,6 @@
<span class="n">api</span><span class="o">.</span><span class="n">get_catalog</span><span class="p">()</span>
</pre></div>
</div>
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="ch">#!pip install pycmap -q #uncomment to install pycmap, if necessary</span>

<span class="kn">import</span> <span class="nn">pycmap</span>

<span class="n">api</span> <span class="o">=</span> <span class="n">pycmap</span><span class="o">.</span><span class="n">API</span><span class="p">(</span><span class="n">token</span><span class="o">=</span><span class="s1">&#39;&lt;YOUR_API_KEY&gt;&#39;</span><span class="p">)</span>
<span class="n">api</span><span class="o">.</span><span class="n">search_catalog</span><span class="p">(</span><span class="s1">&#39;optics KOK1606&#39;</span><span class="p">)</span>
</pre></div>
</div>
<div class="figure align-default">
<img alt="../../../../_images/sql.png" src="../../../../_images/sql.png" style="width: 51.2px; height: 51.2px;" />
</div>
Expand All @@ -318,7 +310,7 @@
<p>
&copy; Copyright
<span class="lastupdated">
Last updated on May 04, 2020.
Last updated on May 14, 2020.
</span>

</p>
Expand Down

0 comments on commit b0d99f3

Please sign in to comment.