Tuning File Database API

ABrands

getBrands

Fetch all vehicle brands

Retrieve a list of all vehicle brands available in the database.


/brands

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://api.24-7chiptuning.com/brands"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ABrandsApi;

import java.io.File;
import java.util.*;

public class ABrandsApiExample {

    public static void main(String[] args) {
        
        ABrandsApi apiInstance = new ABrandsApi();
        try {
            array[BrandModel] result = apiInstance.getBrands();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ABrandsApi#getBrands");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ABrandsApi;

public class ABrandsApiExample {

    public static void main(String[] args) {
        ABrandsApi apiInstance = new ABrandsApi();
        try {
            array[BrandModel] result = apiInstance.getBrands();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ABrandsApi#getBrands");
            e.printStackTrace();
        }
    }
}

ABrandsApi *apiInstance = [[ABrandsApi alloc] init];

// Fetch all vehicle brands
[apiInstance getBrandsWithCompletionHandler: 
              ^(array[BrandModel] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var TuningFileDatabaseApi = require('tuning_file_database_api');

var api = new TuningFileDatabaseApi.ABrandsApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getBrands(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getBrandsExample
    {
        public void main()
        {

            var apiInstance = new ABrandsApi();

            try
            {
                // Fetch all vehicle brands
                array[BrandModel] result = apiInstance.getBrands();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ABrandsApi.getBrands: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiABrandsApi();

try {
    $result = $api_instance->getBrands();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ABrandsApi->getBrands: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ABrandsApi;

my $api_instance = WWW::SwaggerClient::ABrandsApi->new();

eval { 
    my $result = $api_instance->getBrands();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ABrandsApi->getBrands: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.ABrandsApi()

try: 
    # Fetch all vehicle brands
    api_response = api_instance.get_brands()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ABrandsApi->getBrands: %s\n" % e)

Parameters

Responses

Status: 200 - A list of vehicle brands

Status: 500 - Internal server error


BModels

getModelsByBrand

Fetch models by brand

Retrieve a list of models associated with a specific brand.


/modelsByBrand

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://api.24-7chiptuning.com/modelsByBrand?brandId="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BModelsApi;

import java.io.File;
import java.util.*;

public class BModelsApiExample {

    public static void main(String[] args) {
        
        BModelsApi apiInstance = new BModelsApi();
        String brandId = brandId_example; // String | The ID of the brand
        try {
            array[ModelModel] result = apiInstance.getModelsByBrand(brandId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BModelsApi#getModelsByBrand");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BModelsApi;

public class BModelsApiExample {

    public static void main(String[] args) {
        BModelsApi apiInstance = new BModelsApi();
        String brandId = brandId_example; // String | The ID of the brand
        try {
            array[ModelModel] result = apiInstance.getModelsByBrand(brandId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BModelsApi#getModelsByBrand");
            e.printStackTrace();
        }
    }
}
String *brandId = brandId_example; // The ID of the brand

BModelsApi *apiInstance = [[BModelsApi alloc] init];

// Fetch models by brand
[apiInstance getModelsByBrandWith:brandId
              completionHandler: ^(array[ModelModel] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var TuningFileDatabaseApi = require('tuning_file_database_api');

var api = new TuningFileDatabaseApi.BModelsApi()
var brandId = brandId_example; // {{String}} The ID of the brand

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getModelsByBrand(brandId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getModelsByBrandExample
    {
        public void main()
        {

            var apiInstance = new BModelsApi();
            var brandId = brandId_example;  // String | The ID of the brand

            try
            {
                // Fetch models by brand
                array[ModelModel] result = apiInstance.getModelsByBrand(brandId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BModelsApi.getModelsByBrand: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiBModelsApi();
$brandId = brandId_example; // String | The ID of the brand

try {
    $result = $api_instance->getModelsByBrand($brandId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling BModelsApi->getModelsByBrand: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::BModelsApi;

my $api_instance = WWW::SwaggerClient::BModelsApi->new();
my $brandId = brandId_example; # String | The ID of the brand

eval { 
    my $result = $api_instance->getModelsByBrand(brandId => $brandId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BModelsApi->getModelsByBrand: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.BModelsApi()
brandId = brandId_example # String | The ID of the brand

try: 
    # Fetch models by brand
    api_response = api_instance.get_models_by_brand(brandId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BModelsApi->getModelsByBrand: %s\n" % e)

Parameters

Query parameters
Name Description
brandId*
String
The ID of the brand
Required

Responses

Status: 200 - A list of models

Status: 400 - Invalid brand ID supplied

Status: 404 - Brand not found


CGenerations

getGenerationsByModel

Fetch generations by model

Retrieve a list of generations associated with a specific model.


/generationsByModel

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://api.24-7chiptuning.com/generationsByModel?modelId="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CGenerationsApi;

import java.io.File;
import java.util.*;

public class CGenerationsApiExample {

    public static void main(String[] args) {
        
        CGenerationsApi apiInstance = new CGenerationsApi();
        String modelId = modelId_example; // String | The ID of the model
        try {
            array[GenerationModel] result = apiInstance.getGenerationsByModel(modelId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CGenerationsApi#getGenerationsByModel");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CGenerationsApi;

public class CGenerationsApiExample {

    public static void main(String[] args) {
        CGenerationsApi apiInstance = new CGenerationsApi();
        String modelId = modelId_example; // String | The ID of the model
        try {
            array[GenerationModel] result = apiInstance.getGenerationsByModel(modelId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CGenerationsApi#getGenerationsByModel");
            e.printStackTrace();
        }
    }
}
String *modelId = modelId_example; // The ID of the model

CGenerationsApi *apiInstance = [[CGenerationsApi alloc] init];

// Fetch generations by model
[apiInstance getGenerationsByModelWith:modelId
              completionHandler: ^(array[GenerationModel] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var TuningFileDatabaseApi = require('tuning_file_database_api');

var api = new TuningFileDatabaseApi.CGenerationsApi()
var modelId = modelId_example; // {{String}} The ID of the model

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getGenerationsByModel(modelId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getGenerationsByModelExample
    {
        public void main()
        {

            var apiInstance = new CGenerationsApi();
            var modelId = modelId_example;  // String | The ID of the model

            try
            {
                // Fetch generations by model
                array[GenerationModel] result = apiInstance.getGenerationsByModel(modelId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CGenerationsApi.getGenerationsByModel: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiCGenerationsApi();
$modelId = modelId_example; // String | The ID of the model

try {
    $result = $api_instance->getGenerationsByModel($modelId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling CGenerationsApi->getGenerationsByModel: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CGenerationsApi;

my $api_instance = WWW::SwaggerClient::CGenerationsApi->new();
my $modelId = modelId_example; # String | The ID of the model

eval { 
    my $result = $api_instance->getGenerationsByModel(modelId => $modelId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling CGenerationsApi->getGenerationsByModel: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.CGenerationsApi()
modelId = modelId_example # String | The ID of the model

try: 
    # Fetch generations by model
    api_response = api_instance.get_generations_by_model(modelId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CGenerationsApi->getGenerationsByModel: %s\n" % e)

Parameters

Query parameters
Name Description
modelId*
String
The ID of the model
Required

Responses

Status: 200 - A list of generations

Status: 400 - Invalid model ID supplied

Status: 404 - Model not found


DProducts

getProductsByGeneration

Fetch products by generation

Retrieve a list of products associated with a specific generation.


/productsByGenerationId

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://api.24-7chiptuning.com/productsByGenerationId?generationId="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DProductsApi;

import java.io.File;
import java.util.*;

public class DProductsApiExample {

    public static void main(String[] args) {
        
        DProductsApi apiInstance = new DProductsApi();
        String generationId = generationId_example; // String | The ID of the generation
        try {
            array[ProductModel] result = apiInstance.getProductsByGeneration(generationId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DProductsApi#getProductsByGeneration");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DProductsApi;

public class DProductsApiExample {

    public static void main(String[] args) {
        DProductsApi apiInstance = new DProductsApi();
        String generationId = generationId_example; // String | The ID of the generation
        try {
            array[ProductModel] result = apiInstance.getProductsByGeneration(generationId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DProductsApi#getProductsByGeneration");
            e.printStackTrace();
        }
    }
}
String *generationId = generationId_example; // The ID of the generation

DProductsApi *apiInstance = [[DProductsApi alloc] init];

// Fetch products by generation
[apiInstance getProductsByGenerationWith:generationId
              completionHandler: ^(array[ProductModel] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var TuningFileDatabaseApi = require('tuning_file_database_api');

var api = new TuningFileDatabaseApi.DProductsApi()
var generationId = generationId_example; // {{String}} The ID of the generation

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getProductsByGeneration(generationId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getProductsByGenerationExample
    {
        public void main()
        {

            var apiInstance = new DProductsApi();
            var generationId = generationId_example;  // String | The ID of the generation

            try
            {
                // Fetch products by generation
                array[ProductModel] result = apiInstance.getProductsByGeneration(generationId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DProductsApi.getProductsByGeneration: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiDProductsApi();
$generationId = generationId_example; // String | The ID of the generation

try {
    $result = $api_instance->getProductsByGeneration($generationId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DProductsApi->getProductsByGeneration: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DProductsApi;

my $api_instance = WWW::SwaggerClient::DProductsApi->new();
my $generationId = generationId_example; # String | The ID of the generation

eval { 
    my $result = $api_instance->getProductsByGeneration(generationId => $generationId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DProductsApi->getProductsByGeneration: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DProductsApi()
generationId = generationId_example # String | The ID of the generation

try: 
    # Fetch products by generation
    api_response = api_instance.get_products_by_generation(generationId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DProductsApi->getProductsByGeneration: %s\n" % e)

Parameters

Query parameters
Name Description
generationId*
String
The ID of the generation
Required

Responses

Status: 200 - A list of products

Status: 400 - Invalid generation ID supplied

Status: 404 - Generation not found