Need a simple stats grabber coded please

Looking for volunteers to join your project? Need help with a script but can't afford to pay? Want to offer your services as a volunteer to build up your portfolio? This is the place for you...

Moderator: General Moderators

Post Reply
Dynamite
Forum Newbie
Posts: 1
Joined: Sat Aug 20, 2011 7:22 am

Need a simple stats grabber coded please

Post by Dynamite »

Hi there guys,
I need a script that will:

Go to: http://stats.villavu.com/api/user/$USERID (The person will go to: http://mywebsite.com/$USERID)
(Example: http://stats.villavu.com/api/user/2)

Then on the page will have a drop down box to choose a maximum of 8 of the variables (eg. Total Levels Gained)

3 Default Variables are:
Rank, User and Time.

Then all of this information must be displayed on a PHP image.
The background: http://i.imgur.com/tAnl8.png


Thank you.
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: Need a simple stats grabber coded please

Post by Christopher »

Use the cURL library to fetch the data from that site. Use the JSON library to convert the data into a PHP variable. Generate the <select> from the data. See the docs for details.
(#10850)
Post Reply