Madina
Fast API for getting moroccan cities and their districts in json/xml/csv formats.
Install / Use
/learn @Ysn4Irix/MadinaREADME
<p align="center">
<img width="400px" src="https://res.cloudinary.com/ydevcloud/image/upload/v1662763334/yassi/d4rlg4qrsgct4djab3gw.svg" align="center" alt="madina" />
</p>
<br>
<p align="center">
<b>Fast API for getting moroccan cities and their districts in json/xml/csv format built with</b><br>
</p>
<p align="center">
<img width="150px" src="https://res.cloudinary.com/ydevcloud/image/upload/v1658183164/yassi/mgkhs4y9ydmoyjyozulf.svg" align="center" alt="nodejs" />
<img width="150px" src="https://res.cloudinary.com/ydevcloud/image/upload/v1662120635/yassi/r923h19buxqfs5ouzzf6.svg" align="center" alt="express" />
<img width="150px" src="https://res.cloudinary.com/ydevcloud/image/upload/v1662761742/yassi/njspmtvicp86dur9s9lr.svg" align="center" alt="mysql" />
<br>
</p>
<p align="center">
<img src="https://res.cloudinary.com/ydevcloud/image/upload/v1662764621/yassi/mt06miiib3py62cwclbe.png" alt="gdrive-cli" width="500" style="border-radius: 5px;"><br>
</p>
<br>
<p align="center">
<img src="https://res.cloudinary.com/ydevcloud/image/upload/v1657122244/yassi/goafdvoalju7ty1seuqo.gif" alt="star-repo" style="border-radius: 5px;">
<br>
</p>

Usage
<b style="color:brown;">The number of requests per user is limited to 100 req/min</b>
List cities
# with json format
GET /api/cities?format=json
# with xml format
GET /api/cities?format=xml
# with csv format
GET /api/cities?format=csv
Get all districts for specific city
- Search by city Id
# with json format
GET /api/districts/{cityID}?format=json
# with xml format
GET /api/districts/{cityID}?format=xml
# with csv format
GET /api/districts/{cityID}?format=csv
- Search by city name
# with json format
GET /api/districts?name={cityName}&format=json
# with xml format
GET /api/districts?name={cityName}&format=xml
# with csv format
GET /api/districts?name={cityName}&format=csv
<br>

❯ About
<summary><strong>Contributing</strong></summary>Pull requests and stars are always welcome. For bugs and features requests, please create an issue.
Author
Ysn4Irix
<br>
❯ License
Copyright © 2022-present, Ysn4Irix. Released under the MIT License.
