Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/martan03/trackmaniarecordsapi
API to store Trackmania records and compete with friends
https://github.com/martan03/trackmaniarecordsapi
php rest-api trackmania trackmania-api trackmania-records
Last synced: about 2 months ago
JSON representation
API to store Trackmania records and compete with friends
- Host: GitHub
- URL: https://github.com/martan03/trackmaniarecordsapi
- Owner: Martan03
- License: mit
- Created: 2023-01-12T21:35:59.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-05-17T12:06:16.000Z (8 months ago)
- Last Synced: 2024-05-17T14:02:59.858Z (8 months ago)
- Topics: php, rest-api, trackmania, trackmania-api, trackmania-records
- Language: PHP
- Homepage:
- Size: 48.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TrackmaniaRecordsAPI
I'm competitive type of person so I decided to make [Trackmania Records website](https://github.com/Martan03/TrackmaniaRecords) so me and my friends
could set records and then compete with each other. One of my friends wanted to make custom website for it, so I made this API.Also, I did all the calls using GET (my friend ask me to do it like this)
# API Calls:
## Records:
```/record```: returns all records from the database
### Get
```/record/get?record_id=```: returns record with given ID
```record/get?season_id=```: returns best times from each level in given season
```record/get?season_id=&level=```: returns all times in given level of the given season
### Manage
If URL contains ```record_id```, than it edits existing record
```/record/manage?record_holder=&record_time=## Seasons:
```/season```: returns all season from the database
### Get
```/season/get?season_id=```: returns season with given ID
```/season/get?season_year=&season_name=```: returns season with given Year and Name
### Manage
If URL contains ```season_id```, than it edits existing season
```/season/manage?season_year=&season_name=```: creates new season
```/season/manage?season_id=&season_name=...```: edits season with given ID, all parameters must be included
### Remove
```/season/remove?season_id=```: remove season with given ID## Links
- **Author:** [Martan03](https://github.com/Martan03)
- **GitHub repository:** [TrackmaniaRecordsAPI](https://github.com/Martan03/TrackmaniaRecordsAPI)
- **Author website:** [martan03.github.io/Portfolio](https://martan03.github.io/Portfolio/)