Rest.FlickrProxy – rest-extras-1.0 Reference Manual
Packages
rest-extras-1.0
Rest
FlickrProxy
api_key
shared_secret
token
is_successful
FlickrProxy
FlickrProxy.with_token
build_login_url
get_api_key
get_shared_secret
get_token
new_upload
new_upload_for_file
set_token
sign
FlickrProxy
Object Hierarchy:
Description:
[
CCode
( cname =
"FlickrProxy"
, lower_case_cprefix =
"rest_extras_flickr_proxy_"
, type_id =
"flickr_proxy_get_type ()"
) ]
public
class
FlickrProxy
:
Proxy
FlickrProxy
has no publicly available members.
Namespace:
Rest
Package:
rest-extras-1.0
Content:
Properties:
public
string
api_key
{
owned
get
;
construct
; }
public
string
shared_secret
{
owned
get
;
construct
; }
public
string
token
{
owned
get
;
set
; }
Static methods:
public
static
bool
is_successful
(
XmlNode
root)
throws
Error
Examines the Flickr response and if it not a successful reply, set
throws
and return FALSE.
Creation methods:
public
FlickrProxy
(
string
api_key,
string
shared_secret)
public
FlickrProxy.with_token
(
string
api_key,
string
shared_secret,
string
token)
Methods:
public
string
build_login_url
(
string
frob,
string
perms)
public
unowned
string
get_api_key
()
Get the API key.
public
unowned
string
get_shared_secret
()
Get the shared secret for authentication.
public
unowned
string
get_token
()
Get the current token.
public
FlickrProxyCall
new_upload
()
Create a new
ProxyCall
that can be used for uploading.
public
FlickrProxyCall
new_upload_for_file
(
string
filename)
throws
Error
Create a new
ProxyCall
that can be used for uploading.
public
void
set_token
(
string
token)
Set the token.
public
string
sign
(
HashTable
<
void
*,
void
*> @params)
Get the md5 checksum of the request.
Inherited Members:
All known members inherited from class Rest.Proxy
add_soup_feature
authenticate
bind
binding_required
disable_cookies
get_user_agent
new_call
password
set_user_agent
ssl_ca_file
ssl_strict
url_format
user_agent
username
All known members inherited from class GLib.Object
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref