| 773 | == !AddRequest == |
| 774 | '''array !AddRequest( $token, array('sublanguageid' => $sublanguageid, 'idmovieimdb' => $idmovieimdb, 'comment' => $comment ) )''' |
| 775 | |
| 776 | Add new request for subtitles, user must be logged in. All parameters are mandatory except comment field - you can put there releasename of movie. You should call this method, when no subtitles are found for given IMDB (not for moviehash!) and it should be done on user request. When request is filled, user should receive mail from opensubtitles.org about that. |
| 777 | |
| 778 | Example output: |
| 779 | {{{ |
| 780 | Array |
| 781 | ( |
| 782 | [status] => 200 OK |
| 783 | [data] => Array |
| 784 | ( |
| 785 | [request_url] => http://www.opensubtitles.net/en/requestd/idmovie-887/sublanguageid-cze |
| 786 | ) |
| 787 | |
| 788 | [seconds] => 7.676 |
| 789 | ) |
| 790 | }}} |
| 791 | |
| 792 | '''Fields explanation:''' |
| 793 | All field are self-explained. |
| 794 | |
| 795 | ---- |
| 796 | |