ads.services.library¶
Interact with the ADS library service.
Functions
|
Perform a set operation on one or more libraries. |
|
|
|
Check whether an email address looks valid. |
|
Classes
|
|
|
|
|
|
|
|
|
|
|
- class ads.services.library.Cursor(lastrowid, rowcount)¶
- lastrowid¶
Alias for field number 0
- rowcount¶
Alias for field number 1
- ads.services.library.valid_email_address(email: str) bool [source]¶
Check whether an email address looks valid.
- Parameters
email – An email address.
- ads.services.library.operation(library, action, libraries=None, return_new_library=False)[source]¶
Perform a set operation on one or more libraries.
- Parameters
library – The primary library to perform the operation on.
action –
- The name of the action to perform. Must be one of:
union
intersection
difference
empty
copy
libraries – The libraries to perform the action with. This is not applicable for the empty action.
- Returns
Returns the APIResponse object.