1.0.1 • Published 2 years ago

audible-api v1.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
2 years ago

audible-node

Audible Node Client

Audible Node Client is intended to simplify the Audible API consumption.

How to install it.

If you are using the API client in a browser or Web View. Only include it in the html document like this:

	<script src="audible-api.umd.js"></script>

For Node you can install it like this:

$ npm install audible-api

and then require it in your project.

var audible = require('audible-api')
let api = new audible();

How to use it:

The Audible API client only needs a valid Token and App ID when calling an action that needs authentication. In any other case a simple initialization is enough.

Node

import audible, {ENV,VERSION} from "audible-api";
let appID = require("AppClientID");
let token = require("UserToken");
let api_register = new audible(appID,token);

api_register.getLibraryBooks('06/18/2014')
.then(function(results,status){
	console.log(results.data.books.book);
})
.catch(function(error){
	console.log(error);
});

Browser

Add the audible api in your html.

	<script src="audible-api.umd.js"></script>
var audible = new audibleApi('myAppID''mytoken');

audible.getProductReviews("B002V1NHYC")
.then(function(results,status){
	console.log(results.data);
})
.catch(function(error) {
	console.log(error);
});
var api = new audibleApi('myAppID');

api.getProductReviews("B002V1NHYC")
.then(function(results,status){
	console.log(results.data);
})
.catch(function(error) {
	console.log(error);
});
1.0.1

2 years ago

1.0.0

2 years ago

1.0.0-beta.2

2 years ago

1.0.0-beta.0

2 years ago

1.0.0-beta.1

2 years ago

0.4.3

3 years ago

0.4.2

3 years ago

0.4.1

6 years ago

0.4.0

3 years ago

0.3.0

3 years ago

0.2.5

3 years ago

0.1.20

3 years ago

0.1.19

3 years ago

0.1.18

3 years ago

0.1.17

3 years ago

0.1.16

3 years ago

0.1.15

3 years ago

0.1.14

3 years ago

0.1.13

3 years ago

0.1.12

3 years ago

0.1.11

3 years ago

0.1.10

3 years ago

0.1.9

3 years ago

0.1.8

3 years ago

0.1.7

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.2.1

8 years ago

0.2.0

8 years ago

0.1.0

8 years ago