public function getTrends($id, $exclude = null)
	{
		// Check the rate limit for remaining hits
		$this->checkRateLimit('trends', 'place');

		// Set the API path
		$path = '/trends/place.json';

		$data['id'] = $id;

		// Check if exclude is specified
		if ($exclude)
		{
			$data['exclude'] = $exclude;
		}

		// Send the request.
		return $this->sendRequest($path, 'GET', $data);
	}
public function getTrends($id, $exclude = null)
	{
		// Check the rate limit for remaining hits
		$this->checkRateLimit('trends', 'place');

		// Set the API path
		$path = '/trends/place.json';

		$data['id'] = $id;

		// Check if exclude is specified
		if ($exclude)
		{
			$data['exclude'] = $exclude;
		}

		// Send the request.
		return $this->sendRequest($path, 'GET', $data);
	}
public function getTrends ( $ id , $ exclude = null ) { // Check the rate limit for remaining hits $ this -> checkRateLimit ( 'trends' , 'place' ) ; // Set the API path $ path = '/trends/place.json' ; $ data [ 'id' ] = $ id ; // Check if exclude is specified if ( $ exclude ) { $ data [ 'exclude' ] = $ exclude ; } // Send the request. return $ this -> sendRequest ( $ path , 'GET' , $ data ) ; }
Method to get the top 10 trending topics for a specific WOEID, if trending information is available for it.

@param   integer  $id       The Yahoo! Where On Earth ID of the location to return trending information for.
Global information is available by using 1 as the WOEID.
@param   string   $exclude  Setting this equal to hashtags will remove all hashtags from the trends list.

@return  array  The decoded JSON response

@since   1.0
Method to get the top 10 trending topics for a specific WOEID if trending information is available for it .