<p align="center"><img src="https://camo.githubusercontent.com/7990b7910ff6483220b080fef28e6f7f07adda3f/68747470733a2f2f747275636b6572736d702e636f6d2f6173736574732f696d672f747275636b6572736d702d6c6f676f2d736d2e706e67"/></p>
<p align="center"><img src="https://img.shields.io/npm/v/truckersmp?style=flat-square"> <img src="https://img.shields.io/github/last-commit/iraizo/truckersmp.ts?style=flat-square"> <img src="https://img.shields.io/github/languages/top/iraizo/truckersmp.ts?style=flat-square"> <img src="https://img.shields.io/npm/l/truckersmp?style=flat-square"></p>

## Introduction
This is a 3rd party library made for connecting the offical API endpoints to a easy to use TypeScript/JavaScript library.
The Library includes a interface for every data structure possible.
If you want to use the API without the library, check out the <a href="https://stats.truckersmp.com/api">API Documentation</a>.

## Requirements
- TypeScript or JavaScript
- Node

## Documentation
Documentation for API client can be found <a href="https://tsmpdocs.switchbla.de/">here</a>.

## Support
If you have any issues with the library please create a <a href="https://github.com/iraizo/truckersmp.ts/issues">issue</a> and i will try to help you.

## TODO
- Add native error handling via the return JSON.
- Add <a href="https://api.truckyapp.com/docs/">truckyapp api</a>
## License
This package is open-source and is licensed under the <a href="https://github.com/iraizo/truckersmp.ts/blob/master/LICENSE.md">MIT license</a>.
