[12]http://.w3.org/2001

Semantics3 docs

Git clone

Getting Started

In order to use the client, you must have both an API key and an API secret. To obtain your key and secret, you need to first create an account at You can access your API access credentials from the user dashboard at

Setup Work

Let's lay the groundwork.

require('lib/Semantics3.php'); # Set up a client to talk to the Semantics3 API using your Semantics3 API Credentials $key = 'SEM3xxxxxxxxxxxxxxxxxxxxxx'; $secret = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'; $requestor = new Semantics3_Products($key, $secret);

First Request aka 'Hello World':

Let's run our first request! We are going to run a simple search fo the word "iPhone" as follows:

# Build the request $requestor->products_field( "search", "iphone" ); # Run the request $results = $requestor->get_products; # View the results of the request echo $results;

Sample Requests

The following requests show you how to interface with some of the core functionality of the Semantics3 Products API. For more detailed examples check out the Quickstart guide:

Pagination

The example in our "Hello World" script returns the first 10 results. In this example, we'll scroll to subsequent pages, beyond our initial request:

You might also like
Fints project - volume 15 (feat.MC Hammer)
Fints project - volume 15 (feat.MC Hammer)
New Generation of Football Skills-Show | Volume 2 | 2013/2014
New Generation of Football Skills-Show | Volume 2 | 2013/2014
VOL.1; E5 - "Line for Lyons" - Tony Lustig + Lucas Pino
VOL.1; E5 - "Line for Lyons" - Tony Lustig + Lucas Pino ...
Making the Bride's Father's Speech: Know What to Say and When to Say It - Be Positive, Humorous and Sensitive - Deliver the Memorable Speech (Essentials)
Book (How To Books)
  • Used Book in Good Condition
Logic-Based Program Synthesis and Transformation: 24th International Symposium, LOPSTR 2014, Canterbury, UK, September 9-11, 2014. Revised Selected Papers (Lecture Notes in Computer Science)
eBooks (Springer)
Related Posts