Changes between Version 23 and Version 24 of XMLRPC
- Timestamp:
- Dec 16, 2008, 8:15:33 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
XMLRPC
v23 v24 446 446 '''Fields explanation:''' 447 447 data is absolute link to subtitles. 448 448 449 ---- 449 450 … … 512 513 All field are self-explained. 513 514 515 ---- 514 516 515 517 == !GetSubLanguages == … … 541 543 data - array of enabled subtitle languages. !SubLanguageID - iso639-2 3 characters code of language. !LanguageName - translated language name. ISO639 - ISO639-1 2 characters code. 542 544 545 ---- 546 543 547 == !GetAvailableTranslations == 544 548 '''array !GetAvailableTranslations( $token, $program )''' … … 585 589 data - base64 encoded contents 586 590 591 ---- 592 587 593 == SearchMoviesOnIMDB == 588 594 '''array SearchMoviesOnIMDB( $token, $query )''' … … 613 619 title - title of movie, id - imdbid/opensubtites movie id 614 620 621 ---- 615 622 616 623 == GetIMDBMovieDetails == … … 649 656 All fields are self-explained. 650 657 658 ---- 651 659 652 660 == !InsertMovie == … … 664 672 '''Fields explanation:''' 665 673 id is idmovie in opensubtitles.org movie database for inserted movie. You can use it later for uploading subtitles. 674 675 ---- 666 676 667 677 == !SubtitlesVote == … … 686 696 !SubRating is average subrating for given subtitles. !SubSumVotes is how much times was voted for subtitles. 687 697 698 ---- 699 700 == !GetComments == 701 '''array !AddComment( $token, array($idsubtitle, $idsubtitle, ...))''' 702 703 Returns comments for subtitles 704 705 Example output: 706 {{{ 707 [status] => 200 OK 708 [data] => Array 709 ( 710 [_3387112] => Array 711 ( 712 [0] => Array 713 ( 714 [IDSubtitle] => 3387112 715 [UserID] => 192696 716 [UserNickName] => neo_rtr 717 [Comment] => Greate Work. thank you 718 [Created] => 2008-12-14 17:20:42 719 ) 720 721 ) 722 [_3385570] => Array 723 ( 724 [0] => Array 725 ( 726 [IDSubtitle] => 3385570 727 [UserID] => 745565 728 [UserNickName] => pee-jay_cz 729 [Comment] => Thank you. 730 [Created] => 2008-12-12 15:21:48 731 ) 732 [1] => Array 733 ( 734 [IDSubtitle] => 3385570 735 [UserID] => 754781 736 [UserNickName] => Guzeppi 737 [Comment] => You're welcome :) 738 [Created] => 2008-12-12 15:51:01 739 ) 740 ) 741 ) 742 [seconds] => 0.02 743 }}} 744 745 '''Fields explanation:''' 746 All field are self-explained. 747 748 ---- 749 688 750 == !AddComment == 689 751 '''array !AddComment( $token, array('idsubtitle' => $idsubtitle, 'comment' => $comment, 'badsubtitle' => $int) )''' … … 703 765 All field are self-explained. 704 766 767 ---- 705 768 706 769 == !AutoUpdate == … … 723 786 '''Fields explanation:''' 724 787 All field are self-explained. 788 789 ---- 725 790 726 791 == !NoOperation ==