Code Monkey home page Code Monkey logo

megam_api's Introduction

Megam Ruby Client

Gem Version

Megam Ruby Client is used to interact with the Megam API Server.

For more about the Megam' REST API http://gomegam.com/docs.Megam API server

Build Status

We are on beta register at:

Usage

Start by creating a connection to Megam with your credentials:

require 'megam_api'

megam = Megam::API.new(:headers => {:api_key => API_KEY, :email => EMAIL})

Now you can make requests to the api.

Requests

What follows is an overview of commands you can run for the client.

For additional details about any of the commands, see the API docs.

Nodes

megam.get_nodes                              # get a list of your nodes
megam.get_node(POGO)                         # get info about the node named POGO
megam.create_node('name' => POGO, 
'type' => 'rails')  			 # create an nodep with a generated name and the default type
megam.delete_node(POGO)                      # delete the node named POGO

Predefs

megam.get_predefs                             # list all predefs 
megam.get_predef('type' => rails)             # list a specific predef named 'rails'

Accounts

megam.get_accounts(email)                     # list accounts associated with email
megam.post_accounts(email, api_key)           # onboard an account

We are glad to help if you have questions, or request for new features.

twitter email

TO - DO

License

Author: Kishorekumar Neelamegam ([email protected])
Subash Sethurajan ([email protected])
Thomas Alrin ([email protected])
Copyright: Copyright (c) 2012-2013 Megam Systems.
License: Apache License, Version 2.0

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

megam_api's People

Contributors

morpheyesh avatar subashsethurajan avatar

Watchers

James Cloos avatar Raj avatar  avatar

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.