npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@zezosoft/zezo-ott-api-client

v0.2.8

Published

The official TypeScript SDK for Zezo OTT API. Easily integrate Zezo OTT into your applications with a powerful, developer-friendly package for video streaming, authentication, payments, and more.

Downloads

193

Readme

@zezosoft/zezo-ott-api-client 🎬

installing

npm install --save @zezosoft/zezo-ott-api-client@latest

Using

Typescript

import { ZezoOTT } from "@zezosoft/zezo-ott-api-client";
const zott = new ZezoOTT({ baseUrl: "your-base-url" });

const main = async () => {
  const data = await zott.settings.getSettings();
  console.log(data);
};

main();

Javascript/Nodejs

const { ZezoOTT } = require("@zezosoft/zezo-ott-api-client");
const zott = new ZezoOTT({ baseUrl: "your-base-url" });

const main = async () => {
  const data = await zott.settings.getSettings();
  console.log(data);
};

main();

Docs

  1. Analytics

    1. countView
    2. countWatchTime
    3. readContentAnalytics
    4. readUsersAnalytics
    5. readContentReportAnalytics
    6. readRevenueAnalytics
    7. getTvodAnalytics
    8. trending
    9. heartbeat
  2. Auth

    1. sendOTP
    2. login
    3. verifyOTP
    4. signUp
    5. forgotPassword
    6. resetPassword
    7. whoami
    8. logout
    9. removeSession
    10. changePassword
    11. refreshToken
  3. AuthMethods

    1. loginMethods
    2. get
    3. init
    4. update
  4. Blogs

    1. create
    2. update
    3. action
    4. delete
    5. getList
    6. getManage
    7. get
  5. Categories

    1. create
    2. update
    3. delete
    4. actions
    5. getManage
    6. list
    7. get
  6. Contents

    1. getList
    2. create
    3. getManage
    4. actions
    5. update
    6. removeTitleImage
    7. getSeasonManage
    8. createSeason
    9. deleteSeason
    10. updateSeason
    11. createEpisode
    12. deleteEpisode
    13. updateEpisode
    14. manageSubtitles
    15. uploadImages
    16. deleteImage
    17. get
    18. getSeasons
    19. getIsContentBuyedOrRented
    20. getTvod
    21. updateGeoLocation
    22. fetchSearchResults
    23. createImageSize
    24. listImageSizes
    25. deleteImageSize
    26. syncTvodContent
  7. Content Schedule

    1. schedule
    2. cancelSchedule
  8. Content Source

    1. updateContentSource
  9. Favorite

    1. addToFavorites
    2. getIsFavorite
    3. removeFromFavorites
    4. get
  10. Like / Dislike

    1. like
    2. dislike
    3. unlike
    4. undislike
    5. getInfo (preferred)
    6. getStatus (deprecated)
  11. Payments

    1. list
    2. checkout
    3. checkoutV2
    4. ready
  12. Settings

    1. getManage
    2. get
    3. update
    4. updateSocialMedia
    5. getSettings
  13. Subscriptions

    1. create
    2. initNew
    3. delete
    4. deleteV2
    5. update
    6. updateV2
    7. get
    8. getV2
    9. getManage
    10. getManageV2
  14. Sections

    1. createWorkflow
    2. create
    3. getManage
    4. deleteSection
    5. updateStatus
    6. updateOrder
    7. update
    8. createSectionStyle
    9. updateSectionStyle
    10. deleteSectionStyle
    11. getSectionStyles
    12. get
  15. Recommendations

    1. getRecommendations
  16. Countries

    1. init
    2. create
    3. delete
    4. get
    5. getManage
  17. Users

    1. export
    2. get
    3. actions
    4. deleteUsers
    5. create
    6. updateAvatar
    7. update
    8. updateBySelf
    9. removeSession
    10. updateACL
    11. updateSubscription
  18. Config

    1. create
    2. get
    3. update
    4. delete
  19. Upgrade

    1. autoSetupAcl
  20. Release Popup

    1. create
    2. update
    3. delete
    4. get
  21. Api Key

    1. create
    2. list
    3. delete
    4. update
  22. File Manager

    1. list
    2. createFolder
    3. delete
    4. initMultipartUpload
    5. getMultipartPresignedUrl
    6. finalizeMultipartUpload
    7. createUploadPresignedUrl
    8. getSignedUrl
    9. getTranscoderSignUrl
  23. User History

    1. updateV1
    2. getList
    3. delete
    4. getListManage
    5. get
    6. update
  24. Reels

    1. create
    2. update
    3. actions
    4. delete
    5. list
    6. feed
  25. Upload

    1. init
    2. getUrls
    3. finalize
    4. uploadFile
  26. Genres

    1. create
    2. update
    3. delete
    4. actions
    5. listManage
    6. list
  27. Language

    1. create
    2. update
    3. delete
    4. actions
    5. listManage
    6. list
  28. Cast

    1. create
    2. update
    3. delete
    4. actions
    5. listManage
    6. list
  29. Transcoding

    1. create
    2. createV1
    3. list
    4. listV1
    5. delete
  30. Notification

    1. registerDevice
    2. sendPushNotification
  31. App Settings

    1. update
    2. getAndroidVersion
    3. getPagesList
    4. updatePages
    5. getSettings
    6. updateTheme
    7. initTheme
    8. getThemeManage
    9. getThemes
  32. Coupon

    1. createV2
    2. updateV2
    3. deleteV2
    4. getManageV2
    5. ~~create~~ (deprecated)
    6. ~~update~~ (deprecated)
    7. ~~delete~~ (deprecated)
    8. ~~action~~ (deprecated)
    9. ~~getManage~~ (deprecated)
  33. Ads

    1. createCampaign
    2. updateCampaign
    3. deleteCampaign
    4. actionsOnCampaign
    5. getListCampaigns
    6. getAds
    7. getAdsV2
    8. trackAd
    9. generateAd
  34. Partner

    1. getRevenueSettings
    2. updateRevenueSettings
    3. addAccountDetails
    4. updateAccountDetails
    5. getAccountDetails
    6. createRevenueRequest
    7. updateRevenueRequest
    8. getRevenueRequests
  35. TVOD Content

    1. syncTvodContent
    2. getTvodStatus
    3. getTvodPurchaseHistory
  36. Streaming

    1. stream

Custom / Raw Requests

Every service inherits a public request<T>(config) method from BaseService. It uses the same Axios client (same baseURL, headers, withCredentials, and interceptors) so you don't need to set those up again. Use it when the SDK doesn't have a dedicated method for an endpoint yet.

const response = await zott.settings.request({
  method: "GET",
  url: "/api/v1/some-new-endpoint",
  params: { page: 1, limit: 10 },
});
console.log(response.data);
const response = await zott.users.request({
  method: "POST",
  url: "/api/v1/some-new-endpoint",
  data: { name: "example" },
});
console.log(response.data);

Any service instance works — zott.users.request(...), zott.settings.request(...), zott.auth.request(...), etc. The underlying Axios client is identical across all services.

TypeScript

You can pass a generic type parameter to get typed response.data:

interface MyResponse {
  id: string;
  status: string;
}

const response = await zott.settings.request<MyResponse>({
  method: "GET",
  url: "/api/v1/custom-endpoint",
});
console.log(response.data.id); // typed as string

Contributors

License: mit