sorry, i pressed the wrong button for the last email<br>I&#39;ve now modified the script do to GET and VOTE actions<br>I don&#39;t understand something about the created and changed date numbers<br>they are 10 digits&#39; long instead of 9 as my python specification ask it. Do you have any ideas on that ? 9 digits is what asctime(a list of 9 digits) requests<br>
<a href="http://www.ece.fr/%7Eschroder/SoC2008/files/restApiMappings.py" target="_blank">http://www.ece.fr/~schroder/SoC2008/files/restApiMappings.py</a><br>for next I&#39;ll have login+password testing separated/ a better design for connection<br>
<br>jonathan<br><br><div class="gmail_quote">On Sun, Apr 13, 2008 at 12:25 PM, Jonathan-David SCHRODER &lt;<a href="mailto:myselfhimself@free.fr">myselfhimself@free.fr</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi<br>a<div><div></div><div class="Wj3C7c"><br><br><div class="gmail_quote">On Sun, Apr 13, 2008 at 3:59 AM, Jonathan-David SCHRODER &lt;<a href="mailto:myselfhimself@free.fr" target="_blank">myselfhimself@free.fr</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi<br>I implemented a wrapper class in python having methods for the LIST and CATEGORIES methods of the REST API<br><br>the file is here : <a href="http://www.ece.fr/%7Eschroder/SoC2008/files/restApiMappings.py" target="_blank">http://www.ece.fr/~schroder/SoC2008/files/restApiMappings.py</a><br clear="all">


<br>look at the end in the if __name__ == &quot;__main__&quot;: section to see how it&#39;s used<br>as the script is now, you need to wait 1 hour = 3600 for the script to accept to refresh a cache for a given page again<br>


<br>I&#39;d be ready to wrap the GET and VOTE methods as well. I&#39;ll probably do it even if it seems there&#39;s no implementation yet on the server side.<br><br>I know that the script is not commented properly. Doing it is on my todo list.<br>


What do you think of the design I&#39;ve used?<br><br>Sincerely,<br>jonathan<br><font color="#888888"><br>-- <br><a href="http://www.jaxtr.com/myselfhimself" target="_blank">http://www.jaxtr.com/myselfhimself</a>
</font></blockquote></div><br><br clear="all"><br>-- <br><a href="http://www.jaxtr.com/myselfhimself" target="_blank">http://www.jaxtr.com/myselfhimself</a>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><a href="http://www.jaxtr.com/myselfhimself">http://www.jaxtr.com/myselfhimself</a>