Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.




650 posts

Ultimate Geek
+1 received by user: 10


Topic # 150096 11-Jul-2014 07:58
Send private message

I have a fusion plan in a holiday home and the guests want to know their usage.

Is there a way that they can do this without me providing my account details?

Or do I have to write my own gateway application?

Filter this topic showing only the reply marked as answer Create new topic
266 posts

Ultimate Geek
+1 received by user: 26


  Reply # 1086898 11-Jul-2014 08:17
One person supports this post
Send private message

Hi gchiu,

If they visit https://www.xport.co.nz/ from the IP address of that connection, you should be able to see the usage below the login screen like this :




650 posts

Ultimate Geek
+1 received by user: 10


  Reply # 1086899 11-Jul-2014 08:19
Send private message

Ah, well I didn't know that!

Thanks.

 
 
 
 




650 posts

Ultimate Geek
+1 received by user: 10


  Reply # 1087649 12-Jul-2014 11:31
Send private message

I have written a script that logins to the WxC portal and displays the usage data in full for the current month.

See my github repo

Works for me on my desktop, and as CGI

A Rebol3 linux binary with https can be downloaded from http://giuliolunati.altervista.org/Rebol3/r3-linux

Current mainline builds at http://www.rebolsource.net have not incorporated https yet.

Even though it displays all the WxC links, it can't be used to do anything else since the person who sees the data in the browser still needs to have your credentials.

No warranties.




650 posts

Ultimate Geek
+1 received by user: 10


  Reply # 1087668 12-Jul-2014 12:38
Send private message

If you want to see phone usage instead, then at line 46 change

broadband-data: to string! write rejoin [ redirect "/services/internet/broadband/" user "/" ] compose/deep [ GET [ cookie: (session-cookie) "/" ]]

to

broadband-data: to string! write rejoin [ redirect "reports/callrecords/?per_page=120&phone_no=0nnnnnnn" ] compose/deep [ GET [ cookie: (session-cookie) "/" ]]  

where 0nnnnnnn is your phone number

Filter this topic showing only the reply marked as answer Create new topic



Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

New Zealand hits peak broadband data
Posted 18-Jan-2018 12:21


Amazon Echo devices coming to New Zealand early February 2018
Posted 18-Jan-2018 10:53


$3.74 million for new electric vehicles in New Zealand
Posted 17-Jan-2018 11:27


Nova 2i: Value, not excitement from Huawei
Posted 17-Jan-2018 09:02


Less news in Facebook News Feed revamp
Posted 15-Jan-2018 13:15


Australian Government contract awarded to Datacom Connect
Posted 11-Jan-2018 08:37


Why New Zealand needs a chief technology officer
Posted 6-Jan-2018 13:59


Amazon release Silk Browser and Firefox for Fire TV
Posted 21-Dec-2017 13:42


New Chief Technology Officer role created
Posted 19-Dec-2017 22:18


All I want for Christmas is a new EV
Posted 19-Dec-2017 19:54


How clever is this: AI will create 2.3 million jobs by 2020
Posted 19-Dec-2017 19:52


NOW to deploy SD-WAN to regional councils
Posted 19-Dec-2017 19:46


Mobile market competition issues ComCom should watch
Posted 18-Dec-2017 10:52


New Zealand government to create digital advisory group
Posted 16-Dec-2017 08:47


Australia datum changes means whole country moving 1.8 metres north-east
Posted 16-Dec-2017 08:39



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.