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 🙏

© 2024 – Pkg Stats / Ryan Hefner

@zoom/cli

v0.0.1

Published

Zoom Developer CLI Tool

Downloads

4

Readme

zoom-cli

This is a beta for a cli that allows users to make calls to the Zoom API

:hammer: Development

Get started

Run npm install in the root dir to install all the dependencies

Linking Commands

You can run zoom config instead of ./bin/run config by running npm link

:file_folder: Tests

Tests are written using Mocha. You can run test by running npm test or npm t in the root dir. \

Note: Running the tests will override your credentials. Please back up your credentials file somewhere if you do not want to go through the configuration process again

This repo uses Gitlab's CI/CD and a specific Gitlab runner. If we want to move this repo out of Gitlab, we could use CircleCI (it is free for open source projects).
Oclif has some examples of using CircleCI:

:rocket: Commands

The first thing you'll need to do is create a Server-To-Server application in order to get the credentials needed to log into the CLI.

Onces you've created the app and take note of your Account ID, Client ID, and Client Secret, you can start using the CLI is and add your credentials by running zoom config.
After setting up your account, you can commands by using zoom <COMMAND>.
If you ever run a command without being logged in, you should recieve [Error]: Please log in first.
You can add --help to any command to see more details

Config

zoom config
Please input your account_id
Please input your client_id: ***********
Please input your client_secret: ***********
Validating credentials... done
Success! Welcome

Logout

$ ./bin/run logout
Are you sure you want to logout? (Y/n): Y
You have successfully logged out

Auth

The auth topic handles granting you a new access token. See a list of all commands here

USAGE
  $ zoom auth:COMMAND

COMMANDS
  auth:refresh  Refresh your access token

Meetings

The snippet below provides an overview of all sub commands under the meetings topic. See a list of all commands here

USAGE
  $ zoom meetings:COMMAND

COMMANDS
  meetings:create            Create a meeting
  meetings:delete            Delete a Meeting
  meetings:get               Get information about a meeting
  meetings:get-details       Get details about a past meeting
  meetings:join              Join a meeting
  meetings:list              List all meetings for a user
  meetings:list-registrants  List all meetings registrants
  meetings:start             Start a meeting
  meetings:update            Update a Meeting
  meetings:update-status     Update a Meeting Statusut a meeting

Reports

The snippet below provides an overview of all sub commands under the reports topic. See a list of all commands here

$ zoom reports --help
USAGE
  $ zoom reports:COMMAND

COMMANDS
  reports:activity              Retrieve activity logs of users under a Zoom account
  reports:daily                 Access the account-wide usage of Zoom services for each day in a given month
  reports:host                  Retrieve an active or inactive host report for a specified period
  reports:meeting               Retrieve reports on past meetings and webinars for a specified time period
  reports:meeting-detail        Get a detailed report for a past meeting
  reports:meeting-participants  Get participant report for a past meeting
  reports:meeting-poll          Retrieve a report of poll results for a past meeting
  reports:operation-logs        Retrieve operation logs report for a specified period of time.
  reports:recording             Retrieve cloud recording usage report for a specified period
  reports:telephone             Get telephone report for a specified period of time
  reports:webinar               Retrieve a report containing past webinar details
  reports:webinar-participants  Get participant report for a past webinar
  reports:webinar-poll          Retrieve a report of poll results for a past webinar
  reports:webinar-qa            Retrieves a report on question and answers from a past webinar

:ribbon: Linter & Prettier

ESLint was used to lint the code.
Everytime something is pushed to this repo, Gitlab's CI/CD automatically lints the code.
To lint locally, run yarn lint --fix

Prettier was used for code formatting.
You can install prettier with npm install --save-dev --save-exact prettier and then run the following:

npx prettier --write src/*
npx prettier --write server/*
npx prettier --write test/*

:closed_book: References

This cli was made with oclif.