Welcome to the ModelSaber API v1!

The currently supported endpoints are:

These will return a JSON object with the available resources in that category.

They support the following optional GET options:

  • start=<int>: The first index to return.
  • end=<int>: The last index to return.
  • sort=<date|name|author> : The sort method to use. Default is sort=date
  • sortDirection=<asc|desc> : The sort direction to use. Default is sortDirection=asc
  • filter=<filter1,filter2,etc> : Filter results. Comma delimited.
    • Allows author:<author>, name:<name>, <tag>, and hash:<hash> as filters.
    • Allows negative filters with a - before the filter.

Example query:

https://modelsaber.com/api/v1/saber/get.php?start=1&end=3&sort=name&sortDirection=desc&filter=author:MissRaynor,-Lightning

Example response:

{
  "1546069167": {
    "tags": [
      "Overwatch",
      "Asymmetry"
    ],
    "type": "saber",
    "name": "Genji Dragon Blade",
    "author": "MissRaynor",
    "image": "https://modelsaber.com/files/saber/1546069167/image.jpg",
    "download": "https://modelsaber.com/files/saber/1546069167/Genji Dragon Blade.saber",
    "install_link": "modelsaber://saber/1546069167/Genji Dragon Blade.saber",
    "date": "1546069167",
    "hash": "911e6a8be60bf456dec59c6b4ee43c59"
    },
  "1546069282": {
    "tags": [
      "FinalFantasy",
      "FF"
    ],
    "type": "saber",
    "name": "Buster Sword",
    "author": "MissRaynor",
    "image": "https://modelsaber.com/files/saber/1546069282/image.jpg",
    "download": "https://modelsaber.com/files/saber/1546069282/Buster Sword.saber",
    "install_link": "modelsaber://saber/1546069282/Buster Sword.saber",
    "date": "1546069282",
    "hash": "964bb251d8d7edefccb1efbbc12b1cb5"
  }
}