flickr.auth.getFrob by tcl (REST)

I'm trying to get response from Flickr by using Flickr API but I have no idea and no examples in TCL for that.

I wrote the following code:


package require rest

set flickr(auth.getFrob) {
    req_args { api_key: }

rest::create_interface flickr 

puts [flickr::auth::getFrob -api_key  ea4a4134e2821898e5e31713d2ad74fd ]

When I execute it I get this error:

invalid command name "flickr::auth::getFrob"
    while executing
"flickr::auth::getFrob -api_key  ea4a4134e2821898e5e31713d2ad74fd "
invoked from within
"puts [flickr::auth::getFrob -api_key  ea4a4134e2821898e5e31713d2ad74fd ]"
    (file "./flickr.tcl" line 17)


I've updated the last line of the code as proposed by Johannes to:

puts [flickr::auth.getFrob -api_key  ea4a4134e2821898e5e31713d2ad74fd ]

but still got the strange response:

rsp {stat fail} {{err {code 112 msg {Method "unknown" not found}} {}}}

when supposed something like:


as described in Flickr API help: auth.getFrob


It looks like the command name is


Need Your Help

How would I nest a shape within a shape in Java?

java nested shape bounce

I am trying to do an assignment involving bouncing shapes within a JPanel. Whenever shapes hit a side, they will bounce off in the other direction. I have already got the bouncing part working for ...