<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>hinkskalle-api on Testha.se</title>
    <link>https://wolkenha.se/projects/hinkskalle-api/</link>
    <description>Recent content in hinkskalle-api on Testha.se</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <atom:link href="https://wolkenha.se/projects/hinkskalle-api/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Hinkskalle API</title>
      <link>https://wolkenha.se/projects/hinkskalle-api/api/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://wolkenha.se/projects/hinkskalle-api/api/</guid>
      <description>&lt;h2 id=&#34;synopsis&#34;&gt;&#xA;  &lt;a href=&#34;#synopsis&#34; class=&#34;anchor-link&#34; aria-label=&#34;Link to this section&#34;&gt;&#xA;    &lt;i class=&#34;fa fa-anchor&#34; style=&#34;font-size: 0.75rem; height: 0.75rem;&#34;&gt;&lt;/i&gt;&#xA;  &lt;/a&gt;&#xA;  Synopsis&#xA;&lt;/h2&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-python&#34; data-lang=&#34;python&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;from&lt;/span&gt; hinkskalle_api.api &lt;span style=&#34;color:#f92672&#34;&gt;import&lt;/span&gt; HinkApi&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;hink &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; HinkApi()&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;hink_api&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;push_file(entity&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;user.name&amp;#39;&lt;/span&gt;, collection&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;stuff&amp;#39;&lt;/span&gt;, container&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;catpics&amp;#39;&lt;/span&gt;, tag&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;latest&amp;#39;&lt;/span&gt;, filename&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;/data/img/cats&amp;#39;&lt;/span&gt;, progress&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;True&lt;/span&gt;, private&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;True&lt;/span&gt;)&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description>
    </item>
    <item>
      <title>Installation</title>
      <link>https://wolkenha.se/projects/hinkskalle-api/installation/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://wolkenha.se/projects/hinkskalle-api/installation/</guid>
      <description>&lt;h2 id=&#34;install&#34;&gt;&#xA;  &lt;a href=&#34;#install&#34; class=&#34;anchor-link&#34; aria-label=&#34;Link to this section&#34;&gt;&#xA;    &lt;i class=&#34;fa fa-anchor&#34; style=&#34;font-size: 0.75rem; height: 0.75rem;&#34;&gt;&lt;/i&gt;&#xA;  &lt;/a&gt;&#xA;  Install&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;directly from github:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;pip3 install git+https://github.com/csf-ngs/hinkskalle-api/&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id=&#34;configuration&#34;&gt;&#xA;  &lt;a href=&#34;#configuration&#34; class=&#34;anchor-link&#34; aria-label=&#34;Link to this section&#34;&gt;&#xA;    &lt;i class=&#34;fa fa-anchor&#34; style=&#34;font-size: 0.75rem; height: 0.75rem;&#34;&gt;&lt;/i&gt;&#xA;  &lt;/a&gt;&#xA;  Configuration&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;Create a file &lt;code&gt;~/.hink_api.yml&lt;/code&gt;:&lt;/p&gt;&#xA;&lt;p&gt;Either use &lt;code&gt;hinkli --base https://kuebel.testha.se/ login&lt;/code&gt; or create it manually:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-yaml&#34; data-lang=&#34;yaml&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;hink_api_base&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;https://kuebel.testha.se/&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;hink_api_key&lt;/span&gt;: [&lt;span style=&#34;color:#ae81ff&#34;&gt;secret]&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The token (api key) can be obtained via the web interface.&lt;/p&gt;</description>
    </item>
    <item>
      <title>CLI</title>
      <link>https://wolkenha.se/projects/hinkskalle-api/cli/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://wolkenha.se/projects/hinkskalle-api/cli/</guid>
      <description>&lt;h2 id=&#34;synopsis&#34;&gt;&#xA;  &lt;a href=&#34;#synopsis&#34; class=&#34;anchor-link&#34; aria-label=&#34;Link to this section&#34;&gt;&#xA;    &lt;i class=&#34;fa fa-anchor&#34; style=&#34;font-size: 0.75rem; height: 0.75rem;&#34;&gt;&lt;/i&gt;&#xA;  &lt;/a&gt;&#xA;  Synopsis&#xA;&lt;/h2&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;hinkli --help&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Usage: hinkli &lt;span style=&#34;color:#f92672&#34;&gt;[&lt;/span&gt;OPTIONS&lt;span style=&#34;color:#f92672&#34;&gt;]&lt;/span&gt; COMMAND &lt;span style=&#34;color:#f92672&#34;&gt;[&lt;/span&gt;ARGS&lt;span style=&#34;color:#f92672&#34;&gt;]&lt;/span&gt;...&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  Hinkli - talking to Hinkskalle&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Options:&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  -v, --verbosity LVL  Either CRITICAL, ERROR, WARNING, INFO or DEBUG&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  --base TEXT          API Base URL&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  --key TEXT           Your access token&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  --help               Show this message and exit.&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Commands:&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  download-token    get download token&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  list-collections  list collections&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  list-containers   list containers&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  list-downloads    list downloads&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  list-tags         list tags&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  login             get token&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  pull              download data&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  push              upload data&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description>
    </item>
  </channel>
</rss>
