Skip to content
This repository has been archived by the owner on Oct 6, 2021. It is now read-only.
/ mapbox-sdk-rb Public archive
forked from mapbox/mapbox-sdk-rb

A Ruby interface to Mapbox APIs.

License

Notifications You must be signed in to change notification settings

mapdwell/mapbox-sdk-rb

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

You'll need to create an access token in order to run tests.

Then you can run the entire test suite with the following command:

MapboxAccessToken=<YOUR_ACCESS_TOKEN> bundle exec ruby -Itest test/all_tests.rb

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

About

A Ruby interface to Mapbox APIs.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%