I've attached a zip containing a script I had built last year, together with the .sql dump from the database it works with. The script logs into an AdSense account, scrapes a few strings of data, dumps the data into a SQL DB and also outputs it into a very simple html format.
Google introduced further complexities in the login process, breaking the script. Thankfully, Google has a simple API that can be used to fetch the required data.
Your task is to update/re-write the script to utilise the API to grab the data.
/////// MORE DETAILS
Here's the API documentation://
[url removed, login to view]
What we need to print onto the page:
-- Today's income so far.
-- A prediction of today's income, based on the current time and the expected trend of income across the day.
-- Current time in Bangkok, Thailand.
-- Current time in PST.
In the database, we just need to store the earnings and a timestmap. Please see the existing SQL. The script will be exectured as a CRON job to keep everything upto date.
You will need to use the data contained within [url removed, login to view] to see the trend of income spread over the course of day – this should be used to improve the accuracy of predicting today's total revenue.
/////// TASK NOTES
Please include the password "snakes" in your bid. Proposals without the password will be ignored.
You will be more likely to be hired if you could demonstrate that you understand the problem and have already considered a solution. You may program the script in any popular language (Python, PHP, Ruby) as long as it runs on a Unix webserver out-of-the-box.
This should be a simple and fun project for someone who knows what they're doing. It's a fixed price project, but there could be opportunities to work together in the future.
You will see that I have a long standing reputaiton on Freelancer/VWorker and that developers have enjoyed working with me.
3 freelancers are bidding on average £185 for this job
Hello, We are freelance software developers. If you contact us, we can give a quote for your project and we can discuss the details. w w w . so l ve r . i o