lib/Tumblr/API/Client.php
public function createPost($blogName, $data)
    {
        $path = $this->blogPath($blogName, '/post');

        return $this->postRequest($path, $data, false);
    }
public function createPost($blogName, $data)
    {
        $path = $this->blogPath($blogName, '/post');

        return $this->postRequest($path, $data, false);
    }
Create a post

@param string $blogName the name of the blog
@param array  $data     the data to save

@return array the response array