MMA Madness™ API Do you enjoy MMA Madness? Do you have a website or myspace page where you would like to display the latest MMA news, rumors and gossip? Then this section is for you! We have developed some news APIs to allow you to deliver the latest MMA Insight™ articles, MMA Events™ and Breaking News, rumors, and gossip directly to your website! To get started just copy and paste the code from one of the boxes below.
MMA Insight™ API Code :
Breaking News API Code :
MMA Events™ API Code :
How to customize the APIs Below you will find a list of the variables that we have created to allow you to control the look and feel of the content boxes you put on your website. To use one of these variables, simply add it to the querystring. For example, if you wanted to change the width of the content box to 500 pixels wide, you would change the API url as follows :
FROM http://www.mmamadness.com/api/?type=IN
TO http://www.mmamadness.com/api/?type=IN&width=500
Variable
Desciption
Input Type
width
This controls the width of the content box
a number (ex: 300)
height
This controls the height of the content box
a number (ex: 300)
border
This controls if we display a border around the content box
true or false (ex: false )
bordercolor
This is the color of the border around the content box
a color hex code (ex : FF0000)
titlebgcolor
This controls the background color of the titlebar
a color hex code (ex : FF0000)
titlecolor
This controls the color of the title
a color hex code (ex : FF0000)
textcolor
This controls the color of the text
a color hex code (ex : FF0000)
bgcolor1
This controls the background color for the first item
a color hex code (ex : FF0000)
bgcolor2
This controls the background color for the second item
a color hex code (ex : FF0000)
itemcount
This controls the number of items to display (20 max)