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.


726 posts

Ultimate Geek
+1 received by user: 11


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 :




726 posts

Ultimate Geek
+1 received by user: 11


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

Ah, well I didn't know that!

Thanks.



726 posts

Ultimate Geek
+1 received by user: 11


  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.




726 posts

Ultimate Geek
+1 received by user: 11


  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:



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.