Skip to content
This repository was archived by the owner on Mar 3, 2022. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions twitterapi.drush.inc
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ function twitterapi_drush_command() {
$items['twitterapi-get'] = array(
'description' => "Send GET requests to Twitter's API",
'arguments' => array(
'resource' => 'Relative path to any resouce documented here: https://dev.twitter.com/docs/api/1.1',
'resource' => 'Relative path to any resource documented here: https://dev.twitter.com/docs/api/1.1',
),
'options' => array(
'callback' => 'Wrap JSON result in a JSONP callback defined here.',
'format' => '@todo provide options',
),
'examples' => array(
'drush twitterapi-get "statuses/user_timeline.json?screen_name=whitehouse&count=3&include_rts=1"' => '',
'drush tg "statuses/user_timeline.json?screen_name=whitehouse&count=1" --calback=myCallback' => '',
'drush tg "statuses/user_timeline.json?screen_name=whitehouse&count=1" --callback=myCallback' => '',
'drush tg "statuses/user_timeline.json?screen_name=whitehouse&count=1" --format=json' => '',
'drush tg "statuses/user_timeline.json?screen_name=whitehouse&count=1" --format=pretty' => '',
),
Expand Down