A Twitter bot, written in Python, that randomly combines German words and posts them online once a day.

The bot was written in Python and currently uses a collection of about 4000 adjectives, 3200 verbs, over 400,000 nouns and 600 nouns in the plural. It is programmed to select one of the eight word combinations (adjective + noun in plural, noun in plural + verb, etc.), then pick one random word in each of the lists and post the final result on Twitter afterwards.






Twitter API

In order for the word combinations to be posted on the right account, it is necessary to register the bot on the official Twitter developer platform. Individual access keys will be generated there, which must be included in the Python script. The connection between the script and the Twitter account works through a module called Tweepy, which has to be added as an extension to the Python app. Tweepy communicates the output of the executed script to Twitter's servers and ultimately posts them there. 

Running the bare script without Twitter API