Skip to content

Commit

Permalink
Add v2 api support (#15)
Browse files Browse the repository at this point in the history
* Return response from put request

* Create warrant object module

* Add batch create/delete object methods

* Update query method to use v2 endpoint

* Update resource classes to use object methods

* fixup object module

* Update warrant class to use v2 endpoint and add batch methods

* Use /v2/check instead of /v2/authorize

* Create session object for requests

* Add options param to support warrant token

* Add batch check method

* Return warrant token if returned in header

* Add typing and unit tests

* Fix lint errors

* Parse warrant and subject objects from query result

* Address PR comments
  • Loading branch information
stanleyphu authored Nov 8, 2023
1 parent 70e8606 commit cb7d51c
Show file tree
Hide file tree
Showing 16 changed files with 1,450 additions and 521 deletions.
226 changes: 0 additions & 226 deletions examples/example.py

This file was deleted.

Empty file added test/__init__.py
Empty file.
Loading

0 comments on commit cb7d51c

Please sign in to comment.