Import API - php
I would just like to start by saying sorry if this is the wrong area.
I am trying to import data from a a Game site API http://worldoftanks.com/community/cl...fset=0&limit=1, however I am not sure where to start with this one.
It doesn't appear to be standard xml.
What I am trying to do is create a script on my website which will read this page and import the data into the database, and via a cron will update it every day.
A tap in the right direction with this one would be a great help.
Thankyou in advance
Its not XML, it looks to me that its JSON. Use PHP's json_decode function to return it to an array PHP can deal with.
|All times are GMT +1. The time now is 11:53 AM.|
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.