Code Monkey home page Code Monkey logo

zoom_api_java's Introduction

zoom_api_java

Hello!

Bot for each milestone:

Milestone 2 ~ TestBot.java

Milestone 3 ~ TestBot2.java

Milestone 4 ~ TestBot3.java

[NOTE] This project was built using Gradle. Script found in root directory, build.gradle

[NOTE] Make sure that your IDE or console is operating on jdk 11 or higher.

[NOTE] Difficulty with ngrok uri? See workaround instructions at the bottom

Build Instructions

  1. On your command terminal move to the project directory /zoom_api_java

     Enter ./gradlew build
    

Test Bot Instructions

  1. Open ngrok tunnel on your console:

Assuming you are able to run ngrok in your terminal enter:

    ngrok start --none

This should open ngrok without any current tunnels.

2a. Preferably run the TestBot.java class in directory /zoom_api_java/src/main/java/bots

2b. If you have a second terminal (ngrok will be running on the first) with jdk 11 or higher you can move to the directory /zoom_api_java/src/main/java/bots

   Enter javac TestBot.java
   Enter java TestBot 

2c. I believe you can also run the bot from the root directory /zoom_api_java and perform these commands:

    ./gradlew build
    .gradlew run
  1. You may first be prompted to sign into Zoom. Then, TestBot will take you through a series of commands exercising zoom api calls.

Configuration Instructions

  1. Locate the bot.ini file in the src/main/java/bots directory.

  2. Under [Oauth]

     Replace YOUR_CLIENT_ID with your api key obtained from Zoom developers
     Replace YOUR_CLIENT_SECRET with your api secret obtained from Zoom developers
    

Additional Notes

I was able to get the bot to run and perform functions using a combination of ngrok tunneling on my command terminal and running TestBot.main() in my IDE. Please let me know if there is any issues. I would be happy to demo in person via Zoom.

Difficulties with ngrok redirect?

Workaround:

  1. Run TestBot
  2. A tab in browser should appear stating "Invalid redirect: " + a url (containing ngrok.io at the end)
  3. If this is the case, please add this url to your developer's whitelist on Zoom's site (developer.zoom.us)
  4. Once this is successfully added, a link will be provided by the bot denoted by "Authorization request URI: ..."
  5. When you click the link, a browser will pop up asking for authorization before running the bot.
  6. If everything is good, once authorized, the bot should start up using that authorization request uri and proceed as normal.
  7. Please reach out if this method is unsuccessful! I am able to get it to work, but understand certain unique situations can arise.

zoom_api_java's People

Contributors

marc-andrada avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.