kRPC allows you to control Kerbal Space Program from scripts running outside of the game. It has client libraries for many popular languages including C#, C++, C, Java, Lua, Python, Ruby and Haskell.
For example, you could write programs to:
The possibilities are (almost) endless...
The mod exposes most of KSPs API and includes support for Kerbal Alarm Clock and Infernal Robotics. This functionality is provided to client programs via a Remote Procedure Call server, which can communicate using several different protocols including TCP/IP, websockets (for communication with web browsers) and over a serial port. The server is also extensible. Additional remote procedures (grouped into "services") can be added to the server using the "Service API".
Raw stats are from the beginning of time until now. Each follower and download entry represents one hour of data. Uneventful hours are omitted.