You can get the updated category and subcategory list from Ebay !
- Create the application on http://developer.ebay.com
- Generate the Appid
- Copy Appid and paste below
- appid - Appid from the application
- siteid - Its region wise 203 is India code Click here to check site id
$sXML = download_page($url);
$oXML = simplexml_load_string($sXML);
$cat_id=array();
foreach($oXML->CategoryArray->Category as $category)
{
if($category->CategoryID!="-1")
{
$category->CategoryName;
$category->CategoryID;
}
}
No comments:
Post a Comment