Skip to content
Cloud infrastructure/devops

mashape.com:geodb

GeoDB Cities sandbox and mock API

The GeoDB API focuses on getting global city and region data. Easily obtain country, region, and city data for use in your apps! <ul> <li>Filter cities by name prefix, country, location, time-zone, and even minimum population.</li> <li>Sort cities by name, country code, elevation, and population - or any combination of these.</li> <li>Get all country regions.</li> <li>Get all cities in a given reg Writes persist, data moves on a schedule and every change can fire a signed webhook.

Operations
26
Collections
-
Event types
-
example request
curl https://your-mashape-geodb.slurry.io/v1/geo/adminDivisions \
  -H "Authorization: Bearer slurry_sim_..."

Your simulation gets its own hostname, key and IP allow-list. Built from API version 1.0.0.

What gets simulated

Collections, relationships and state machines are worked out from the spec when you start the simulation.

  • State. Creates, updates and deletes persist and show up in later reads.
  • Behaviour. Records move through their states on a schedule you control, and you can fast-forward up to 30 days.
  • Webhooks. Every change emits a signed, retried event.
  • Failure. Per-endpoint errors, latency and chaos rules, on demand.

Operations

First 12 of 26.

  • GET/geo/adminDivisions
  • GET/geo/adminDivisions/{divisionId}
  • GET/geo/adminDivisions/{divisionId}/nearbyCities
  • GET/geo/adminDivisions/{divisionId}/nearbyDivisions
  • GET/geo/cities
  • GET/geo/cities/{cityId}
  • GET/geo/cities/{cityId}/dateTime
  • GET/geo/cities/{cityId}/distance
  • GET/geo/cities/{cityId}/locatedIn
  • GET/geo/cities/{cityId}/nearbyCities
  • GET/geo/cities/{cityId}/time
  • GET/geo/countries