Offline
Region packages for search and directions without a connection
Places package
Named places, streets and transit stops inside the box, for searching and opening place pages offline.
Query Parameters
bboxRequiredstringwest,south,east,north in WGS 84
Pattern:
"^-?\\d+(\\.\\d+)?(,-?\\d+(\\.\\d+)?){3}$"daysstring | numberResponse Body
curl -X GET "https://example.com/offline/places?bbox=string&days=0"fetch("https://example.com/offline/places?bbox=string&days=0")package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://example.com/offline/places?bbox=string&days=0"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := ioutil.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}import requests
url = "https://example.com/offline/places?bbox=string&days=0"
response = requests.request("GET", url)
print(response.text)Empty
Timetable package
Scheduled transit inside the box: stops, routes, trips and walking transfers for the next days days (14 by default).
Query Parameters
bboxRequiredstringwest,south,east,north in WGS 84
Pattern:
"^-?\\d+(\\.\\d+)?(,-?\\d+(\\.\\d+)?){3}$"daysstring | numberResponse Body
curl -X GET "https://example.com/offline/timetable?bbox=string&days=0"fetch("https://example.com/offline/timetable?bbox=string&days=0")package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://example.com/offline/timetable?bbox=string&days=0"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := ioutil.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}import requests
url = "https://example.com/offline/timetable?bbox=string&days=0"
response = requests.request("GET", url)
print(response.text)Empty
Street graph package
A walking and cycling street graph covering the box.
Query Parameters
bboxRequiredstringwest,south,east,north in WGS 84
Pattern:
"^-?\\d+(\\.\\d+)?(,-?\\d+(\\.\\d+)?){3}$"daysstring | numberResponse Body
curl -X GET "https://example.com/offline/streets?bbox=string&days=0"fetch("https://example.com/offline/streets?bbox=string&days=0")package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://example.com/offline/streets?bbox=string&days=0"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := ioutil.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}import requests
url = "https://example.com/offline/streets?bbox=string&days=0"
response = requests.request("GET", url)
print(response.text)Empty