Rest.LastfmProxy – rest-extras-1.0 Reference Manual
Packages
rest-extras-1.0
Rest
LastfmProxy
api_key
secret
session_key
is_successful
LastfmProxy
LastfmProxy.with_session
build_login_url
get_api_key
get_secret
get_session_key
set_session_key
sign
LastfmProxy
Object Hierarchy:
Description:
[
CCode
( cname =
"LastfmProxy"
, lower_case_cprefix =
"rest_extras_lastfm_proxy_"
, type_id =
"lastfm_proxy_get_type ()"
) ]
public
class
LastfmProxy
:
Proxy
LastfmProxy
has no publicly available members.
Namespace:
Rest
Package:
rest-extras-1.0
Content:
Properties:
public
string
api_key
{
owned
get
;
construct
; }
public
string
secret
{
owned
get
;
construct
; }
public
string
session_key
{
owned
get
;
set
; }
Static methods:
public
static
bool
is_successful
(
XmlNode
root)
throws
Error
Examines the Lastfm response and if it not a successful reply, set
throws
and return FALSE.
Creation methods:
public
LastfmProxy
(
string
api_key,
string
secret)
public
LastfmProxy.with_session
(
string
api_key,
string
secret,
string
session_key)
Methods:
public
string
build_login_url
(
string
token)
public
unowned
string
get_api_key
()
Get the API key.
public
unowned
string
get_secret
()
Get the secret for authentication.
public
unowned
string
get_session_key
()
Get the current session key.
public
void
set_session_key
(
string
session_key)
Set the session key.
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