{{:: 'controllers.documentation.chooseFramework' | translate }}
npm install --save niksms.library.javascript
import { ApiV2 } from 'niksms'; export default class NikSmsApiV2Client{ private service: ApiV2 constructor(username: string, password: string){ this.service = new ApiV2(username, password); } public async ServerDateTime(): Promise<Date> { return await this.service.ServerDateTime(); } }