Hi<br>a<br><br><div class="gmail_quote">On Sun, Apr 13, 2008 at 3:59 AM, Jonathan-David SCHRODER <<a href="mailto:myselfhimself@free.fr">myselfhimself@free.fr</a>> 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__ == "__main__": section to see how it'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'd be ready to wrap the GET and VOTE methods as well. I'll probably do it even if it seems there'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'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">http://www.jaxtr.com/myselfhimself</a>