Reputation: 1275
Not sure if this is even possible but since Verizon does not have an API set for this I thought I would look for an alternative.
As a verizon customer I can login to myverizon.com and from there they have a link to download an .XLS sheet with all of my recent history.
I would like to automate this process somehow but not sure if there is a way to create a session on another site with a valid username/password and then process to pull the file once credentials have been verified?
Right now I have to manually downlaod the XLS sheet and import into an application.
Thanks,
Upvotes: 2
Views: 214
Reputation: 18446
Well, there should be a way.
I cannot give you an instruction since I am not a Verizon customer. But you could start by trying to automate the XLS retrieval with Selenium.
Then, if you want to do it via PHP/cURL (as is suggested by your tags), you could translate the Selenium file to corresponding cURL requests.
Update: Also, please make sure that this is okay according to the terms and conditions of your contract with Verizon.
Upvotes: 1
Reputation: 4097
You need to use the CURL Library for this in PHP. It will allow you to post login credentials and save the cookie.
The above link demonstrates a login to Ebay using CURL
Upvotes: 4