How to interface E-201C pH sensor and tds sensor with raspberry pi through MCP3008

I recently purchased grove pH-Kit(E-201C) Blue and a tds sensor by Seed Studio. I checked the official wiki page of seed studio and also I found some comments mentioning “We should write our own script to interface with raspberry pi”. There are a lot of tutorials available for interfacing mcp3008 with pi but there are no tutorials to interface a pH & tds sensor with pi through ADC. I am in a hurry. I will feel good if anyone gives me a hand on this.