| Flickcurl Flickr API Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
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.
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
| Method name | |
| boolean flag (non-0 true) if method requires login | |
| description of method | |
| example response (HTML) | |
| explanation of example response or NULL if missing | |
flickcurl_arg ** |
method arguments |
| 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 |