bzimmer / smugmug Goto Github PK
View Code? Open in Web Editor NEWSmugMug API client written in golang with support for concurrent uploading of images.
License: MIT License
SmugMug API client written in golang with support for concurrent uploading of images.
License: MIT License
I've try to find Largestimage in document, only find ImageSizeDetails.
please add largestimage
func type.
thanks in advanced.
https://api.smugmug.com/api/v2/image/-0!largestimage
The album WJvpCp is owned by cmac and does not have an associated user which panics when the expansion is attempted.
~/Development/src/github.com/bzimmer/smugmug (main) > ma ls album WJvpCp
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x13021e9]
goroutine 1 [running]:
github.com/bzimmer/smugmug.(*AlbumService).expand(0xc000169848, 0xc000426000, 0x1359ac0)
/Users/bzimmer/Development/pkg/mod/github.com/bzimmer/[email protected]/album.go:29 +0x29
github.com/bzimmer/smugmug.(*AlbumService).album(0xc00000e160, 0x0)
/Users/bzimmer/Development/pkg/mod/github.com/bzimmer/[email protected]/album.go:25 +0x7b
github.com/bzimmer/smugmug.(*AlbumService).Album(0xc00000e160, {0x146df50, 0xc000024078}, {0x7ffeefbff564, 0x0}, {0x0, 0x0, 0x0})
/Users/bzimmer/Development/pkg/mod/github.com/bzimmer/[email protected]/album.go:60 +0x116
github.com/bzimmer/ma.album(0xc00001ebc0)
/Users/bzimmer/Development/src/github.com/bzimmer/ma/ls.go:41 +0x13e
github.com/urfave/cli/v2.(*Command).Run(0xc00010a900, 0xc00001e9c0)
/Users/bzimmer/Development/pkg/mod/github.com/urfave/cli/[email protected]/command.go:163 +0x64a
github.com/urfave/cli/v2.(*App).RunAsSubcommand(0xc00013e680, 0xc00001e880)
/Users/bzimmer/Development/pkg/mod/github.com/urfave/cli/[email protected]/app.go:434 +0x9a6
github.com/urfave/cli/v2.(*Command).startApp(0xc00010a7e0, 0xc00001e880)
/Users/bzimmer/Development/pkg/mod/github.com/urfave/cli/[email protected]/command.go:278 +0x713
github.com/urfave/cli/v2.(*Command).Run(0xc00001e880, 0x7ffeefbff55b)
/Users/bzimmer/Development/pkg/mod/github.com/urfave/cli/[email protected]/command.go:94 +0x7bc
github.com/urfave/cli/v2.(*App).RunContext(0xc00013e340, {0x146df50, 0xc000024078}, {0xc00001e080, 0x4, 0x4})
/Users/bzimmer/Development/pkg/mod/github.com/urfave/cli/[email protected]/app.go:313 +0x81e
main.main()
/Users/bzimmer/Development/src/github.com/bzimmer/ma/cmd/ma/main.go:173 +0xef6
In the UploadService, the uri is not encoded to handle spaces.
The majority of the test cases copy the local testdata
file directly. It would be better / more idiomatic to use http.ServeFile
.
Additionally, image_test/TestImagesIter
should use the request parameters in the http handler rather than maintain state with a counter.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.