WörterBot

A Twit­ter bot, writ­ten in Python, that ran­dom­ly com­bi­nes Ger­man words and posts them online once a day.

The bot was writ­ten in Python and uses a coll­ec­tion of about 4000 adjec­ti­ves, 3200 verbs and over 400,000 nouns. It is pro­grammed to sel­ect one of the eight word com­bi­na­ti­ons (adjec­ti­ve + noun in plu­ral, noun in plu­ral + verb etc.), then pick one ran­dom word in each of the lists and after­wards post the final result on Twit­ter.

In order for the word com­bi­na­ti­ons to be pos­ted on the right account, it is neces­sa­ry to regis­ter the bot on the offi­ci­al Twit­ter deve­lo­per plat­form. Indi­vi­du­al access keys will be gene­ra­ted the­re, which must be included in the Python script. The con­nec­tion bet­ween the script and the Twit­ter account works through a modu­le cal­led Tweepy, which has to be added as an exten­si­on to the Python app. Tweepy com­mu­ni­ca­tes the out­put of the exe­cu­ted script to Twit­ter’s ser­vers and ulti­m­ate­ly posts them the­re. 

Year2018
FieldCoding
ToolsPython · Twit­ter API
Linktwitter.com/woerterbot