Comparing version 0.1.0 to 0.1.1
{ | ||
"name": "bitcodin", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Bitcodin API wrapper", | ||
"homepage": "https://github.com/bitmovin/bitcodin-node", | ||
"main": "lib/bitcodin.js", | ||
@@ -18,3 +19,7 @@ "scripts": { | ||
], | ||
"author": "Bitmovin <bitcodin-node@bitmovin.net> (http://bitmovin.net/)", | ||
"author": { | ||
"name": "Martin Fillafer", | ||
"email": "martin.fillafer@bitmovin.net", | ||
"url": "http://bitmovin.net/" | ||
}, | ||
"bugs": { | ||
@@ -31,3 +36,9 @@ "url": "https://github.com/bitmovin/bitcodin-node/issues" | ||
"mocha": "^2.2.5" | ||
} | ||
}, | ||
"maintainers": [ | ||
{ | ||
"name": "Martin Fillafer", | ||
"email": "martin.fillafer@bitmovin.net" | ||
} | ||
] | ||
} |
@@ -8,3 +8,3 @@ # [![bitcodin](http://www.bitcodin.com/wp-content/uploads/2014/10/bitcodin-small.gif)](http://www.bitcodin.com) | ||
# Getting started | ||
First add the library (jar) to your project. The main interaction with bitcodin will be handled through the BitcodinApi class. Therefore instantiate an object with your API key, which can be found in the settings of your bitcodin user account, as shown in the figure below. | ||
First add the npm module to your project `npm install bitcodin --save`. All calls return a promise for success or error case. | ||
@@ -15,10 +15,11 @@ ![APIKey](http://www.bitcodin.com/wp-content/uploads/2015/06/api_key.png) | ||
```java | ||
import com.bitmovin.bitcodin.api.BitcodinApi; | ||
```nodejs | ||
var bitcodin = require('bitcodin')('THIS_IS_MY_API_KEY'); | ||
public class BitcodinApiTest { | ||
public static void main(String[] args) { | ||
BitcodinApi bitApi = new BitcodinApi("THISISMYAPIKEY"); | ||
} | ||
} | ||
bitcodin.input.list() | ||
.then(function(inputs) { | ||
console.log('inputs', inputs); | ||
}, function(err) { | ||
console.error(err); | ||
}); | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19287
24