0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Zoom API の使い方

Last updated at Posted at 2021-03-10

次の仕様のAPI を使ってみます。
get/users

token は取得済みとします。

Curl の例

curl "https://api.zoom.us/v2/users?status=active&page_size=30&page_number=1" \
    -H "Authorization:Bearer eyJL********************CMuy1YR5MqGZCCFjpEjvLnG8ShCVv2uVo"

Httpie の例

http "https://api.zoom.us/v2/users?status=active&page_size=30&page_number=1" 
\
    "Authorization:Bearer eyJL********************CMuy1YR5MqGZCCFjpEjvLnG8ShC
Vv2uVo"

Python3 の例

get_users.py
# ! /usr/bin/python
# -*- coding: utf-8 -*-
#
#	get_users.py
#
#						Mar/10/2021
#
# ------------------------------------------------------------------
import  sys
import  json
import  requests
# ------------------------------------------------------------------
sys.stderr.write("*** 開始 ***\n")
#
url="https://api.zoom.us/v2/users?status=active&page_size=30&page_number=1"
args={}
#
headers = {
	'authorization': "Bearer eyJL********************CMuy1YR5MqGZCCFjpEjvLnG8ShCVv2uVo",
	'content-type': "application/json"
	}

rr=requests.get(url,headers=headers)
#
print(rr.text)
#
sys.stderr.write("*** 終了 ***\n")
# ------------------------------------------------------------------

関連ページ
PHP: Zoom の token を取得

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?