Skip to content

Raviteq/AdRapid-API-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AdRapid API examples

This repository contains a list of demos / example implementations of the AdRapid API.

Simle implementation example

The simple implementation illustrates in a simple way the whole process of getting a list of available templates, getting rules for a specific template, sending an order, as well as wating for and displaying the resulting ads. A log displays the data that is sent to and from the API through the order process. http://test.adrapid.com/api-test/simple/index.html

Live-preview for html5 banners example implemantation

The preview implementation shows how dynamic live-previews for html5-banners can be achieved. When a template is selected, we get the rules for the template and create a form using the rules. We also get a preview banner and append it to the page. We then bind form change events, so that when the user changes a field, the banner preview is updated instantly.

This example also implements form upload helpers, so that the end user can upload images from their local computer. The file is sent to AdRapid (& transcoded if needed). The image field is then updated with the result of the upload, triggering the image in the banner to be changed.

Multile order example

The multiple implementation is an example on how multiple orders for different templates can be sent at the same time. multiple orders example implementation

Additional examples will be added shortly.


A simple wrapper - AdRapid.js is used for the demo implementations.

A separate helpers.js library contains frontend functions/helpers.

Documentation for the API is available at http://raviteq.github.io/adrapid-api/


Tests & implementation examples

Additional tests and example implementations. The examples are utilizing the helpers.js library.

Crop tool

Utilizes the medias crop functionality. Frontend implementation showing how this is acheived. croptool demo

Medias upload

Simple example for file upload, utlizing upload helpers. medias upload demo

Transform

Illustrates how image transformations are acheived. medias transformations demo

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published