Skip to content

Instantly share code, notes, and snippets.

View wertyoo's full-sized avatar

Nicolas Copia wertyoo

View GitHub Profile
@wertyoo
wertyoo / iab-v1-taxonomy.json
Created June 15, 2019 23:57
JSON Lookup for IAB Taxanomy V1 - Content Categories
{
"IAB1": "Arts & Entertainment",
"IAB1-1": "Books & Literature",
"IAB1-2": "Celebrity Fan/Gossip",
"IAB1-3": "Fine Art",
"IAB1-4": "Humor",
"IAB1-5": "Movies",
"IAB1-6": "Music",
"IAB1-7": "Television",
"IAB2": "Automotive",
@wertyoo
wertyoo / raml-best-practices.md
Last active June 22, 2019 18:55
RAML v1.0 - Best Practices for Lamar APIs

NEEDS FORMATTING: Credit goes to NYU API Team found here

RAML Best Practices

General


  • Title and documentation must be defined.
  • RAML file name must be different from api.raml
  • Use RAML version 1.0

HTML Source (Original HTML):

<div class="ad_box"><img src="some_ad.png" /></div>

HTML Source sent via JSON (Escaped JSON):

{ "json_property": "<div class=\"ad_box\"><img src=\"some_ad.png\" \/><\/div>" }