2.12.1 • Published 5 years ago

ngx-juggernaut v2.12.1

Weekly downloads
1
License
MIT
Repository
-
Last release
5 years ago

Table of contents

  1. Getting Started
  2. Installation Instructions
  3. Post Install Setup
  4. Example Requests

Getting Started

ngx-juggernaut is the core module to access the chemistry marketing API via an Angular 5 service.

Installation Instructions

Install ngx-juggernaut from npm

npm install ngx-juggernaut --save

Post Install Setup

Before you can use the API Service you import the Api Module which contains the API Service:

    imports: [
        ApiModule
    ]

To use the API Service you need to add it to your module in the providers array:

    providers: [
        ApiService
    ]

Example Requests

You can list the available modules by using the getRoutes method:

    constructor(private apiService: ApiService,) {
        this.apiService.getRoutes().subscribe((routes: Routes) => {
           console.log('routes', routes);
        }, (error) => {
            console.log(error);
        });
    }

You can get the available methods on a module with the following:

    constructor(private apiService: ApiService) {
        this.apiService.getModule('commerce').subscribe((response) => {
           console.log('response', response);
        }, (error) => {
            console.log(error);
        });
    }
2.12.1

5 years ago

2.12.0

6 years ago

2.11.3

6 years ago

2.11.2

6 years ago

2.11.1

6 years ago

2.11.0

6 years ago

2.10.1

6 years ago

2.10.0

6 years ago

2.9.0

6 years ago

2.8.0

6 years ago

2.7.0

6 years ago

2.6.2

6 years ago

2.6.1

6 years ago

2.6.0

6 years ago

2.5.1

6 years ago

2.5.0

6 years ago

2.4.0

6 years ago

2.3.0

6 years ago

2.2.2

6 years ago

2.2.1

6 years ago

2.2.0

6 years ago

2.1.2

6 years ago

2.1.1

6 years ago

2.1.0

6 years ago

2.0.6

6 years ago

2.0.5

6 years ago

2.0.4

6 years ago

2.0.3

6 years ago

2.0.2

6 years ago

2.0.1

6 years ago

2.0.0

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

0.0.12

6 years ago

0.0.11

6 years ago

0.0.10

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago

0.0.0

6 years ago