https://github.com/raphaelstolt/backtweets-api-client
A backtweets API client utilizing the Zend Framework
https://github.com/raphaelstolt/backtweets-api-client
Last synced: over 1 year ago
JSON representation
A backtweets API client utilizing the Zend Framework
- Host: GitHub
- URL: https://github.com/raphaelstolt/backtweets-api-client
- Owner: raphaelstolt
- Created: 2009-07-22T21:14:51.000Z (about 17 years ago)
- Default Branch: master
- Last Pushed: 2009-07-29T22:03:37.000Z (almost 17 years ago)
- Last Synced: 2024-12-18T01:11:56.972Z (over 1 year ago)
- Language: PHP
- Homepage: http://raphaelstolt.blogspot.com
- Size: 82 KB
- Stars: 2
- Watchers: 4
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.markdown
Awesome Lists containing this project
README
backtweets-api-client
======
The **backtweets-api-client** is a the TDD way developed client to the [backtweets](http://backtweets.com/api/) API utilizing several components of the [Zend Framework](http://framework.zend.com/). The backtweets service allows you to monitor your website presence on the twittersphere.
Requirements
------------
* An installed version of the Zend Framework >= 1.7.8
Examples
------------
The following examples show some edge cases for using the backtweets API programmaticly with the **backtweets-api-client**. For a complete list of available filter options take a peek at the [backtweets](http://backtweets.com/api/) API or the [advanced backtweets search](http://backtweets.com/search).
#### Usage Example 1:
'YOUR_API_KEY',
'response_format' => 'xml');
$service = new Recordshelf_Service_Backtweets($configuration);
$searchFilter = array('url' => 'http://framework.zend.com',
'start' => '2009/07/01',
'end' => '2009/07/21');
$resultsInXml = $service->search($searchFilter);
#### Usage Example 2:
'YOUR_API_KEY',
'response_format' => 'json');
$service = new Recordshelf_Service_Backtweets($configuration);
$searchFilter = array('url' => 'http://framework.zend.com',
'from_name' => 'padraicb');
$resultsFromPadraicbInJson = $service->search($searchFilter);
#### Usage Example 3:
'YOUR_API_KEY',
'response_format' => 'json');
$service = new Recordshelf_Service_Backtweets($configuration);
$searchFilter = array('url' => 'http://framework.zend.com',
'since_id' => '2487455095');
$resultsSinceId2487455095InAnArray = $service->search($searchFilter, true);