All prices are currently based on the 4-piece from the respective chain or the equivalent lowest amount of nuggies. Plan is to add multiple prices and combos after the base is finished.
The api is accessed through the /api endpoint. However, this endpoint does not return anything on its own and will return a server error.
The manifest is the big nuggie data dump, and contains everything that is used in the site and more. To access this go to /api/manifest.
You can also get data for specific restaurants by adding a /[restaurant]
after the url. For example: /api/manifest/mcdonalds.
The /api/conversion endpoint lets you convert nuggies to USD and USD to nuggies painlessly. This url takes 3 query arguments that should be added in the url with standard syntax:
- from - Only takes two different strings as arguments,
nugs
orusd
. This query specifies which conversion method to use.from=nugs
is nuggies to USD, andfrom=usd
is the inverse. - chain - The specified restaurant you would like to use metrics from. Using an unsupported restaurant will return
-1
as the price. - [optional] count - How many nuggies or how much money to convert to the other metric. If left unspecified will default to
1
.
The prices shown in this program are not accurate and are simply approximations of the value. Some prices may be closer in value than others. This program is not meant to be a reliable source of information and should not be used as such.