locaweb / python-servicenow

Python Library to interact and manage the ServiceNow database
Apache License 2.0
95 stars 47 forks source link

use JSONv2 API for communicating with ServiceNow #10

Closed OptiverTimAll closed 9 years ago

OptiverTimAll commented 9 years ago

Currently, python-servicenow uses the JSON API to query ServiceNow, which has some downsides: it's a bit slow to generate responses, and query results are capped at 250 rows, which can be frustratingly small. Instead, python-servicenow should use the JSONv2 API, which is much faster, and caps results at 10000 rows.

If this sounds like a good idea, I would be happy to prepare a pull-request with this change.

lmaojs commented 9 years ago

Yes please

wgrcunha commented 9 years ago

Added support for the new JSONv2 api on Auth class.