This is the API documentation for Tuningservice / Tuning software
Requirements:
API key and type in querystring
Response = XML
URL: https://api.tuningservice.no/brands.php?apikey=APIKEY&type=TYPE
Types:
Request: https://api.tuningservice.no/brands.php?apikey=APIKEY&type=car
Result:
Requirements:
Username, password and ID from selected brand in querystring
Response = XML
URL: https://api.tuningservice.no/models.php?apikey=APIKEY&ID=BRAND_ID
Request: https://api.tuningservice.no/models.php?apikey=APIKEY&ID=10
Result:
Requirements:
Username, password and ID from selected model in querystring
Response = XML
URL: https://api.tuningservice.no/generation.php?apikey=APIKEY&ID=modelID
Request: https://api.tuningservice.no/generation.php?apikey=APIKEY&ID=34
Result:
Note: This will also give you the attribute year_from and year_to on generation.
Requirements:
Username, password and ID from selected generation in querystring
Response = XML
URL: https://api.tuningservice.no/engine.php?apikey=APIKEY&ID=generationID
Request: https://api.tuningservice.no/engine.php?apikey=APIKEY&ID=60
Result:
Requirements:
Username, password and ID from selected engine in querystring
Response = XML
URL: https://api.tuningservice.no/single_engine.php?apikey=APIKEY&ID=engineID
Request: https://api.tuningservice.no/single_engine.php?apikey=APIKEY&ID=130
Result:
Errors will be shown in XML, one error at a time. If there are multiple errors it will be shown after you fix each one.
Wrong username or password:
Missing ID in URL:
No results:
Simple iframe version with all data built in. Customizable language, font and background color.
If you would like some more customizable features, please let us know. This is the first version.
URL: https://api.tuningservice.no/iframe.php
Example URL: https://api.tuningservice.no/iframe.php?apikey=APIKEY&bgcolor=000000&lang=en&headcolor=cccccc
<iframe src="https://api.tuningservice.no/iframe.php?apikey=TESTKEY&bgcolor=000000&lang=en&headcolor=cccccc" frameborder="0" width="400" height="600"></iframe>