trendsClosest() public method

The response is an array of "locations" that encode the location's WOEID and some other human-readable information such as a canonical name and country the location belongs in.
public trendsClosest ( float[optional] $lat = null, float[optional] $long = null ) : array
$lat float[optional]
$long float[optional]
return array
Example #1
0
 /**
  * Tests Twitter->trendsClosest()
  */
 public function testTrendsClosest()
 {
     $response = $this->twitter->trendsClosest(37.781157, -122.400612831116);
     foreach ($response as $row) {
         $this->isTrend($row);
     }
 }