From e8fd4e2245d680bee25d18fb5592303709c817bf Mon Sep 17 00:00:00 2001 From: Malte Bublitz Date: Fri, 15 Jul 2022 11:27:12 +0200 Subject: [PATCH] API-Dokumentation verlinkt die erlaubten Parameter auf die API-Aufrufe --- API.md | 41 +++++++++++++++++++++++++++-------------- 1 file changed, 27 insertions(+), 14 deletions(-) diff --git a/API.md b/API.md index 7872833..232183b 100644 --- a/API.md +++ b/API.md @@ -2,19 +2,32 @@ You can access the API at: - https://ip.malte70.de/api.php/*query* + https://ip.malte70.de/api.php/ -Query might be one of the following values: +`` might be one of the following values: -- ip -- hostname -- useragent -- browser -- operatingsystem -- lang -- country -- city -- postal_code -- coordinates -- latitute -- longitude +- [ip][1] +- [hostname][2] +- [useragent][3] +- [browser][4] +- [operatingsystem][5] +- [lang][6] +- [country][7] +- [city][8] +- [postal_code][9] +- [coordinates][10] +- [latitute][11] +- [longitude][12] + +[1]: https://ip.malte70.de/api.php/ip +[2]: https://ip.malte70.de/api.php/hostname +[3]: https://ip.malte70.de/api.php/useragent +[4]: https://ip.malte70.de/api.php/browser +[5]: https://ip.malte70.de/api.php/operatingsystem +[6]: https://ip.malte70.de/api.php/lang +[7]: https://ip.malte70.de/api.php/country +[8]: https://ip.malte70.de/api.php/city +[9]: https://ip.malte70.de/api.php/postal_code +[10]: https://ip.malte70.de/api.php/coordinates +[11]: https://ip.malte70.de/api.php/latitute +[12]: https://ip.malte70.de/api.php/longitude -- 2.30.2