Constructs a new del.icio.us Web Services Client
void
__construct
([string $uname = null], [string $pass = null])
-
string
$uname: Client username
-
string
$pass: Client password
Adds a new bundle
-
string
$bundle: Name of new bundle
-
array
$tags: Array of tags
Delete a bundle
-
string
$bundle: Name of bundle to be deleted
Delete a post
-
string
$url: URL of post to be deleted
Get all posts
-
string
$tag: Optional filtering by tag
Get all bundles, returning an array with bundles as keys and array of tags as values
array
getBundles
()
Get number of posts by date
Returns array where keys are dates and values are numbers of posts
array
getDates
([string $tag = null])
-
string
$tag: Optional filtering by tag
Get time of the last update
Get posts matching the arguments
If no date or url is given, most recent date will be used
-
string
$tag: Optional filtering by tag
-
Zend_Date
$dt: Optional filtering by date
-
string
$url: Optional filtering by url
Get recent posts
-
string
$tag: Optional filtering by tag
-
string
$count: Maximum number of posts to be returned (default 15)
Get all tags, returning an array with tags as keys and number of corresponding posts as values
array
getTags
()
Get fans of a user
array
getUserFans
(string $user)
-
string
$user: Owner of the fans
Get network of a user
array
getUserNetwork
(string $user)
-
string
$user: Owner of the network
Get posts of a user
-
string
$user: Owner of the posts
-
int
$count: Number of posts (default 15, max. 100)
-
string
$tag: Optional filtering by tag
Get tags of a user
Returned array has tags as keys and number of posts as values
array
getUserTags
(string $user, [int $atleast = null], [int $count = null], [string $sort = 'alpha'])
-
string
$user: Owner of the posts
-
int
$atleast: Include only tags for which there are at least ### number of posts
-
int
$count: Number of tags to get (default all)
-
string
$sort: Order of returned tags ('alpha' || 'count')
Handles all GET requests to a web service
DOMDocument
makeRequest
(string $path, [ $parms = array()], [string $type = 'xml'])
-
string
$path: Path
-
array
$parms: Array of GET parameters
-
string
$type: Type of a request xml|json
Rename a tag
-
string
$old: Old tag name
-
string
$new: New tag name
Set client username and password
-
string
$uname: Client user name
-
string
$pass: Client password