@monsenso/data-api

JavaScript and TypeScript client for Monsenso's DataService.

Stats

StarsIssuesVersionUpdatedCreatedSize
@monsenso/data-api
11.2.0-prerelease.6632 years ago3 years agoMinified + gzip package size for @monsenso/data-api in KB

Readme

@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

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.