Documentation

Added some documentation to describe the API options