<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jul 30, 2016 at 10:01 PM, Thomas De Schampheleire <span dir="ltr"><<a href="mailto:patrickdepinguin@gmail.com" target="_blank">patrickdepinguin@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
API calls currently do not work under Turbogears2.<br>
<br>
The simplest call is:<br>
<br>
../venv/kallithea-tg-clean/<wbr>bin/kallithea-api<br>
--apikey=<wbr>811a4ad6f382e75c20392b668cad94<wbr>08bde9f42e<br>
--apihost=<a href="http://localhost:5000" rel="noreferrer" target="_blank">http://localhost:<wbr>5000</a> test<br>
<br>
(where apikey can be obtained from the web UI, after logging in, going<br>
to 'My account' via you user name top right, then API keys.)<br></blockquote><div><br></div><div>Hi Thomas,</div><div><br></div><div>I made a proof of concept of working APIs, I tried to keep it to minimum changes so it suffers of `self.something=` issues but seems it's able to receive requests, respond and report errors.</div><div><br></div><div>See it at <a href="https://bitbucket.org/_amol_/kallithea-tg/commits/ead627a07f0c30961772985a441d9ef574c4b061">https://bitbucket.org/_amol_/kallithea-tg/commits/ead627a07f0c30961772985a441d9ef574c4b061</a></div><div><br></div><div>It will require tgext.routes>=0.2.0 which I changed to allow mixing multiple routing systems as required by Kallithea RPC APIs</div><div><br></div></div></div></div>