According to this forum
Esp8266 wemos d1 mini for reading analog values - Using Arduino / Project Guidance - Arduino Forum
that would be:
int sensorValue = analogRead(A0);
Thanks very much for your help with this. I have raised it with the library issues on github.