public static void Main(string[] args) { TubeXMLPull tubeXMLPull = new TubeXMLPull(); //private credentials, directory to save the xml file too, app id and app key can be requested from TFL bool xmlPullSuccess = tubeXMLPull.Get(TubeCredentials.app_dir, TubeCredentials.app_id, TubeCredentials.app_key); if (xmlPullSuccess) { TubeXMLParser tubeXML = new TubeXMLParser(); //parse and read the xml file if (tubeXML.Load(TubeCredentials.app_dir)) { tubeXML.Read(); } } }
public TubeXMLParser_Test() { tubeXMLTest = new TubeXMLParser(); }