Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 1.28 KB

README.md

File metadata and controls

46 lines (33 loc) · 1.28 KB

OSC Tiny

Build Status Publish Status PyPI version Coverage badge

This project aims to provide a minimalistic and transparent client for accessing the OpenBuildService API.

Usage

This is a very basic example:

from osctiny import Osc

osc = Osc(
    url="https://api.opensuse.org",
    username="foobar",
    password="helloworld",
)

# This returns an LXML object
osc.requests.get(request_id=1)

# This returns an LXML object
osc.search.request(xpath="state/@name='new'")

For more documentation see https://osc-tiny.readthedocs.io/en/latest/

Contributing

Any contributions are welcome.

Links