Giter VIP home page Giter VIP logo

mapbox-assistant-example's Introduction

Mapbox Alexa skill

A skill for Amazon Echo to interact with Mapbox services.

image

Examples

Set your home address:

  • You: Alexa, tell Mapbox that my address is <address>.
  • Alexa: Thank you, home address set.

Set your office address:

  • You: Alexa, tell Mapbox that my office address is <address>.
  • Alexa: Thank you, office address set.

Get traffic information:

  • You: Alexa, ask Mapbox how long is my commute.
  • Alexa: Your commute is 3 kilometers long, a 9 minutes drive with current traffic.

Use the Directions API:

  • You: Alexa, ask Mapbox how far is <address>.
  • Alexa: That address is a 4 kilometers drive, 10 minutes with current traffic.

Use the Geocoding API:

  • You: Alexa, ask Mapbox what's popular nearby.
  • Alexa: Have you tried Dupont Circle Fountain, Washington, District of Columbia 20036, United States?

Read the latest post on the blog:

  • You: Alexa, ask Mapbox what's new.
  • Alexa: Over the last week we've published 9 stories, our latest is that David Rhodes published today Bringing real-world places into your game.

Dependencies

  • Mapbox Android Services.
  • The skill runs on AWS Lambda, session state (user home/work addresses) is stored on AWS S3.

Deploy to AWS Lambda

  • Build the .zip deployment package: make build.
  • Output is in skill/build/distributions/alexa-skill-0.1.zip.
  • Upload to AWS Lambda.

Mapbox Conversation Action for the Google Assistant

A Conversation Action for Google Assistant users using API.AI to interact with Mapbox services.

Google Home

Examples

Get a route:

  • You: Hey Google! Mapbox.
  • Google Home: Hi! I'm your Mapbox assistant. What can I do for you today?
  • You: I'd like to go from Valencia to Barcelona.
  • Google Home: The route from Valencia to Barcelona is 350756.4 meters long and it will take you around 197.88 minutes.

Dependencies

Build your own Conversation Action

  • API.AI
  1. Create Your Conversational AI Assistant

  2. Create A User Intent

  • Amazon AWS
  1. Create an Amazon IAM User

  2. Create A Lambda Function

  3. Code Your Lambda Function (e.g. mapboxAssistant.js)

  4. Create an Endpoint in API Gateway

  • API.AI
  1. Use Your New API for Intent Fulfillment

  2. Test On The Google Home

mapbox-assistant-example's People

Contributors

guardiola31337 avatar ivovandongen avatar zugaldia avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mapbox-assistant-example's Issues

Add maps to Echo Show skill

With 0b348d5 we added support for images in cards, which allows maps to be shown on Echo Show:

img_20170703_213929

img_20170703_230145

However, it looks like the standard card template doesn't let you to have the images to be full screen, or control the final size of the image. We need to research if there're other ways for maps to take a larger screen real state.

cc: @pveugen

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.