ServiceNow api client in python
Python REST client with some extras baked in:
Request retires built in with appropriated backoffs.
Wrap response output in object with conviency methods such as being able to resolve depedency tables if they are linked in an attribute ( aka record.resolve_link(“depfield”) ).
Wrap problems/errors/empty records in NotFound objects.
Extra querying sugar - see QueryBuilder and docs for details. For example, a request with specific query info like:
Can be generated instead from:
` qb.field_equals("state", "1") qb.field_equals("assignment_group", "deadbeef") start = datetime.utcnow() end = start - timedelta(days=30) qb.between(end, start) qb.orderbydesc("sys_created_on") `
Which, depending on the eyes (and cough, auto method completions), might hurt just a littttle bit less.
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.