| Forum Home | ||||
| Press F1 | ||||
| Thread ID: 124142 | 2012-04-09 01:30:00 | Checking data usage through program | pcuser42 (130) | Press F1 |
| Post ID | Timestamp | Content | User | ||
| 1268980 | 2012-04-09 01:30:00 | I'm writing a program that will regularly check how much data we've used (in total) and then act on that amount, depending on whether it's over or under what we should be at on average. The only thing is that I need some way to actually get this information from Vodafone, but the only way I can see how is to log in and use that data tracker, which isn't suitable for automated collection... :waughh: Is there any way I can get data usage automatically? |
pcuser42 (130) | ||
| 1268981 | 2012-04-09 01:39:00 | Is there any way I can get data usage automatically?You'll almost certainly have to scrape the website I'm afraid; to the best of my knowledge they don't provide any kind of API for residential customers. Which language are you using? |
Erayd (23) | ||
| 1268982 | 2012-04-09 03:12:00 | You'll almost certainly have to scrape the website I'm afraid; to the best of my knowledge they don't provide any kind of API for residential customers. Drat. :annoyed: Which language are you using? C#. Decided to move on from Visual Basic. :p |
pcuser42 (130) | ||
| 1268983 | 2012-04-09 07:13:00 | You can try scraping their site using the Browser control object (I think... haven't used C# in quite a few years) and simulate logging in, mouse clicks, etc. | somebody (208) | ||
| 1268984 | 2012-04-09 07:34:00 | There is a program called Traffic Usage Checker which can automatically check your usage, so there must be a way. www.tuc.co.nz |
Greven (91) | ||
| 1268985 | 2012-04-09 07:38:00 | There is a program called Traffic Usage Checker which can automatically check your usage, so there must be a way. www.tuc.co.nz Yes that program was the one that came to mind, I wonder how they did it... |
pcuser42 (130) | ||
| 1268986 | 2012-04-09 08:04:00 | I been using Google Docs to import url's (outbound links) on websites, and pulling latest content from various platforms (e.g. Youtube, Twitter, Google News, Q&A Forums,etc) for instant competitive analysis. It uses import XML and Xpath, (vancouverdata.blogspot.co.nz) so maybe can pull your data if you can create X paths. Been plenty online tutorials (www.google.co.nz 0l0l0ll0l0.llsin.&pbx=1&fp=1&biw=1024&bih=472&bav=on.2,or.r_gc.r_pw.r_cp.r_qf.,cf.osb&cad=b) lately, including this one for a website monitor (www.labnol.org) using Google Docs. I use scripts provided, as still learning how to build them. | kahawai chaser (3545) | ||
| 1268987 | 2012-04-09 08:24:00 | Yes that program was the one that came to mind, I wonder how they did it... They do it by logging into your ISP account - you have to enter your account number/ name and your password. There's currently about 17 ISPs that it works on. |
decibel (11645) | ||
| 1268988 | 2012-04-09 10:33:00 | It would probably be a lot easier to write an app that monitors the TUC logfile than it would be to scrape the website yourself. | Greven (91) | ||
| 1 | |||||