Using the Translator API with Python
-
Monday, May 07, 2012 4:45 PM
All Replies
-
Tuesday, May 08, 2012 8:11 PMModeratorThat's awesome! +1 :)
//Laurence Moroney: www.netnavi.tv // Author of 'Introducing Silverlight' series and much more // @lmoroney
-
Wednesday, May 09, 2012 7:14 PM
Thanks, I hope people find it useful as a reference.
I've also just written another snippet which uses lxml to get the text out of the xml object returned by the API (even though the current xml object is not very complex).
-
Friday, May 25, 2012 10:16 PM
It turns out that hastebin, nifty as it is, doesn't store data very long, so I created two gists for the same code snippets:
https://gist.github.com/2790853 is the actual code example
https://gist.github.com/2790864 is the xml parsing snippet using lxml
- Edited by dpapathanasiou Friday, May 25, 2012 10:17 PM
-
Wednesday, June 06, 2012 5:32 AMModeratorGreat stuff! :)

