Idea Melt

Focus Mode

Library

Methods

Methods

Here are all the helper methods that come built into the library, they're all very handy!

listEndPoints() Lists all available API endpoints that you can hit
IdeaMelt.listEndPoints();
listEndPointParameters(ENDPOINT) Pass in the name of the endpoint as a string and it will log all the required and optional parameters for this endpoint
IdeaMelt.listEndPointParameters("UserCreate");
checkRequest(ENDPOINT, OPTIONS) Check your request to make sure it's valid and has all the required parameters for the specified endpoint. This is especially helpful when developing!
IdeaMelt.checkRequest("UserExists", {user_url: "http://www.en.wikipedia.org/henry_ford"});
send(ENDPOINT, OPTIONS, SUCCESS, FAIL) Learn more about sending requests
EventHooks Learn more about event hooks