Coder Social home page Coder Social logo

iitbbsguide's Introduction

Usage

Invoke action by speaking Talk to IIT Bhubaneswar Guide to Google Assistant.

Supported Actions(tentative)

  • Inside Campus Map (ex: Show me direction to SES)

Screenshot_20190911-152633

  • Timetable
  • Bus schedule
  • BOV schedule
  • Upcoming institute holidays (Ex-Show me upcoming holidays)

Screenshot_20190912-163047

  • Mid/End Semester Exam schedule
  • Upcoming institute events
  • Important Contacts
  • Much more to come

Contributing

  • Download the existing code to your local system
git clone https://github.com/dsciitbbs/iitbbsguide
  • Go to the Activity Controls page. Sign in with your Google account, if you have not already done so. Ensure that the following permissions are enabled: Web & App Activity, Device Information and Voice & Audio Activity

  • Open the Actions Console > Click New project > Type in a Project name, i.e. "IIT Bhubaneswar Guide".

  • Click Create Project.

  • Click Build your Action to expand the options and select Add Action(s).

  • Click Add your first Action.

  • On the Custom intent dialog, click Build to launch the Dialogflow console and click create.

  • Click the gear icon on the left navigation and click Export and Import.

  • Click Restore From Zip and Upload the downloaded ZIP file. Type "RESTORE" and click the Restore button and click Done.

  • Make the necessary changes and download the ZIP again with the changes and make the Pull Request on this repository.

Note: index.js is provided as a gist here so that you can add it to the fulfillment section (which you'll need for webhook calls and custom payloads, such as opening Google Maps) easily. Just copy and paste ๐Ÿ˜

Maintainers

LICENSE

TBD

iitbbsguide's People

Contributors

apsknight avatar paladitya avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

iitbbsguide's Issues

Support Emergency Calling feature

Support request like Call Ambulance to contact Institute Ambulance Service and other similar requests which may be required during emergency.

Add dynamic Map route

For now, when the map preview shows up, it only shows the marker to destination. We need it to show the complete route from our location to destination.

Idea: Use directions API (https://maps.googleapis.com/maps/api/directions/json?origin={Start}&destination={End}&mode=driving&key=YOUR_API_KEY) to get the driving route (in result.overview_polyline.points ), which is encoded. The function to decode it is already in index.js, and you need to send a request to maps static API (http://maps.googleapis.com/maps/api/staticmap?sensor=false&zoom=16&size=400x400&path=The_decoded_path_from_above}&key=YOUR_API_KEY) to show the image on the Basic Card already there in dialogflow

Requirements: Synchronous operation is not allowed. Use Promises and asynchronous operation to chain the API calls and then return the results.

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.