usersSuggestionsSlug() публичный Метод

It is recommended that applications cache this data for no more than one hour.
public usersSuggestionsSlug ( string $slug, string[optional] $lang = null ) : array
$slug string The short name of list or a category.
$lang string[optional]
Результат array
Пример #1
0
 /**
  * Tests Twitter->usersSuggestionsSlug
  */
 public function testUsersSuggestionsSlug()
 {
     $response = $this->twitter->usersSuggestionsSlug('Twitter');
     $this->assertArrayHasKey('size', $response);
     $this->assertArrayHasKey('name', $response);
     $this->assertArrayHasKey('slug', $response);
     $this->assertArrayHasKey('users', $response);
     foreach ($response['users'] as $row) {
         $this->isUser($row);
     }
 }