Skip to content
This repository has been archived by the owner on Feb 9, 2021. It is now read-only.

Latest commit

 

History

History
59 lines (36 loc) · 1.8 KB

SearchesApi.md

File metadata and controls

59 lines (36 loc) · 1.8 KB

SwaggerClient::SearchesApi

All URIs are relative to https://api.meltwater.com

Method HTTP request Description
get_all_searches GET /v2/searches List your saved searches.

get_all_searches

SearchesCollection get_all_searches(user_key, authorization)

List your saved searches.

List your saved searches.

Example

# load the gem
require 'swagger_client'

api_instance = SwaggerClient::SearchesApi.new

user_key = "user_key_example" # String | The `user_key` from [developer.meltwater.com](https://developer.meltwater.com/admin/applications/).

authorization = "authorization_example" # String | `Oauth Access Token`    OAuth access token (RFC 6749). Must contain the access token type `Bearer`  followed by an OAuth access token.    #### Example:        Bearer KKwmfHwxsEoeMDTMAfxOpO...


begin
  #List your saved searches.
  result = api_instance.get_all_searches(user_key, authorization)
  p result
rescue SwaggerClient::ApiError => e
  puts "Exception when calling SearchesApi->get_all_searches: #{e}"
end

Parameters

Name Type Description Notes
user_key String The `user_key` from developer.meltwater.com.
authorization String `Oauth Access Token` OAuth access token (RFC 6749). Must contain the access token type `Bearer` followed by an OAuth access token. #### Example: Bearer KKwmfHwxsEoeMDTMAfxOpO...

Return type

SearchesCollection

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json