public/helper/Get-TwitterSavedSearches_List.ps1
function Get-TwitterSavedSearches_List { <# .SYNOPSIS Manage account settings and profile .DESCRIPTION GET saved_searches/list Returns the authenticated user's saved search queries. .NOTES This helper function was generated by the information provided here: https://developer.twitter.com/en/docs/accounts-and-users/manage-account-settings/api-reference/get-saved_searches-list #> [CmdletBinding()] Param( ) Begin { [string]$Method = 'GET' [string]$Resource = '/saved_searches/list' [string]$ResourceUrl = 'https://api.twitter.com/1.1/saved_searches/list.json' [hashtable]$Parameters = $PSBoundParameters $CmdletBindingParameters | ForEach-Object { $Parameters.Remove($_) } } Process { If (-Not $OAuthSettings) { $OAuthSettings = Get-TwitterOAuthSettings -Resource $Resource } Invoke-TwitterAPI -Method $Method -ResourceUrl $ResourceUrl -Resource $Resource -Parameters $Parameters -OAuthSettings $OAuthSettings } End { } } |