Skip to main content

opsgenie-python-api

Low-level Python bindings for Opsgenie API.

This is a Opsgenie API client library to simplify the interaction with Opsgenie.

Opsgenie API documentation can be found at https://docs.opsgenie.com/docs/

Installation

Install current release by pip

pip install opsgenie-python-api

Getting Started

You need an API token for communicating with Opsgenie REST APIs.

Schedules API

from opsgenie.api.v2 import Schedules

schedules = Schedules(token='<your_api_auth_token>)

users = schedules.get_users()
print(users)

schedules = schedules.get_schedules()
print(schedules)

rotations = schedules.get_schedule_rotations("<scheduleid>")
print(rotations)

overrides = schedulesApi.get_schedule_overrides("<scheduleid>")
print(overrides)

timeline = schedulesApi.get_schedule_timeline("<scheduleid>")
print(timeline)

Contributing

Contribution is welcome. See CONTRIBUTING.md for more details.

Metadata

Release files for opsgenie-python-api 0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for opsgenie-python-api 0.2
File Size Uploaded Provenance Actions
opsgenie_python_api-0.2.tar.gz 6.3 kB Without provenance Details for opsgenie_python_api-0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for opsgenie-python-api 0.2
File Interpreter ABI Platform Actions
opsgenie_python_api-0.2-py3-none-any.whl Python 3 none any Details for opsgenie_python_api-0.2-py3-none-any.whl

Total release size: 13.2 kB

Release files / opsgenie_python_api-0.2.tar.gz

Download URL opsgenie_python_api-0.2.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
645f20241f60a2b28907360382753aed15e97d20c7e11c83934caaaa90db1f7f
BLAKE2b-256 checksum
How to use checksums
efe199fc9bf869739200eefe2e3a2bcbfdd86a4782717ededdf8bd9938bfb86c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.9.21

Release files / opsgenie_python_api-0.2-py3-none-any.whl

Download URL opsgenie_python_api-0.2-py3-none-any.whl
Size 6.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
775aad1c79c486100756d0ac11c1356165f504ff9d6bc8e30b3be0e49824aaf1
BLAKE2b-256 checksum
How to use checksums
fedeca2d7e0d4e8f6de1e6058e0574b521b6c84d89c1a4dd231ceacc1f765b24
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.9.21

Security for opsgenie-python-api 0.2

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.

Release history Release notifications | RSS feed

This release

0.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page