Download from Public Google Sheet as CSV

I keep forgetting the syntax for this so here it is:

First part:

https://docs.google.com/spreadsheets/d/

Second part - the spreadsheet ID (add the gid [&gid=xxxx]if a different sheet to the first one):

1TXdSG8G_EnCuQITDXCAeAoWiPb9QJaj_q6yPZb-Zw9k

Third part:

/export?format=csv


Put it all together:

https://docs.google.com/spreadsheets/d/1TXdSG8G_EnCuQITDXCAeAoWiPb9QJaj_q6yPZb-Zw9k/export?format=csv