Documentation of WhatsOnTapAt™ fields and variables provided for your website

How to get the data:
Include a line like this (substituting your WhatsOnTapAt ID for USAFL00001):
<script type="text/javascript" src="http://www.whatsontap.buildabeer.org/Websites/TapInfo_USAFL00001.js"></script>
If your WOTA supports other product types, include additional lines, replacing TapInfo with BottleInfo, WineInfo, etc.

Variables:

boolean bTapsAreNumbered (also bBottlesAreNumbered, bWinesAreNumbered, etc.): 1 if taps are numbered, 0 if taps are alphabetical.
array xTapInfo (also xBottleInfo, xWineInfo, etc.)
Associative Array Fields:
"TOB_ID" - the display ID for the item (T1 for tap 1; Nit2 for nitro; Cask; HP2 for 2nd beer engine, etc.)
"ItemID" - the WOTA internal index for this item
"BeerName" - the name of the beer
"BreweryName" - the name of the brewery
"BeerStyle" - style like Oatmeal Stout, Hefeweizen, Vienna Lager
"BeerColor" - the RRGGBB hex color of the beer
"OtherInfo" - additional information like "On Nitrogen Tap"
"CommercialDescription" - usually a couple of sentences that the brewer uses to describe the beer or tell it's story
"ABV" - alcohol by volume like 7.5% abv
"LogoGraphic" - path to graphic of logo for the item like "Brewery/Avery.jpg" - to use this, precede with http://www.whatsontap.buildabeer.org/Logos/
"LogoWidth" - logo width in pixels
"LogoHeight" - logo height in pixels
"Location" - USA state abbreviation or country
"Price" - the price of the primary serving size for this item - like $7.5
"Glassware" - the glassware of the primary serving size for this item - like Snifter 6oz
"GlasswareGraphic" - the path to the glassware graphic for the primary serving size for this item - like Snifter.png - to use this, precede with http://www.whatsontap.buildabeer.org/Glassware/ - note that these graphics are PNG files with transparent areas so if you put this graphic in an HTML container that has a background color of BeerColor (above), the glassware will appear to be filled with the right color liquid
"PourSize" - the size of the pour of the primary serving size for this item - like 6oz
"RaterNotes" - a formatted (with Bolds) list of personalized raters with their rating number and rating text
"RaterRatings" - a formatted (with Bolds) list of personalized raters with their rating number
"BAInfo" - BeerAdvocate rating and link information like "88/30/58470" containing the rating, the BA brewery ID, and the BA beer ID
"RBInfo" - RateBeer rating and link information like "97/15/120169" containing the rating, the RB brewery ID, and the RB beer ID
"ServingMethod" - describes how the beer is served, like "Tap", "Nit" for nitro, etc.
"Keg" - TapBeer only - describes the size of the keg, if servings are tracked, like "1/2 bbl (15.5 gal)" or "Not tracked"
"KegVolume" - TapBeer only - in ounces
"ServingsRemaining" - for tap beer, this is the number of primary size servings remaining; for package beer, the number of cans or bottles


Example:

var bTapsAreNumbered=1;
var xTapInfo = new Array (
    {
"TOB_ID":"T1",
"ItemID":"1",
"BeerName":"Avery Anniversary 17",
"BreweryName":"Avery Brewing Co",
"BeerStyle":"Schwarzbier",
"BeerColor":"#000000",
"OtherInfo":"",
"CommercialDescription":"After years of commemorating our anniversary with deliciously wild and weird ales, we decided to mix it up a bit and create our first Anniversary Lager. SEVENTEEN is a celebration and case study of the aromas and flavors of German hops. And knowing our fetish for those beautiful green cones, you can be confident that the contents of this bottle are excessively hopped for your olfactory pleasure. Many thanks to all and we hope you enjoy our lupulin dissertation. Peace to all and follow your dreams! Brewed with Rocky Mountain water, malted barley, imported German hops, and German yeast. ",
"ABV":"8.69%",
"LogoGraphic":"Brewery/Avery.jpg",
"LogoWidth":"174",
"LogoHeight":"192",
"Location":"CO",
"Price":"$8",
"Glassware":"Snifter 6oz",
"GlasswareGraphic":"Snifter.png",
"PourSize":"6oz",
"RaterNotes":"NelsonM rating: 88 : A good year
Nelson rating: 95 : This is the newest rating",
"RaterRatings":"NelsonM:88, Nelson:95",
"BAInfo":"88/30/58470",
"RBInfo":"97/15/120169",
"ServingMethod":"Tap",
"Keg":"Not tracked",
"KegVolume":"0",
"ServingsRemaining":"0"
    },
    {
"TOB_ID":"T24",
"ItemID":"24 (Nitro)",
"BeerName":"Shipyard Nitro",
"BreweryName":"Shipyard Brewing Co.",
"BeerStyle":"American Amber Ale",
"BeerColor":"#FFFF51",
"OtherInfo":"On Nitrogen Tap",
"CommercialDescription":"Nitro version ",
"ABV":"5.30%",
"LogoGraphic":"Brewery/Shipyard.jpg",
"LogoWidth":"245",
"LogoHeight":"206",
"Location":"ME",
"Price":"$5.5",
"Glassware":"Pint",
"GlasswareGraphic":"Pint.png",
"PourSize":"16oz",
"RaterNotes":"",
"RaterRatings":"",
"BAInfo":"0/139/40586",
"RBInfo":"0/186/5581",
"ServingMethod":"Nit",
"Keg":"1/2 bbl (15.5 gal)",
"KegVolume":"1984",
"ServingsRemaining":"120"
    },
);