How to increase the API result limit for a database

I can't find anything in the freebase docs about this, but it seems like they limit the number of results to 100. For example:

[{
  "type":"/base/popstra/celebrity",
  "name":null
}]

It returns only 100 results, whereas

[{
  "type":"/base/popstra/celebrity",
  return:"count"
}]

Says there are 6,244 results. Does anyone know how to get the rest? I know that I can limit the queries to a certain parameter, for example, a country, and then generalize the results, but I would prefer something less hacker.

+5
source share
2 answers

You can use the property limitto request more results. However, getting large numbers can give you a request timeout.

cursor. cursor true. , cursor . , cursor, . .

: http://www.freebase.com/docs/mql/ch04.html#envelopeparameters

+8

. , limit, . :

[{
  "type":"/base/popstra/celebrity",
  "name":null,
  "limit":300
}]
0

All Articles