You may download historical cryptocurrency prices in CSV / Excel format from the Export As button below the price chart.

For example, here is the link for Litecoin:

CoinGecko does not have the option to download other data such as community or developer statistics yet. We are working on it and may release it soon in 2018.