WHMCS billing based on the amount of emails sent

Avg Bid (USD)
Project Budget (USD)
$30 - $250

Project Description:
This should be an easy job.

My server uses Sendgrid to send out emails. I want to bill my customers based on the amount of emails they've sent.

With Sendgrid's API I can get the amount of emails my customers sent like this:

sendgrid dot com/apiv2/customer.stats.json?api_user=your_sendgrid_username&api_key=your_sendgrid_password&user=

URL above returns this:

"date": "2009-06-20",
"requests": 12342,
"bounces": 12,
"clicks": 10223,
"opens": 9992,
"spamreports": 5

Requests = number of emails sent.

I need WHMCS to identify the user that is logged in, and put their username at the end of the URL (done easily using cURL in PHP), and then show the amount of delivered emails in their customer page. A cronjob will update this value every X hours.

Then, at the end of the month, WHMCS will get the amount of emails sent and bill my customers basing the price in $0.10 for 1000 emails sent.

Skills required:
MySQL, PHP, Web Scraping, WHMCS
About the employer:
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.

$ 147
in 3 days
Hire linuxfreak1985
$ 309
in 3 days
$ 257
in 5 days
$ 277
in 7 days
$ 150
in 3 days
$ 201
in 5 days
$ 111
in 5 days
$ 111
in 3 days