List hubs

List hubs

curl -X GET "https://onfleet.com/api/v2/hubs" \
       -u "cd3b3de84cc1ee040bf06512d233719c:"
onfleet.hubs.get()
onfleet.hubs.get();
$onfleet->hubs->get();
[
  {
    "id": "E4s6bwGpOZp6pSU3Hz*2ngFA",
    "name": "SF North",
    "location": [
      -122.44002499999999,
      37.801826
    ],
    "address": {
      "number": "3415",
      "street": "Pierce Street",
      "city": "San Francisco",
      "state": "California",
      "country": "United States",
      "postalCode": "94123",
      "apartment": ""
    },
    "teams": [
      "W*8bF5jY11Rk05E0bXBHiGg2"
    ]
  },
  {
    "id": "tKxSfU7psqDQEBVn5e2VQ~*O",
    "name": "SF South",
    "location": [
      -122.44337999999999,
      37.70883
    ],
    "address": {
      "number": "335",
      "street": "Hanover Street",
      "city": "San Francisco",
      "state": "California",
      "country": "United States",
      "postalCode": "94112",
      "apartment": ""
    },
    "teams": [
      "W*8bF5jY11Rk05E0bXBHiGg2"
    ]
  }
]