# OpenPhoto Javascript Library
### Examples
First, include the `OpenPhoto.js` script and add a `data-site` attribute.
Second, write a function that does something with the API response.
Third, call any [API endpoint](http://theopenphotoproject.org/documentation) and pass the callback function we defined above.
This is a pure JavaScript example which doesn't rely on any third party libraries.
Enjoy!