{"id":19450159,"url":"https://github.com/webexsamples/simple_service_app","last_synced_at":"2025-02-25T09:20:13.191Z","repository":{"id":212726365,"uuid":"732174281","full_name":"WebexSamples/simple_service_app","owner":"WebexSamples","description":"Webex Service App","archived":false,"fork":false,"pushed_at":"2024-05-09T18:18:31.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-07T23:41:10.515Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WebexSamples.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-15T20:47:20.000Z","updated_at":"2024-05-08T15:17:10.000Z","dependencies_parsed_at":"2024-05-07T19:44:10.240Z","dependency_job_id":"f2610ac7-09a6-4d2b-a334-29880da06182","html_url":"https://github.com/WebexSamples/simple_service_app","commit_stats":null,"previous_names":["webexsamples/simple_service_app"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebexSamples%2Fsimple_service_app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebexSamples%2Fsimple_service_app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebexSamples%2Fsimple_service_app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebexSamples%2Fsimple_service_app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WebexSamples","download_url":"https://codeload.github.com/WebexSamples/simple_service_app/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240637231,"owners_count":19833026,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T16:35:33.517Z","updated_at":"2025-02-25T09:20:13.137Z","avatar_url":"https://github.com/WebexSamples.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# webex_service_app\nWebex Service App\n\nThis Python script allows you to create a meeting on behalf of a subuser in a Webex organization using [service app](https://developer.webex.com/docs/service-apps) credentials.\n\n## Prerequisites\n\n- Python 3.x\n- An active Webex account [developer account](https://developer.webex.com/)\n- A regisetered service app\n\n## Dependencies\n\nThis script depends on the following Python modules:\n\n- requests\n- json\n- os\n- datetime\n- webbrowser\n\nYou can install these dependencies using pip:\n\n```bash\npip install requests\n```\n\nNote: The other dependencies are part of the Python Standard Library and do not need to be installed separately.\n\n## Setup\n\n1. Replace `YOUR CLIENT ID HERE`, `YOUR CLIENT SECRET HERE`, `ACCESS TOKEN POST ADMIN AUTHORIZATION`, `REFRESH TOKEN POST ADMIN AUTHORIZATION` with your own values. These values are produced by registering a service app on Webex Developer Portal @ developer.webex.com.\n\n2. Replace `'A sub users email'` with the email of the subuser for whom you want to create the meeting.\n\n## Running the Script\n\nYou can run the script using Python:\n\n```bash\npython serviceapp.py\n```\n\nThis will create a meeting 24 hours from the current time, lasting for one hour. If the access token is invalid and returns a 401 error, the script will automatically refresh the tokens and retry creating the meeting.\n\nRemember to store your tokens securely in a production environment.\n\n## License\n\nThis project is licensed under the terms of the MIT license.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebexsamples%2Fsimple_service_app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebexsamples%2Fsimple_service_app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebexsamples%2Fsimple_service_app/lists"}