Giter VIP home page Giter VIP logo

matrix-ayuda's Introduction

Ayuda API

This module is a collecton of wrappers, helper functions and stubs that facilitate integrations with the Ayuda API.

Setup

git clone https://github.com/matrix-io/matrix-ayuda.git
cd matrix-ayuda
npm install

PoP Parameters

Each PoP response received from Ayuda's server's returns an array of objects in the body. Below is a table documenting the key and value types of each parameter. The keys are only visible when the verbose mode is enabled.

key value type desc example
DigitalFaceCode string The ID of the Face (generally, this is the player that is playing) "CN-M"
SiteCode string The ID of the location the Face is at "CS001"
MediaFileName string File name of the creative being played "yoga.jpg"
AdvertiserName string Full name for advertiser "Company"
AdvertiserCode string Advertiser Code "CN"
SpotLength number The length of the spot in the loop that the creative is in 5
PlayToEnd boolean Was the creative set to play to its conclusion (if longer than the spot length) false
DesignDuration number The native play time of the of the creative (could be longer or shorter than the spot length) 0
Times array Array containing objects with a single "Datetime" key, it holds a ISO 8601 string with the local player playback end time for the Ad [{"DateTime" : "2017-08-04T00:00:23"}, ...]

matrix-ayuda's People

Contributors

bauff avatar diegoribero avatar

Watchers

Brian Sanchez avatar Sean Canton avatar Maciek Ruckgaber avatar James Cloos avatar Andrés Felipe Calderón de Restrepo avatar  avatar  avatar Alie Gonzalez-Guyon avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.