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

Class: Services_Technorati

Source Location: /Services_Technorati-0.6.0alpha/Technorati.php

Class Overview


Client for Technorati's REST-based webservices


Author(s):

Version:

  • @version@

Methods


Inherited Variables

Inherited Methods


Class Details

[line 56]
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 107]

Services_Technorati Services_Technorati( string $apiKey, [int $hoursToCache = null], [string $pathToCache = null])

Create our client
  • Access: public

Parameters:

string   $apiKey   —  apiKey
int   $hoursToCache   —  hoursToCache
string   $pathToCache   —  pathToCache

[ Top ]

attention   [line 446]

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 482]

boolean attentionPost( string $user, string $password, $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
   $file   — 

[ Top ]

blogInfo   [line 324]

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 158]

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 131]

Services_Technorati factory( string $apiKey, [int $hoursToCache = ''], [string $pathToCache = ''])

Factory methods to create client
  • Return: object
  • Access: public

Parameters:

string   $apiKey   —  apiKey
int   $hoursToCache   —  hoursToCache
string   $pathToCache   —  pathToCache

[ Top ]

getInfo   [line 246]

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 146]

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 280]

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 203]

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 358]

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 403]

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:21:14 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.