brianmpalma.com - brianmpalma

mlb (502) gameday (46) pastime (11)

Example domain paragraphs

1.5M ratings 277k ratings See, that’s what the app is perfect for. Sounds perfect Wahhhh, I don’t wanna brianmpalma Posts Likes Archive What I Learned Deconstructing the MLB Gameday API The MLB Gameday API is not an official API released by Major League Baseball. Rather, it is a collection of XML files that reside on an MLB server at gd2.mlb.com . These files are publicly available (for the time being) and provide access to an extensive set of data for every Major League Baseball game. This is the same data

I should make it clear that the MLB Gameday API does include a copyright which you can view here . Although the information cannot be used to build commercial applications, it is fun to think about the types of applications that are possible provided there is sufficient documentation of the API. Since commercial applications are out of the question, the idea of builidng an application from an undocumented API is for those who have an interest in the area. For me personally, I’ve long been a fan of box score

Before diving into the specifics, it is worth noting that I analyzed the XML from ~12,000 games between 2011 and 2013, which included spring training and postseason contests. When I first started to document the API, I analyzed a single game’s XML files, operating under the assumption that they would generalize to the entire API. I quickly found that although a particular file remains consistent from game to game, the uniqueness of a baseball game may introduce new elements and attributes that were previous