From 43df36da7a493690c4de28936e3ae540a8e93c01 Mon Sep 17 00:00:00 2001 From: Yashash Gaurav Date: Fri, 14 Oct 2022 21:12:50 -0400 Subject: [PATCH] Adding secunderabad to cities-name-list and cities.json --- README.md | 2 +- cities-name-list.json | 1 + cities.json | 37 +++++++++++++++++++++---------------- 3 files changed, 23 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 0023cbe..47e4133 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # Indian Cities JSON -a json file containing 1220 indian cities and their respective states +a json file containing 1222 indian cities and their respective states After hundreds of unsuccessful searches for a rails gem to add the cities and states select option which could work the way I wanted it to, I gave up. Then, I began searching for a .json from which I could directly fetch the information and make it work, there too, I failed, I couldn't find the "perfect" file. diff --git a/cities-name-list.json b/cities-name-list.json index 8ece9d6..86d194a 100644 --- a/cities-name-list.json +++ b/cities-name-list.json @@ -889,6 +889,7 @@ "Savner", "Sawai Madhopur", "Sawantwadi", + "Secunderabad", "Sedam", "Sehore", "Sendhwa", diff --git a/cities.json b/cities.json index a473f00..2fef6e7 100644 --- a/cities.json +++ b/cities.json @@ -6080,28 +6080,33 @@ "state": "Gujarat" }, { - "id":"1217", - "name":"Kullu", - "state":"Himachal Pradesh" + "id": "1217", + "name": "Kullu", + "state": "Himachal Pradesh" }, { - "id":"1218", - "name":"Manali", - "state":"Himachal Praddesh" + "id": "1218", + "name": "Manali", + "state": "Himachal Praddesh" }, { - "id":"1219", - "name":"Mirzapur", - "state":"Uttar Pradesh" + "id": "1219", + "name": "Mirzapur", + "state": "Uttar Pradesh" }, { - "id":"1220", - "name":"Kota", - "state":"Rajasthan" + "id": "1220", + "name": "Kota", + "state": "Rajasthan" }, { - "id":"1221", - "name":"Dispur", - "state":"Assam" + "id": "1221", + "name": "Dispur", + "state": "Assam" + }, + { + "id": "1222", + "name": "Secunderabad", + "state": "Telangana" } -] +] \ No newline at end of file