Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View tonytopper's full-sized avatar

Tony Topper tonytopper

View GitHub Profile
@jcleblanc
jcleblanc / shopping.php
Created August 30, 2012 20:37
eBay Shopping API Samples
<?php
class eBayShopping{
//variable instantiation
private $uri_shopping = 'http://open.api.ebay.com/shopping'; //Production Shopping API endpoint
private $appid = 'YOUR APPLICATION ID'; //Production application ID
private $version = '787'; //API version
private $format = 'JSON'; //API response format
private $siteid = '0'; //Site to search (Currently U.S.) - full site list at http://developer.ebay.com/devzone/shopping/docs/callref/types/SiteCodeType.html
private $standard_qstring = ''; //Standard query string parameters to be applied to all requests