![]() |
![]() |
Flickcurl Flickr API Manual | ![]() |
|
---|---|---|---|---|
flickcurl_arg; flickcurl_method; void flickcurl_free_method (flickcurl_method *method); flickcurl_method* flickcurl_reflection_getMethodInfo (flickcurl *fc, const char *name); char** flickcurl_reflection_getMethods (flickcurl *fc);
typedef struct { char* name; int optional; char *description; } flickcurl_arg;
An API method argument.
char * |
Argument name |
int |
boolean flag (non-0 true) if argument is optional |
char * |
description of argument (HTML) |
typedef struct { char *name; int needslogin; char *description; char *response; char *explanation; /* argument list */ flickcurl_arg** args; int args_count; } flickcurl_method;
An API method
char * |
Method name |
int |
boolean flag (non-0 true) if method requires login |
char * |
description of method |
char * |
example response (HTML) |
char * |
explanation of example response or NULL if missing |
flickcurl_arg ** |
method arguments |
int |
number of arguments, may be 0 |
void flickcurl_free_method (flickcurl_method *method);
Destructor for method object
|
method object |
flickcurl_method* flickcurl_reflection_getMethodInfo (flickcurl *fc, const char *name);
Get information about an API method
Implements flickr.reflection.getMethodInfo (0.10)
|
flickcurl context |
|
method name |
Returns : |
flickcurl_method or NULL on failure |
char** flickcurl_reflection_getMethods (flickcurl *fc);
Get the list of available API method names
Implements flickr.reflection.getMethods (0.10)
|
flickcurl context |
Returns : |
arry of names or NULL on failure |