Skip to content

Instantly share code, notes, and snippets.

@vslinko
Created June 1, 2022 12:53
Show Gist options
  • Save vslinko/d4d0f11203857ab181658b5232291377 to your computer and use it in GitHub Desktop.
Save vslinko/d4d0f11203857ab181658b5232291377 to your computer and use it in GitHub Desktop.

/public/v1/get-cities/

{
  "data": [
    {
      "id": 1,
      "slug": "moskva",
      "previewImage": "https://....",
      "name": "Москва"
    }
  ]
}

/public/v1/get-city-info/

{
  "data": {
    "id": 1,
    "slug": "moskva",
    "previewImage": "https://....",
    "name": "Москва",
    "districts": [
      {
        "id": 123,
        "polygon": "",
        "name": "",
        "images": ["https://...."],
        "color": "#aabbcc",
        "info": "<div></div>",
        "prices": [
          {
            "name": "Искать по посутке",
            "price": "10000—2000 руб",
            "filtersUrl": "https://..."
          }
        ]
      }
    ],
    "poiGroups": [
      {
        "iconEmoji": "",
        "name": "",
        "poi": [
          {
            "name": "",
            "previewImage": "https://",
            "location": [39, 52],
            "images": ["https://"],
            "info": "<div></div>"
          }
        ]
      }
    ]
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment