Skip to content

gdscwce/Indian-Landmarks-API-

Repository files navigation

Indian Landmarks API

GET Landmarks by

  • State
  • City
  • Locality of City
  • How to Use

  • GET Landmark by State --- State/StateName
  • GET Landmark by City --- City/CityName
  • GET Landmark by Locality --- Locality/LocalityName
  • GET Landmark by City/Locality --- City/CityName/Locality/LocalityName
  • GET Landmark by Country/ZipCode --- Country/ZipCode
  • GET Landmark by Country/State/ZipCode --- Country/State/ZipCode
  • Make a contribution

    Submit a Pull Request, with your landmark added to the JSON/index.json file. Make sure the landmark is in this format:

    {
      "id": last landmark id + 1,
      "state": "",
      "city": "",
      "locality": "",
      "landmark": "",
      "image": "",
      "description": ""
    }

    While sending your pull request please make sure you have also inserted empty JSON with next id this will be helpful to avoid merge conflicts