Whereby API Client for Python
This is a tiny wrapper around Whereby's HTTP API.
Installation
$ pip install whereby_api
API reference
class whereby_api.WherebyClient(api_key)
Parameters
api_key– the API key you received from Whereby (string)
Usage
from whereby_api import WherebyClient
whereby = WherebyClient(api_key='<your api key>')
Methods
-
create_meeting(start_date, end_date, is_locked=False, room_name_prefix=None, room_mode='normal', fields=[])Create a new meeting
Parameters
start_date– When the meeting starts (required, either adatetimeobject or an ISO 8601 string)end_date– When the meeting ends (required, either adatetimeobject or an ISO 8601 string)is_locked– The initial lock state of the room (boolean)room_name_prefix– The prefix for the room name. (string)room_mode– The mode of the created room. (string –normalorgroup)fields– Additional fields that should be populated. (list of strings, currently the only option is'hostRoomUrl')
Please refer to the official documentation for details.
Return type
whereby_api.MeetinginstanceUsage
from datetime import datetime, timedelta meeting = whereby.create_meeting( start_date=datetime.now(), end_date=datetime.now() + timedelta(days=2), fields=['hostRoomUrl'], )
-
delete_meeting(meeting_id)Delete an existing meeting
Parameters
meeting_id– the ID of the meeting (required, string)
Please refer to the official documentation for details.
Usage
whereby.delete_meeting(meeting_id='123456')
-
get_meeting(meeting_id)Get details about an existing meeting
Parameters
meeting_id– the ID of the meeting (required, string)
Please refer to the official documentation for details.
Return type
whereby_api.MeetinginstanceUsage
meeting = whereby.get_meeting(meeting_id='123456')
class whereby_api.Meeting(meeting_id, room_url, start_date, end_date, host_room_url)
Represents a meeting
Properties
meeting_id– The ID of the meeting. (string)room_url– The URL to room where the meeting will be hosted. (string)start_date– When the meeting starts. (datetime)end_date– When the meeting ends. (datetime)host_room_url– The URL to room where the meeting will be hosted which will also make the user the host of the meeting. (string)
Please refer to the official documentation for details.
Metadata
Release files for whereby-api 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| whereby-api-0.1.3.tar.gz | 4.2 kB | Without provenance | Details for whereby-api-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| whereby_api-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for whereby_api-0.1.3-py3-none-any.whl |
Total release size: 8.4 kB
Release files / whereby-api-0.1.3.tar.gz
| Download URL | whereby-api-0.1.3.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b9752b676c23ce21dda139f7ac65ac3e3f23b9f3bedc1e0f9b0ed30eb2c5ffea
|
|
BLAKE2b-256 checksum How to use checksums |
8f70ad985f9f0885a4d2e4525bd4c00a76f8c7096a6d574e0de32bb6b54ed37a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.2
|
Release files / whereby_api-0.1.3-py3-none-any.whl
| Download URL | whereby_api-0.1.3-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f706c0456aa42680db8971c0a315347601c0818cca5bf76d409a761c5c508b56
|
|
BLAKE2b-256 checksum How to use checksums |
f710d0f3aaa2662f94f9c4254e2fea8fbe52f2d5cef1f49b44014886e9bf33fe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.2
|
Security for whereby-api 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.