Skip to main content
3 of 3
replaced http://stackapps.com/ with https://stackapps.com/

How to limit the number of responses in Stack.PHP?

How do I limit the number of results provided by Stack.PHP (a library wrapper over the Stackexchange API)?

For example, how do I get the first 50 questions tagged with a keyword?

The query I currently have is:

$apps = $stackapps->Questions()->Tagged('drupal')->IncludeAnswers()->IncludeBody()->Exec();