Skip to content

kaltura/KalturaOttGeneratedAPIClientsTypescript

Repository files navigation

Kaltura OTT Typescript Client

Compatible with Kaltura OTT server version 9.6.0.0 and above.

Conventional Commits Gitter chat Build Status

An easy-to-use facade to Kaltura OTT server with typescript support for action requests, classes and enums.

NPM

Instructions

Getting Started

To keep being update review the changelog frequently.

You can install this client library using npm with:

npm install kaltura-ott-typescript-client@9.6.0-0

Found a bug? create kaltura/clients-generator issue

Features list

View list of features here.

Building the sources

This library is auto-generated using kaltura/clients-generator php engine. Feel free to clone, build and play with this library but in order to submit PR you should work against the kaltura/clients-generator repo.

Adding this library as a dependency to your project

Since this library was designed to be consumed directly and not using npmjs repository, you will need to do the following steps to add it to your project:

  1. run the following to transpile the library:
$ npm install
$ npm run deploy
  1. open folder dist and find a tar.gz file starting with kaltura-ngx-client-v.
  2. copy this file to your project (we recommend coping it to folder libs)
  3. run the following command
npm install file:the_path_to_the_file_including_its_name.tgz

make sure you prefix the path with file: as shown above.

An example of a vaild command will be: npm install file:libs/kaltura-ngx-client-v7.1.0-20173010-1053.tgz

  1. if you already have older version, delete that file. You should do this only after you installed the new version.

Running integration tests

  • In src/api/tests folder you should duplicate file tests-config.template.ts and name it tests-config.ts.
  • Modify the file content to include valid information.
  • Run npm run test to test the library

If you want to test the library against the production server use the following as the endpoint in the config file: http://www.kaltura.com/api_v3/index.php/

License and Copyright Information

All code in this project is released under the AGPLv3 license unless a different license for a particular library is specified in the applicable library path.

Copyright © Kaltura Inc. All rights reserved.

About

No description, website, or topics provided.

Resources

License

AGPL-3.0, AGPL-3.0 licenses found

Licenses found

AGPL-3.0
LICENSE
AGPL-3.0
LICENSE.txt

Stars

Watchers

Forks

Packages

No packages published