473,799 Members | 2,972 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Script to calculate remaining minutes

I finally joined the millions of cell phone users out there. I'm the 2nd
phone on what is now a family share plan. (Our two cell phones use minutes
from a central 400 minute peak time pool.)
Looking at the verizon wireless website, minutes used are displayed only as
two different totals for our 2 phones. Dialing in from a phones to check
remaining minutes, the minutes are presented the same way, broken down by
each phone but not available as a combined total. I would like to see the
combined total of our minutes displayed so we can at-a-glance see our
month's remaining minutes without doing any math. I wrote verizon a letter
and told them as much, but rather than hold my breath, I want to take
matters into my own hands and write a script that does the job.

I assume with relative ease, I should be able to write a script that goes to
https://www.verizonwireless.com/vzwa...erve/loginform authorizes it's way
into the website, copies the number of peak minutes for each phone (it's
just two text fields), take them offline, add them together, and displays my
used minutes out of 400 (i.e. 245/400) on my desktop at my request.

I doubt I'm the only one around that would like such a script to cure their
family share plan remaining minute confusion. I've taken a course in C and
can probably stumble my way through writing a script with a few pointers.
One thing I was wondering was whether there were any generic data capture
scripts available that I could tweak. Like a script for which I could just
sub in the website, login, password, and point to the data I wanted it to
grab. I had asked a friend with more coding background than me, and he said
what I wanted was totally doable with a Perl script. He also said I could
go to rentacoder.com. I had never heard of that before.. Pretty cool
website.. neat idea.. Contracting out a coding job.. Getting bids.. I
suppose I could post a request and see how much people want for the script.
But I'd like to do it myself though, take pride in a job well done, and not
pay anything :-) I'm sure there are plenty of scripts out there that do the
same thing I'm after.

I certainly appreciate all the help I can get :-)

Thanks,
-Ethan

--
To e-mail me, replace "_nospamtod ay_" with the "@" symbol when replying to
my address.
Jul 19 '05 #1
4 4189
Sounds like a great idea. I'm in the same situation you are in and would
love to have the script if you get one written. Don't have any help at
the moment, but keep this thread going and I may help if you get it started.

Steve

hupjack wrote:
I finally joined the millions of cell phone users out there. I'm the 2nd
phone on what is now a family share plan. (Our two cell phones use minutes
from a central 400 minute peak time pool.)
Looking at the verizon wireless website, minutes used are displayed only as
two different totals for our 2 phones. Dialing in from a phones to check
remaining minutes, the minutes are presented the same way, broken down by
each phone but not available as a combined total. I would like to see the
combined total of our minutes displayed so we can at-a-glance see our
month's remaining minutes without doing any math. I wrote verizon a letter
and told them as much, but rather than hold my breath, I want to take
matters into my own hands and write a script that does the job.

I assume with relative ease, I should be able to write a script that goes to
https://www.verizonwireless.com/vzwa...erve/loginform authorizes it's way
into the website, copies the number of peak minutes for each phone (it's
just two text fields), take them offline, add them together, and displays my
used minutes out of 400 (i.e. 245/400) on my desktop at my request.

I doubt I'm the only one around that would like such a script to cure their
family share plan remaining minute confusion. I've taken a course in C and
can probably stumble my way through writing a script with a few pointers.
One thing I was wondering was whether there were any generic data capture
scripts available that I could tweak. Like a script for which I could just
sub in the website, login, password, and point to the data I wanted it to
grab. I had asked a friend with more coding background than me, and he said
what I wanted was totally doable with a Perl script. He also said I could
go to rentacoder.com. I had never heard of that before.. Pretty cool
website.. neat idea.. Contracting out a coding job.. Getting bids.. I
suppose I could post a request and see how much people want for the script.
But I'd like to do it myself though, take pride in a job well done, and not
pay anything :-) I'm sure there are plenty of scripts out there that do the
same thing I'm after.

I certainly appreciate all the help I can get :-)

Thanks,
-Ethan

Jul 19 '05 #2
"hupjack" <hupjack_nospam today_yahoo.com > wrote in message news:<ZY******* *************@c omcast.com>...
I finally joined the millions of cell phone users out there. I'm the 2nd
phone on what is now a family share plan. (Our two cell phones use minutes
from a central 400 minute peak time pool.)
Looking at the verizon wireless website, minutes used are displayed only as
two different totals for our 2 phones. Dialing in from a phones to check
remaining minutes, the minutes are presented the same way, broken down by
each phone but not available as a combined total. I would like to see the
combined total of our minutes displayed so we can at-a-glance see our
month's remaining minutes without doing any math. I wrote verizon a letter
and told them as much, but rather than hold my breath, I want to take
matters into my own hands and write a script that does the job.

I assume with relative ease, I should be able to write a script that goes to
https://www.verizonwireless.com/vzwa...erve/loginform authorizes it's way
into the website, copies the number of peak minutes for each phone (it's
just two text fields), take them offline, add them together, and displays my
used minutes out of 400 (i.e. 245/400) on my desktop at my request.

I doubt I'm the only one around that would like such a script to cure their
family share plan remaining minute confusion. I've taken a course in C and
can probably stumble my way through writing a script with a few pointers.
One thing I was wondering was whether there were any generic data capture
scripts available that I could tweak. Like a script for which I could just
sub in the website, login, password, and point to the data I wanted it to
grab. I had asked a friend with more coding background than me, and he said
what I wanted was totally doable with a Perl script. He also said I could
go to rentacoder.com. I had never heard of that before.. Pretty cool
website.. neat idea.. Contracting out a coding job.. Getting bids.. I
suppose I could post a request and see how much people want for the script.
But I'd like to do it myself though, take pride in a job well done, and not
pay anything :-) I'm sure there are plenty of scripts out there that do the
same thing I'm after.

I certainly appreciate all the help I can get :-)


Note: I am reading this from comp.lang.perl.

I see two options.

1.If you are trying to do it on your desktop pc then write a desktop
program which sends an http request to the login script through your
internet connection.
This is probably better done in C.

2. If you are trying to do it from a server.
This is better as you can view the data on desktop, internet or even
WAP.
This is the option where you would use perl.

If you want to try option2 then I advise you to firstly get a server
with CGI/Perl support if you haven't already done so. Common
alternatives to CGI/Perl are javaee or dotnet.

Whatever option you choose when you call the login program(by http
request),you'll need to use the POST method to send your username and
PIN in the http request header, with the appropriate information for
your username and PIN.
Then the login program will probably return a whole page load of html
from which you will need to extract your information. But I don't know
what this login program returns or if there are alternative login
programs.

Note: You are jeapordising the security of your PIN number if you do
this.
I cannot see a way to do this securely without having some kind of
decryptor on verizons server.

HTH.
Paul
Jul 19 '05 #3
Paul,

your post certainly did help. I'd probably have to do a fair amount of
reading and exploration before I was able to tackle this project on my own.
I threw a post up on rent-a-coder since I was curious what might come of
that. I also wonder if there is a way to submit this idea to the open
source community. If there are people in that camp that would likely be
interested in making the app (of course I'd want to be a major contributor
if I could). If written flexibly such that it took username and password
input, and # of minutes in your plan input, such an app could become popular
among those verizon customers with family plans.

If the program is done as a desktop PC tool, would the password still be
exposed? Or is it secure after it leaves my computer assuming it's being
submitted through the secure website?

-Ethan
Jul 19 '05 #4
I'm actually having the application created on rentacoder.com. Once it's
set, I'd like to share the app and spread the cost around a larger
userbase. A coder offered to write the program for $50, so we shall see what
we get in return. Steve was the only one that responded to my post as a
user also interested in using such an application, but I'm sure there are
many more out there that would like the convenience of this app. The only
question is, how do I bring the application to the awareness of the average
family share plan users?

Hopefully I can find more interested folk. I don't know of any other
community to post to besides
alt.cellular.ve rizon and
http://www.howardforums.com/forumdis...e76&forumid=51
any other suggestions for spreading the word?

Just thought I'd update the thread and announce that progress is being made
regarding that peak minutes application.
-Ethan
"Steve Johnson" <sj********@hot mail.com> wrote in message
news:K4Ric.2004 8$cF6.792099@at tbi_s04...
Sounds like a great idea. I'm in the same situation you are in and would
love to have the script if you get one written. Don't have any help at
the moment, but keep this thread going and I may help if you get it

started.
Jul 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
2035
by: kpp9c | last post by:
I am kind of in a bit of a jam (okay a big jam) and i was hoping that someone here could give me a quick hand. I had a few pages of time calculations to do. So, i just started in on them typing them in my time calculator and writing them in by hand. Now i realize, that i really need a script to do this because: 1. It turns out there are hundreds of pages of this stuff. 2. I have to do something similar in again soon. 3. By doing it by...
3
3123
by: | last post by:
Hello, I am hoping someone else has thought about a date time calculation i need to perform. I would like to be able to calculate the number of "working minutes" between 2 dates, given my working week definition. Lets say I have a working week definition of Monday through Friday, 9 am to 5 pm. Date1 = January 1st, 2005 at 8 am
20
2980
by: none | last post by:
I have managed to get the below script *almost* working. However, it still has a problem calculating the number of months. The date I am trying to calculate from is Oct 15, 1994. With the correct "thatmonth" (10) it displays 0. With 9 it displays 2, instead of 1 which would be correct. Any suggestions? === Cut === <script language=Javascript type=text/javascript class="smalltext">
17
4213
by: Jeff | last post by:
Ok gang. Here is what I have. I am using asp with Access DB on a microsoft server. I don't know if a premade script exists out there, but I couldn't find it. I am looking for a script to use for my golf team. We have In-House Tourneys that we play, and I want to show earnings won for the tourney, kind of like the PGA golf does. What this script would have to do, is see how many players finished the tourney, and divide the total (which...
32
1875
by: John Salerno | last post by:
My first project when I started learning C# was to make a little timer to tell me when my laundry was done :) and I thought it would be fun to convert this to Python. Here's what I came up with after much struggling with the Timer class from the threading module -- as you can see, I abandoned it for the sleep() function from timer. Please let me know if this is a good (i.e. Pythonic) way of doing this, and if it can be improved (although...
6
14455
by: rohayre | last post by:
Im a long time java developer and actually have never done anything with java scripting. I'd like to write a short simple script for calculating a date in the future based on today's date and a letter. Can I use javascripting to create a webpage to allow a user to enter a letter and then click a button to find a future calendar date? I'm just not sure how much user interaction scripting allows. Does java scripting allow buttons, textfields...
1
2938
by: Yammi | last post by:
Ok, I know that there is a very smart programmer out there that can resovle my issue. I am trying to calculate time worked by 15 minute intervals. Example: ================= Emp 1 started work at 13:00:00 and worked 183 minutes Emp 2 started work at 17:15:00 and worked 150 minutes Emp 3 started work at 08:30:00 and worked 17 minutes
7
6240
by: Samuel A. Falvo II | last post by:
I have a shell script script.sh that launches a Java process in the background using the &-operator, like so: #!/bin/bash java ... arguments here ... & In my Python code, I want to invoke this shell script using the Subprocess module. Here is my code: def resultFromRunning_(command):
15
6442
by: student4lifer | last post by:
Hello, I have 2 time fields dynamically generated in format "m/d/y H:m". Could someone show me a good function to calculate the time interval difference in minutes? I played with strtotime() but but that only gave me difference in hours and only if the times were on the same day (after wrapping with date() function). TIA
0
9688
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
10247
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10031
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7571
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5467
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5593
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4146
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3762
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2941
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.