API
From the Browser
When making the browser responsible to interact with the Gravity recommender system, you may choose
- either to use our javascript client
- or to write the implementation yourself
In both cases, the endpoints that the browser will contact, are the same. They are described on the pages about updates and RRs in the browser.
From the Server
When using the Gravity recommender API from your server, you still will want to include our javascript client, since you thereby get some automated tracking of exposures of and clicks upon recommendations. The endpoints for serverside use are described in the serverside updates and RRs documents.
Try it Right Away
On the pages that describe the endpoints and their expected payloads, there are tools to try out the Gravity system directly from the documentation. Be our guest!