Permalink
Browse files

[dist] v0.0.0

  • Loading branch information...
0 parents commit de42c5f33c241a897a8e86c27eaa2401ff3e5dd6 @bmeck committed Nov 20, 2011
Showing with 456 additions and 0 deletions.
  1. +3 −0 .gitignore
  2. +1 −0 .npmignore
  3. +26 −0 example/simple.js
  4. +417 −0 lib/nexmo.js
  5. +9 −0 package.json
@@ -0,0 +1,3 @@
+node_modules
+.DS_Store
+.log
@@ -0,0 +1 @@
+node_modules
@@ -0,0 +1,26 @@
+var nexmo = require('../');
+
+var client = nexmo.createClient({
+ key: '---',
+ secret: '---'
+});
+
+//client.getBalance(function printBalance(error, value) {
+// console.log('balance', value);
+//});
+
+//client.getPricing('US', function printPricing(error, value) {
+// console.log('pricing', value);
+//});
+
+//client.updateSettings('---', function printSettings(error, value) {
+// console.log(value);
+//});
+
+client.send({
+ from: 'nodenexmo',
+ to: '15555555555',
+ text: 'test!'
+}, function printSend(error, value) {
+ console.error(value.messages);
+})
Oops, something went wrong.

0 comments on commit de42c5f

Please sign in to comment.