Skip to content

Commit

Permalink
Sync to api v1.1 document
Browse files Browse the repository at this point in the history
Updated README
  • Loading branch information
makotokw committed May 9, 2013
1 parent cc6311c commit aeb580d
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 8 deletions.
8 changes: 0 additions & 8 deletions README.md
Expand Up @@ -25,20 +25,12 @@ create blew composer.json on your project directory and execute ``composer insta

/path/to/project/composer.json
{
"repositories": [
{
"type": "vcs",
"url": "https://github.com/makotokw/php-twient"
}
],
"require": {
"makotokw/twient": "dev-master"
}
}




Get timeline
----------------------------------------------------

Expand Down
20 changes: 20 additions & 0 deletions src/Twient/Twitter/V1dot1.php
Expand Up @@ -121,6 +121,16 @@ public function statusesOembed($params = array())
return $this->get('statuses/oembed', $params);
}

/**
* @param array $params
* @return array
* @see https://dev.twitter.com/docs/api/1.1/get/statuses/retweeters/ids
*/
public function statusesRetweetersIds($params = array())
{
return $this->get('statuses/retweeters/ids', $params);
}

/**
* @param array $params
* @return array
Expand Down Expand Up @@ -791,6 +801,16 @@ public function listsMembersDestroyAll($params = array())
return $this->post('lists/members/destroy_all', $params);
}

/**
* @param array $params
* @return array
* @see https://dev.twitter.com/docs/api/1.1/get/lists/ownerships
*/
public function listsOwnerships($params = array())
{
return $this->get('lists/ownerships', $params);
}

/**
* @param array $params
* @return array
Expand Down

0 comments on commit aeb580d

Please sign in to comment.