Use the Maluuba nAPI from your Ruby or Rails app by including a simple Gem.
gem install maluuba_napi
>> require 'rubygems'
>> require 'maluuba_napi'
>> c = MaluubaNapi::Client.new 'apikey'
>> c.interpret phrase: 'Set up a meeting with Bob tomorrow night at 7 PM to discuss the TPS reports'
>> c.normalize
phrase: 'tomorrow',
type: 'daterange',
timezone: 'EST'
Call the Maluuba nAPI from Python using a simple package, available now on PyPI.
pip install maluuba_napi
>>> from maluuba_napi import client
>>> c = client.NAPIClient('apikey')
>>> c.interpret('Set up a meeting with Bob tomorrow night at 7 PM to discuss the TPS reports')
>>> c.normalize(
'tomorrow',
type=NAPINormalizeType.DATERANGE,
timezone='EST')
Make use of the Maluuba nAPI from your Java programs using this simple-to-build Maven artifact.
git clone git@github.com:Maluuba/napi-java.git && cd napi-java && mvn install
client = new MaluubaNAPIClient("api");
client.interpret(new InterpretRequest(
"Set up a meeting with Bob tomorrow night at 7 PM to discuss the TPS reports")
client.normalize(new NormalizeRequest(
"tomorrow",
NormalizeEntityType.DATE_RANGE,
TimeZone.getTimeZone("EST"));