API勉強中
投稿
コメント
下記APIページを参照しながら、LINEWORKSに登録している組織リストを取得しようとしています。 組織リストの取得 - Orgunit - LINE WORKS Developers Document (worksmobile.com) ソースは下記のように記載しております。 一部抜粋 ---------------------------------------- #組織情報の取得 def get_orgunits(access_token, domain_id): url = "{}/orgunits?domainId={}".format(BASE_API_URL,domain_id) headers = { 'Content-Type' : 'application/json', 'Authorization' : "Bearer {}".format(access_token) } params = { } form_data = params r = requests.get(url
API 全般 2022.09.13 既読 880