Fix typo queryDetails -> getDetails in README.

Example code calls nonexistent function.