I find it too much time consuming to login to vianet's portal using browser just to check my data usage. So wrote this short script for the same purpose. Feel free to modify it in whatever way you want.
Add your username and password in the script and just run using
~$ ./vianet.sh
Distributed under WTFPL. Do whatever you want with this script.