Newly Paranoid Maintainers

    @testmo/testmo-api

    1.1.0 • Public • Published

    Testmo REST API JavaScript binding

    This package provides bindings to access Testmo's REST API from JavaScript projects. The package is based on Testmo's REST API spec.

    Installation

    Simply install the package into your project with NPM:

    npm install @testmo/testmo-api
    

    Example

    var testmo = require('@testmo/testmo-api');
    
    // Configure API client
    const client = new testmo.ApiClient();
    client.basePath = process.env.TESTMO_HOST;
    client.authentications['bearerAuth'].accessToken = process.env.TESTMO_TOKEN;
    
    // Request current user
    const api = new testmo.UserApi(client);
    const user = await api.get();
    
    console.log(user);

    Documentation

    The API binding is based on Testmo's REST API. Please refer to the Testmo API reference documentation to learn more:

    https://docs.testmo.com/

    License

    Copyright (c) Testmo GmbH (Berlin, Germany)
    All rights reserved.
    contact@testmo.com
    www.testmo.com

    Keywords

    none

    Install

    npm i @testmo/testmo-api

    DownloadsWeekly Downloads

    2,494

    Version

    1.1.0

    License

    none

    Unpacked Size

    117 kB

    Total Files

    22

    Last publish

    Collaborators

    • testmoapp
    • dennisgrck