/mapbox-sdk-rb

A Ruby interface to Mapbox APIs.

Primary LanguageRubyOtherNOASSERTION

Coverage Status

mapbox-sdk-ruby

The mapbox-sdk gem. A ruby interface to Mapbox APIs.

Installation

gem install mapbox-sdk

Services

  • Geocoding [docs]
    • Forward (place names ⇢ longitude, latitude)
    • Reverse (longitude, latitude ⇢ place names)
  • Directions: [docs]
    • Profiles for driving, driving-traffic, walking, and cycling
  • Tilequery: [docs]
  • Isochrone: [docs]
    • Profiles for driving, walking, and cycling
  • Matrix: [docs]
    • Profiles for driving, driving-traffic, walking, and cycling
  • Map Matching: [docs]
    • Profiles for driving, driving-traffic, walking, and cycling
  • Optimization: [docs]
    • Profiles for driving, driving-traffic, walking, and cycling

Testing

Run bundle exec ruby -Itest test/all_tests.rb or individual tests as needed.

Heavily influenced by Stripe's Ruby client, and includes its MIT license.