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

Latest commit

 

History

History
56 lines (37 loc) · 2.06 KB

SearchesApi.md

File metadata and controls

56 lines (37 loc) · 2.06 KB

Swagger\Client\SearchesApi

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

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

getAllSearches

\Swagger\Client\Model\SearchesCollection getAllSearches($user_key, $authorization)

List your saved searches.

List your saved searches.

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\SearchesApi();
$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...

try {
    $result = $api_instance->getAllSearches($user_key, $authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SearchesApi->getAllSearches: ', $e->getMessage(), PHP_EOL;
}
?>

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

\Swagger\Client\Model\SearchesCollection

Authorization

No authorization required

HTTP request headers

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

[Back to top] [Back to API list] [Back to Model list] [Back to README]