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

    11.2.0-prerelease.663 • Public • Published

    @monsenso/data-api

    JavaScript and TypeScript client for Monsenso's DataService.

    Using the client

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

    Generating the client

    cd client
    yarn
    yarn generate

    Keywords

    none

    Install

    npm i @monsenso/data-api

    DownloadsWeekly Downloads

    5

    Version

    11.2.0-prerelease.663

    License

    none

    Unpacked Size

    728 kB

    Total Files

    20

    Last publish

    Collaborators

    • monsensojenkins