Welcome to the ModelSaber API v2!

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:

  • type=<string>: The model type to return. Default is type=all
  • platform=<string>: The model platform to return. Default is platform=all, possible values: allpcquest
  • 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:<tag>, hash:<hash>, discordid:<discordid>, id:<id>, and <name>* as filters.* not an exact match
    • Allows negative filters with a - before the filter.

Example query:

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

Test you own query:

https://modelsaber.com/api/v2/get.php

Example response:


Warning: file_put_contents(/var/www/html/modelsaber.log): failed to open stream: Permission denied in /var/www/html/resources/includes/fishyUtils.php on line 135
null