The TG-Tire API is a Django Rest Framework application designed to provide detailed information about tire sizes and rim specifications at the Swiss type code level. This API empowers users to find precisely matching rims and tires for their vehicles based on Swiss type codes.
Querying Data: Utilize the API to retrieve information about tires, rims, and type codes associated with Swiss vehicles.
Adding Missing Data: Beyond querying, the API allows users to contribute missing data for tires, rims, and type codes, enriching the database for a more comprehensive resource.
Django Rest Framework: The API is built using Django Rest Framework, offering a powerful and flexible toolkit for building Web APIs.
Concrete Views: Concrete views have been employed to streamline the API, providing efficient and specialized endpoints for querying and contributing data.
Installation: Clone the repository and install the required dependencies using:
pip install -r requirements.txt
python manage.py migrate
python manage.py runserver
Use the relevant API endpoints to retrieve information about tires, rims, and type codes.
GET /api/tires/
GET /api/rims/
GET /api/tgcodes/
Contribute missing data to the API by making POST requests with the relevant information.
POST /api/tires/
POST /api/rims/
POST /api/tgcodes/