Posts tagged ‘python’

Yahoo Search Marketing: Python SOAP binding

Recently, I’ve been trying to make Yahoo Search Marketing API work with Python. SOAPpy, you know, as it is used by Adwords API and thus seemed fine to me. But the very first API call using SOAPpy (getCampaignsByAccountID) failed with the message “Account ID specified in the header does not match the one specified in the parameter.” although they both were fine. Yahoo team refused to give any support on this. Long story short, I’ve found out that YWS API really does care about the parameter order.
Continue reading ‘Yahoo Search Marketing: Python SOAP binding’ »

Text generation with Markov chains

Markov chains can be used by spammers (a bit outdated approach) to generate random texts from real ones. Not so useful for spammers though, so I did it actually for lulz. Here are some examples and some code follows.
Continue reading ‘Text generation with Markov chains’ »