Think speak library and wifi library are used along with wire library compatible with NODEMCU.

nodemcu flex sensor