Services_Technorati
[ class tree: Services_Technorati ] [ index: Services_Technorati ] [ all elements ]

Class: Services_Technorati

Source Location: /Services_Technorati-0.6.2alpha/Services/Technorati.php

Class Overview


Client for Technorati's REST-based webservices


Author(s):

Version:

  • @version@

Methods


Inherited Variables

Inherited Methods


Class Details

[line 51]
Client for Technorati's REST-based webservices

Technorati is a blog search engine with a number of tools to help explore and utilise the blogosphere. The API provides enhanced access to all the site's features



[ Top ]


Method Detail

Services_Technorati (Constructor)   [line 100]

Services_Technorati Services_Technorati( string $apiKey, [object cache $cache = null])

Create our client
  • Access: public

Parameters:

string   $apiKey   —  apiKey
object cache   $cache   — 

[ Top ]

attention   [line 434]

array attention( string $user, string $password)

This lets users retrieve their Attention.XML This API query is currently experimental.
  • Access: public

Parameters:

string   $user   —  username
string   $password   —  password

[ Top ]

attentionPost   [line 471]

boolean attentionPost( string $user, string $password, string $file)

This posts a new Attention.XML file to the Technorati system.

This API query is currently experimental. This is the one call that doesn't use _sendRequest, because it needs to POST a file.

  • Access: public

Parameters:

string   $user   —  username
string   $password   —  password
string   $file   —  filename

[ Top ]

blogInfo   [line 312]

array blogInfo( string $url)

The bloginfo query provides info on what blog, if any, is associated with a given URL
  • Access: public

Parameters:

string   $url   —  url

[ Top ]

cosmos   [line 146]

array cosmos( string $url, array $options)

Cosmos lets you see what blogs are linking to a given URL
  • Access: public

Parameters:

string   $url   —  url
array   $options   —  options

[ Top ]

factory   [line 119]

Services_Technorati factory( string $apiKey, [object cache $cache = null], [float $apiVersion = 1.0])

Factory methods to create client. This is in place to prepare for forwards compatibility with future versions of the API.
  • Return: object
  • Access: public

Parameters:

string   $apiKey   —  apiKey
object cache   $cache   — 
float   $apiVersion   —  apiVersion

[ Top ]

getInfo   [line 234]

array getInfo( string $username)

The getinfo query tells you things that Technorati knows about a user
  • Access: public

Parameters:

string   $username   —  username

[ Top ]

keyInfo   [line 134]

array keyInfo( )

KeyInfo provides information on daily usage of an API key.

A Technorati API key is typically limited to 500 requests per day, where a day is measured as 00:00-23:59 PST This function does not cache, and this call does not use any of the daily request allocation for the given key.

  • Access: public

[ Top ]

outbound   [line 268]

array outbound( string $url, [array $options = array()])

The outbound query lets you see what blogs are linked to from a given blog, including their associated info.
  • Access: public

Parameters:

string   $url   —  url
array   $options   —  options

[ Top ]

search   [line 191]

array search( string $query, [array $options = array()])

The search lets you see what blogs contain a given search string
  • Access: public

Parameters:

string   $query   —  query
array   $options   —  options

[ Top ]

tag   [line 346]

array tag( string $tag, [array $options = array()])

The tag query allows you to get a list of posts with the given tag associated with it. This API query is currently experimental.
  • Access: public

Parameters:

string   $tag   —  url
array   $options   —  options

[ Top ]

topTags   [line 391]

array topTags( array $options)

TopTags lets you retrieve a list of the most popular post tagd tracked by Technorati
  • Access: public

Parameters:

array   $options   —  options

[ Top ]


Documentation generated on Mon, 11 Mar 2019 14:20:28 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.