photoprism-client-go/examples
Kris Nóva 94dde03103 Adding docs and ready for 1.0.0
Signed-off-by: Kris Nóva <kris@nivenly.com>
2021-02-11 18:04:53 -08:00
..
.gitignore Working download photo method 2021-02-09 18:25:46 -08:00
README.md Adding docs and ready for 1.0.0 2021-02-11 18:04:53 -08:00
album.go Adding initial album feature work 2021-02-11 15:32:03 -08:00
common.go Pushing changes for testing harness before my next meeting. Adding working exec library and sample code 2021-02-03 11:00:11 -08:00
getalbum.go Adding initial album feature work 2021-02-11 15:32:03 -08:00
login.go More API refactoring and working on cleaning up 2021-02-09 14:45:36 -08:00
photo.go Working download photo method 2021-02-09 18:25:46 -08:00

README.md

Examples

Here are good examples and working code snippets to start from.

A lot of these files are used for development and are subject to change.

For more complete sample code, see the integration testing suite in /test.

Running the examples

Run the examples. Make sure to pass both the file you wish to run, as well as common.go to include the convenience functions.

go run photo.go common.go # Run the photo example
go run login.go common.go # Run the login example