This API serves as a database for IDs from masterunitlist.info. There is currently no publicly-available API to access unit information. However, the MegaMek project has a database of units and their IDs on the MUL. This API serves those IDs to be used for client applications.
- Download MegaMek from https://megamek.org/downloads
- Extract MegaMek, then go into the
data/mechfiles
directory - Extract all
.zip
files in that directory into their own folders. On MacOS, doing this with Archive Utility automates the process. - Move these folders into MUL API's
/data
directory. - Do the usual Rails stuff (
bundle install
,rails db:setup
, etc) - Seed your database from the MM data files with
rails db:seed
.