Added missing closing square bracket to the API example within the README.