@monsenso/user-api

Model and API client.

Stats

StarsIssuesVersionUpdatedCreatedSize
@monsenso/user-api
4.2.23 years ago4 years agoMinified + gzip package size for @monsenso/user-api in KB

Readme

@monsenso/user-api

JavaScript and TypeScript client for Monsenso's UserService.

Using the client

  • Provide the base url of the UserService the client shall target, e.g.:
    import { BASE_URL } from '@monsenso/user-api'
    
    bootstrap(AppComponent,
        [
            { provide: BASE_URL, useValue: 'https://user.dev.monsenso.com' }
        ])
    
  • The UserApi class contains a function for each operation supported by the UserService.

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.