Skip to content
This repository has been archived by the owner on Nov 24, 2017. It is now read-only.

hackclub/maestro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maestro

DEPRECATED

This repository has been deprecated and is no longer maintained

Authors: @TheThirdOne, @zachlatta



Objective

The objective of Maestro is to allow a beginner to use services like Twilio through client-side javscript so they don't have to worry about the exposed API . This will help beginners build more/better applications which will help encourage them to continue learning.

Usage

The JS file containing the library is found at /static/baton.js

Once that file is executed, the global variable maestro which contains all of the module libraries will be ready. Any messages from the server that are not caught with callbacks will automatically be logged in the console.

Open up the javascript console and try it out!

Examples

maestro.Twilio.recieveSms("*", function(e){ //recieve any incoming sms
  maestro.Twilio.makeCall(e.From, e.To, maestro.Twilio.twiml().play(e.Body)); //call back  playing any sound file in the message
  console.log("Calling", e.From, "from", e.To, "playing", e.Body)
});

More examples can be found in the docs.

Modules

  • Twilio:
  • Giphy:
    • Image search
  • Echo:
    • A simple module to help serve as template for module developers
  • Neutrino api:
    • Currently unfinished
    • The most useful commands would be Geocode Address and Geocode Reverse

License

See COPYING.

About

DEPRECATED: conductor of the things

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published