Negligible Participation Metric

    @monsenso/rest-api
    TypeScript icon, indicating that this package has built-in type declarations

    11.2.0-prerelease.663 • Public • Published

    @monsenso/rest-api

    JavaScript and TypeScript client for Monsenso's RestService.

    Using the client

    • Provide the base url of the RestService the client shall target, e.g.:
      import { RestModuleApi, BASE_URL } from '@monsenso/rest-api'
       
      @NgModule({
          imports: [
            RestApiModule
          ],
          providers: [
              { provide: BASE_URL, useValue: 'https://rest.dev.monsenso.com' }
          ]
      })
      export class MyModule { ... }
    • The RestApi class contains a function for each operation supported by the RestService.

    Generating the client

    cd client
    yarn
    yarn generate

    Keywords

    none

    Install

    npm i @monsenso/rest-api

    DownloadsWeekly Downloads

    2

    Version

    11.2.0-prerelease.663

    License

    none

    Unpacked Size

    8.6 MB

    Total Files

    20

    Last publish

    Collaborators

    • monsensojenkins