Javascript
import Openregister from 'openregister'; const client = new Openregister({ apiKey: 'My API Key', }); const response = await client.search.findPerson(); console.log(response.pagination);
{ "results": [ { "id": "<string>", "name": "<string>", "city": "<string>", "date_of_birth": "<string>", "active": true } ], "pagination": { "page": 123, "per_page": 123, "total_pages": 123, "total_results": 123 } }
API Key Authentication Provide your API key as a Bearer token in the Authorization header.
Successful search operation
The response is of type object.
object