1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: module gdata.youtube.service</title>
</head><body bgcolor="#f0f0f8">
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom> <br>
<font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="gdata.html"><font color="#ffffff">gdata</font></a>.<a href="gdata.youtube.html"><font color="#ffffff">youtube</font></a>.service</strong></big></big></font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/afshar/wrk/gdata-python-client/src/gdata/youtube/service.py">/home/afshar/wrk/gdata-python-client/src/gdata/youtube/service.py</a></font></td></tr></table>
<p><tt><a href="#YouTubeService">YouTubeService</a> extends <a href="gdata.service.html#GDataService">GDataService</a> to streamline YouTube operations.<br>
<br>
<a href="#YouTubeService">YouTubeService</a>: Provides methods to perform CRUD operations on YouTube feeds.<br>
Extends <a href="gdata.service.html#GDataService">GDataService</a>.</tt></p>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#aa55cc">
<td colspan=3 valign=bottom> <br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
<tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td>
<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="xml.etree.cElementTree.html">xml.etree.cElementTree</a><br>
</td><td width="25%" valign=top><a href="atom.html">atom</a><br>
</td><td width="25%" valign=top><a href="gdata.html">gdata</a><br>
</td><td width="25%" valign=top><a href="os.html">os</a><br>
</td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ee77aa">
<td colspan=3 valign=bottom> <br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
<tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td>
<td width="100%"><dl>
<dt><font face="helvetica, arial"><a href="exceptions.html#Exception">exceptions.Exception</a>(<a href="exceptions.html#BaseException">exceptions.BaseException</a>)
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="gdata.youtube.service.html#Error">Error</a>
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="gdata.youtube.service.html#RequestError">RequestError</a>
</font></dt><dt><font face="helvetica, arial"><a href="gdata.youtube.service.html#YouTubeError">YouTubeError</a>
</font></dt></dl>
</dd>
</dl>
</dd>
<dt><font face="helvetica, arial"><a href="gdata.service.html#GDataService">gdata.service.GDataService</a>(<a href="atom.service.html#AtomService">atom.service.AtomService</a>)
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="gdata.youtube.service.html#YouTubeService">YouTubeService</a>
</font></dt></dl>
</dd>
<dt><font face="helvetica, arial"><a href="gdata.service.html#Query">gdata.service.Query</a>(<a href="__builtin__.html#dict">__builtin__.dict</a>)
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="gdata.youtube.service.html#YouTubeVideoQuery">YouTubeVideoQuery</a>
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="gdata.youtube.service.html#YouTubePlaylistQuery">YouTubePlaylistQuery</a>
</font></dt><dt><font face="helvetica, arial"><a href="gdata.youtube.service.html#YouTubeUserQuery">YouTubeUserQuery</a>
</font></dt></dl>
</dd>
</dl>
</dd>
</dl>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="Error">class <strong>Error</strong></a>(<a href="exceptions.html#Exception">exceptions.Exception</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
<td colspan=2><tt>Base class for errors within the YouTube service.<br> </tt></td></tr>
<tr><td> </td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="gdata.youtube.service.html#Error">Error</a></dd>
<dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd>
<dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Data descriptors defined here:<br>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list of weak references to the object (if defined)</tt></dd>
</dl>
<hr>
Methods inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
<dl><dt><a name="Error-__init__"><strong>__init__</strong></a>(...)</dt><dd><tt>x.<a href="#Error-__init__">__init__</a>(...) initializes x; see x.__class__.__doc__ for signature</tt></dd></dl>
<hr>
Data and other attributes inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object><dd><tt>T.<a href="#Error-__new__">__new__</a>(S, ...) -> a new object with type S, a subtype of T</tt></dl>
<hr>
Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
<dl><dt><a name="Error-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#Error-__delattr__">__delattr__</a>('name') <==> del x.name</tt></dd></dl>
<dl><dt><a name="Error-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#Error-__getattribute__">__getattribute__</a>('name') <==> x.name</tt></dd></dl>
<dl><dt><a name="Error-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#Error-__getitem__">__getitem__</a>(y) <==> x[y]</tt></dd></dl>
<dl><dt><a name="Error-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#Error-__getslice__">__getslice__</a>(i, j) <==> x[i:j]<br>
<br>
Use of negative indices is not supported.</tt></dd></dl>
<dl><dt><a name="Error-__reduce__"><strong>__reduce__</strong></a>(...)</dt></dl>
<dl><dt><a name="Error-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#Error-__repr__">__repr__</a>() <==> repr(x)</tt></dd></dl>
<dl><dt><a name="Error-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#Error-__setattr__">__setattr__</a>('name', value) <==> x.name = value</tt></dd></dl>
<dl><dt><a name="Error-__setstate__"><strong>__setstate__</strong></a>(...)</dt></dl>
<dl><dt><a name="Error-__str__"><strong>__str__</strong></a>(...)</dt><dd><tt>x.<a href="#Error-__str__">__str__</a>() <==> str(x)</tt></dd></dl>
<dl><dt><a name="Error-__unicode__"><strong>__unicode__</strong></a>(...)</dt></dl>
<hr>
Data descriptors inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
</dl>
<dl><dt><strong>args</strong></dt>
</dl>
<dl><dt><strong>message</strong></dt>
</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="RequestError">class <strong>RequestError</strong></a>(<a href="gdata.youtube.service.html#Error">Error</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
<td colspan=2><tt><a href="#Error">Error</a> class that is thrown in response to an invalid HTTP Request.<br> </tt></td></tr>
<tr><td> </td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="gdata.youtube.service.html#RequestError">RequestError</a></dd>
<dd><a href="gdata.youtube.service.html#Error">Error</a></dd>
<dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd>
<dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Data descriptors inherited from <a href="gdata.youtube.service.html#Error">Error</a>:<br>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list of weak references to the object (if defined)</tt></dd>
</dl>
<hr>
Methods inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
<dl><dt><a name="RequestError-__init__"><strong>__init__</strong></a>(...)</dt><dd><tt>x.<a href="#RequestError-__init__">__init__</a>(...) initializes x; see x.__class__.__doc__ for signature</tt></dd></dl>
<hr>
Data and other attributes inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object><dd><tt>T.<a href="#RequestError-__new__">__new__</a>(S, ...) -> a new object with type S, a subtype of T</tt></dl>
<hr>
Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
<dl><dt><a name="RequestError-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#RequestError-__delattr__">__delattr__</a>('name') <==> del x.name</tt></dd></dl>
<dl><dt><a name="RequestError-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#RequestError-__getattribute__">__getattribute__</a>('name') <==> x.name</tt></dd></dl>
<dl><dt><a name="RequestError-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#RequestError-__getitem__">__getitem__</a>(y) <==> x[y]</tt></dd></dl>
<dl><dt><a name="RequestError-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#RequestError-__getslice__">__getslice__</a>(i, j) <==> x[i:j]<br>
<br>
Use of negative indices is not supported.</tt></dd></dl>
<dl><dt><a name="RequestError-__reduce__"><strong>__reduce__</strong></a>(...)</dt></dl>
<dl><dt><a name="RequestError-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#RequestError-__repr__">__repr__</a>() <==> repr(x)</tt></dd></dl>
<dl><dt><a name="RequestError-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#RequestError-__setattr__">__setattr__</a>('name', value) <==> x.name = value</tt></dd></dl>
<dl><dt><a name="RequestError-__setstate__"><strong>__setstate__</strong></a>(...)</dt></dl>
<dl><dt><a name="RequestError-__str__"><strong>__str__</strong></a>(...)</dt><dd><tt>x.<a href="#RequestError-__str__">__str__</a>() <==> str(x)</tt></dd></dl>
<dl><dt><a name="RequestError-__unicode__"><strong>__unicode__</strong></a>(...)</dt></dl>
<hr>
Data descriptors inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
</dl>
<dl><dt><strong>args</strong></dt>
</dl>
<dl><dt><strong>message</strong></dt>
</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="YouTubeError">class <strong>YouTubeError</strong></a>(<a href="gdata.youtube.service.html#Error">Error</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
<td colspan=2><tt>YouTube service specific error class.<br> </tt></td></tr>
<tr><td> </td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="gdata.youtube.service.html#YouTubeError">YouTubeError</a></dd>
<dd><a href="gdata.youtube.service.html#Error">Error</a></dd>
<dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd>
<dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Data descriptors inherited from <a href="gdata.youtube.service.html#Error">Error</a>:<br>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list of weak references to the object (if defined)</tt></dd>
</dl>
<hr>
Methods inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
<dl><dt><a name="YouTubeError-__init__"><strong>__init__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeError-__init__">__init__</a>(...) initializes x; see x.__class__.__doc__ for signature</tt></dd></dl>
<hr>
Data and other attributes inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object><dd><tt>T.<a href="#YouTubeError-__new__">__new__</a>(S, ...) -> a new object with type S, a subtype of T</tt></dl>
<hr>
Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
<dl><dt><a name="YouTubeError-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeError-__delattr__">__delattr__</a>('name') <==> del x.name</tt></dd></dl>
<dl><dt><a name="YouTubeError-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeError-__getattribute__">__getattribute__</a>('name') <==> x.name</tt></dd></dl>
<dl><dt><a name="YouTubeError-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeError-__getitem__">__getitem__</a>(y) <==> x[y]</tt></dd></dl>
<dl><dt><a name="YouTubeError-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeError-__getslice__">__getslice__</a>(i, j) <==> x[i:j]<br>
<br>
Use of negative indices is not supported.</tt></dd></dl>
<dl><dt><a name="YouTubeError-__reduce__"><strong>__reduce__</strong></a>(...)</dt></dl>
<dl><dt><a name="YouTubeError-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeError-__repr__">__repr__</a>() <==> repr(x)</tt></dd></dl>
<dl><dt><a name="YouTubeError-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeError-__setattr__">__setattr__</a>('name', value) <==> x.name = value</tt></dd></dl>
<dl><dt><a name="YouTubeError-__setstate__"><strong>__setstate__</strong></a>(...)</dt></dl>
<dl><dt><a name="YouTubeError-__str__"><strong>__str__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeError-__str__">__str__</a>() <==> str(x)</tt></dd></dl>
<dl><dt><a name="YouTubeError-__unicode__"><strong>__unicode__</strong></a>(...)</dt></dl>
<hr>
Data descriptors inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
</dl>
<dl><dt><strong>args</strong></dt>
</dl>
<dl><dt><strong>message</strong></dt>
</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="YouTubePlaylistQuery">class <strong>YouTubePlaylistQuery</strong></a>(<a href="gdata.youtube.service.html#YouTubeVideoQuery">YouTubeVideoQuery</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
<td colspan=2><tt>Subclasses <a href="#YouTubeVideoQuery">YouTubeVideoQuery</a> to perform playlist-specific queries.<br>
<br>
Attributes are set dynamically via properties. Properties correspond to<br>
the standard Google Data API query parameters with YouTube Data API<br>
extensions.<br> </tt></td></tr>
<tr><td> </td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="gdata.youtube.service.html#YouTubePlaylistQuery">YouTubePlaylistQuery</a></dd>
<dd><a href="gdata.youtube.service.html#YouTubeVideoQuery">YouTubeVideoQuery</a></dd>
<dd><a href="gdata.service.html#Query">gdata.service.Query</a></dd>
<dd><a href="__builtin__.html#dict">__builtin__.dict</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="YouTubePlaylistQuery-__init__"><strong>__init__</strong></a>(self, playlist_id, text_query<font color="#909090">=None</font>, params<font color="#909090">=None</font>, categories<font color="#909090">=None</font>)</dt></dl>
<hr>
Data descriptors inherited from <a href="gdata.youtube.service.html#YouTubeVideoQuery">YouTubeVideoQuery</a>:<br>
<dl><dt><strong>format</strong></dt>
<dd><tt>The format query parameter</tt></dd>
</dl>
<dl><dt><strong>location</strong></dt>
<dd><tt>The location query parameter</tt></dd>
</dl>
<dl><dt><strong>lr</strong></dt>
<dd><tt>The lr (language restriction) query parameter</tt></dd>
</dl>
<dl><dt><strong>orderby</strong></dt>
<dd><tt>The orderby query parameter</tt></dd>
</dl>
<dl><dt><strong>racy</strong></dt>
<dd><tt>The racy query parameter</tt></dd>
</dl>
<dl><dt><strong>restriction</strong></dt>
<dd><tt>The restriction query parameter</tt></dd>
</dl>
<dl><dt><strong>time</strong></dt>
<dd><tt>The time query parameter</tt></dd>
</dl>
<dl><dt><strong>vq</strong></dt>
<dd><tt>The video query (vq) query parameter</tt></dd>
</dl>
<hr>
Methods inherited from <a href="gdata.service.html#Query">gdata.service.Query</a>:<br>
<dl><dt><a name="YouTubePlaylistQuery-ToUri"><strong>ToUri</strong></a>(self)</dt></dl>
<dl><dt><a name="YouTubePlaylistQuery-__str__"><strong>__str__</strong></a>(self)</dt></dl>
<hr>
Data descriptors inherited from <a href="gdata.service.html#Query">gdata.service.Query</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary for instance variables (if defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list of weak references to the object (if defined)</tt></dd>
</dl>
<dl><dt><strong>alt</strong></dt>
<dd><tt>The feed query's alt parameter</tt></dd>
</dl>
<dl><dt><strong>author</strong></dt>
<dd><tt>The feed query's author parameter</tt></dd>
</dl>
<dl><dt><strong>max_results</strong></dt>
<dd><tt>The feed query's max-results parameter</tt></dd>
</dl>
<dl><dt><strong>published_max</strong></dt>
<dd><tt>The feed query's published-max parameter</tt></dd>
</dl>
<dl><dt><strong>published_min</strong></dt>
<dd><tt>The feed query's published-min parameter</tt></dd>
</dl>
<dl><dt><strong>start_index</strong></dt>
<dd><tt>The feed query's start-index parameter</tt></dd>
</dl>
<dl><dt><strong>text_query</strong></dt>
<dd><tt>The feed query's q parameter</tt></dd>
</dl>
<dl><dt><strong>updated_max</strong></dt>
<dd><tt>The feed query's updated-max parameter</tt></dd>
</dl>
<dl><dt><strong>updated_min</strong></dt>
<dd><tt>The feed query's updated-min parameter</tt></dd>
</dl>
<hr>
Methods inherited from <a href="__builtin__.html#dict">__builtin__.dict</a>:<br>
<dl><dt><a name="YouTubePlaylistQuery-__cmp__"><strong>__cmp__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubePlaylistQuery-__cmp__">__cmp__</a>(y) <==> cmp(x,y)</tt></dd></dl>
<dl><dt><a name="YouTubePlaylistQuery-__contains__"><strong>__contains__</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubePlaylistQuery-__contains__">__contains__</a>(k) -> True if D has a key k, else False</tt></dd></dl>
<dl><dt><a name="YouTubePlaylistQuery-__delitem__"><strong>__delitem__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubePlaylistQuery-__delitem__">__delitem__</a>(y) <==> del x[y]</tt></dd></dl>
<dl><dt><a name="YouTubePlaylistQuery-__eq__"><strong>__eq__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubePlaylistQuery-__eq__">__eq__</a>(y) <==> x==y</tt></dd></dl>
<dl><dt><a name="YouTubePlaylistQuery-__ge__"><strong>__ge__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubePlaylistQuery-__ge__">__ge__</a>(y) <==> x>=y</tt></dd></dl>
<dl><dt><a name="YouTubePlaylistQuery-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubePlaylistQuery-__getattribute__">__getattribute__</a>('name') <==> x.name</tt></dd></dl>
<dl><dt><a name="YouTubePlaylistQuery-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubePlaylistQuery-__getitem__">__getitem__</a>(y) <==> x[y]</tt></dd></dl>
<dl><dt><a name="YouTubePlaylistQuery-__gt__"><strong>__gt__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubePlaylistQuery-__gt__">__gt__</a>(y) <==> x>y</tt></dd></dl>
<dl><dt><a name="YouTubePlaylistQuery-__iter__"><strong>__iter__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubePlaylistQuery-__iter__">__iter__</a>() <==> iter(x)</tt></dd></dl>
<dl><dt><a name="YouTubePlaylistQuery-__le__"><strong>__le__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubePlaylistQuery-__le__">__le__</a>(y) <==> x<=y</tt></dd></dl>
<dl><dt><a name="YouTubePlaylistQuery-__len__"><strong>__len__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubePlaylistQuery-__len__">__len__</a>() <==> len(x)</tt></dd></dl>
<dl><dt><a name="YouTubePlaylistQuery-__lt__"><strong>__lt__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubePlaylistQuery-__lt__">__lt__</a>(y) <==> x<y</tt></dd></dl>
<dl><dt><a name="YouTubePlaylistQuery-__ne__"><strong>__ne__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubePlaylistQuery-__ne__">__ne__</a>(y) <==> x!=y</tt></dd></dl>
<dl><dt><a name="YouTubePlaylistQuery-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubePlaylistQuery-__repr__">__repr__</a>() <==> repr(x)</tt></dd></dl>
<dl><dt><a name="YouTubePlaylistQuery-__setitem__"><strong>__setitem__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubePlaylistQuery-__setitem__">__setitem__</a>(i, y) <==> x[i]=y</tt></dd></dl>
<dl><dt><a name="YouTubePlaylistQuery-__sizeof__"><strong>__sizeof__</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubePlaylistQuery-__sizeof__">__sizeof__</a>() -> size of D in memory, in bytes</tt></dd></dl>
<dl><dt><a name="YouTubePlaylistQuery-clear"><strong>clear</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubePlaylistQuery-clear">clear</a>() -> None. Remove all items from D.</tt></dd></dl>
<dl><dt><a name="YouTubePlaylistQuery-copy"><strong>copy</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubePlaylistQuery-copy">copy</a>() -> a shallow copy of D</tt></dd></dl>
<dl><dt><a name="YouTubePlaylistQuery-get"><strong>get</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubePlaylistQuery-get">get</a>(k[,d]) -> D[k] if k in D, else d. d defaults to None.</tt></dd></dl>
<dl><dt><a name="YouTubePlaylistQuery-has_key"><strong>has_key</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubePlaylistQuery-has_key">has_key</a>(k) -> True if D has a key k, else False</tt></dd></dl>
<dl><dt><a name="YouTubePlaylistQuery-items"><strong>items</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubePlaylistQuery-items">items</a>() -> list of D's (key, value) pairs, as 2-tuples</tt></dd></dl>
<dl><dt><a name="YouTubePlaylistQuery-iteritems"><strong>iteritems</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubePlaylistQuery-iteritems">iteritems</a>() -> an iterator over the (key, value) items of D</tt></dd></dl>
<dl><dt><a name="YouTubePlaylistQuery-iterkeys"><strong>iterkeys</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubePlaylistQuery-iterkeys">iterkeys</a>() -> an iterator over the keys of D</tt></dd></dl>
<dl><dt><a name="YouTubePlaylistQuery-itervalues"><strong>itervalues</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubePlaylistQuery-itervalues">itervalues</a>() -> an iterator over the values of D</tt></dd></dl>
<dl><dt><a name="YouTubePlaylistQuery-keys"><strong>keys</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubePlaylistQuery-keys">keys</a>() -> list of D's keys</tt></dd></dl>
<dl><dt><a name="YouTubePlaylistQuery-pop"><strong>pop</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubePlaylistQuery-pop">pop</a>(k[,d]) -> v, remove specified key and return the corresponding value.<br>
If key is not found, d is returned if given, otherwise KeyError is raised</tt></dd></dl>
<dl><dt><a name="YouTubePlaylistQuery-popitem"><strong>popitem</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubePlaylistQuery-popitem">popitem</a>() -> (k, v), remove and return some (key, value) pair as a<br>
2-tuple; but raise KeyError if D is empty.</tt></dd></dl>
<dl><dt><a name="YouTubePlaylistQuery-setdefault"><strong>setdefault</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubePlaylistQuery-setdefault">setdefault</a>(k[,d]) -> D.<a href="#YouTubePlaylistQuery-get">get</a>(k,d), also set D[k]=d if k not in D</tt></dd></dl>
<dl><dt><a name="YouTubePlaylistQuery-update"><strong>update</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubePlaylistQuery-update">update</a>(E, **F) -> None. Update D from dict/iterable E and F.<br>
If E has a .<a href="#YouTubePlaylistQuery-keys">keys</a>() method, does: for k in E: D[k] = E[k]<br>
If E lacks .<a href="#YouTubePlaylistQuery-keys">keys</a>() method, does: for (k, v) in E: D[k] = v<br>
In either case, this is followed by: for k in F: D[k] = F[k]</tt></dd></dl>
<dl><dt><a name="YouTubePlaylistQuery-values"><strong>values</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubePlaylistQuery-values">values</a>() -> list of D's values</tt></dd></dl>
<hr>
Data and other attributes inherited from <a href="__builtin__.html#dict">__builtin__.dict</a>:<br>
<dl><dt><strong>__hash__</strong> = None</dl>
<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object><dd><tt>T.<a href="#YouTubePlaylistQuery-__new__">__new__</a>(S, ...) -> a new object with type S, a subtype of T</tt></dl>
<dl><dt><strong>fromkeys</strong> = <built-in method fromkeys of type object><dd><tt>dict.<a href="#YouTubePlaylistQuery-fromkeys">fromkeys</a>(S[,v]) -> New dict with keys from S and values equal to v.<br>
v defaults to None.</tt></dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="YouTubeService">class <strong>YouTubeService</strong></a>(<a href="gdata.service.html#GDataService">gdata.service.GDataService</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
<td colspan=2><tt>Client for the YouTube service.<br>
<br>
Performs all documented Google Data YouTube API functions, such as inserting,<br>
updating and deleting videos, comments, playlist, subscriptions etc.<br>
YouTube Service requires authentication for any write, update or delete<br>
actions.<br>
<br>
Attributes:<br>
email: An optional string identifying the user. Required only for<br>
authenticated actions.<br>
password: An optional string identifying the user's password.<br>
source: An optional string identifying the name of your application.<br>
server: An optional address of the YouTube API server. gdata.youtube.com <br>
is provided as the default value.<br>
additional_headers: An optional dictionary containing additional headers<br>
to be passed along with each request. Use to store developer key.<br>
client_id: An optional string identifying your application, required for <br>
authenticated requests, along with a developer key.<br>
developer_key: An optional string value. Register your application at<br>
<a href="http://code.google.com/apis/youtube/dashboard">http://code.google.com/apis/youtube/dashboard</a> to obtain a (free) key.<br> </tt></td></tr>
<tr><td> </td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="gdata.youtube.service.html#YouTubeService">YouTubeService</a></dd>
<dd><a href="gdata.service.html#GDataService">gdata.service.GDataService</a></dd>
<dd><a href="atom.service.html#AtomService">atom.service.AtomService</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="YouTubeService-AddComment"><strong>AddComment</strong></a>(self, comment_text, video_entry)</dt><dd><tt>Add a comment to a video entry.<br>
<br>
Needs authentication. Note that each comment that is posted must contain<br>
the video entry that it is to be posted to.<br>
<br>
Args:<br>
comment_text: A string representing the text of the comment.<br>
video_entry: The YouTubeVideoEntry to be commented on.<br>
<br>
Returns:<br>
True if the comment was added successfully.</tt></dd></dl>
<dl><dt><a name="YouTubeService-AddComplaint"><strong>AddComplaint</strong></a>(self, complaint_text, complaint_term, video_id)</dt><dd><tt>Add a complaint for a particular video entry.<br>
<br>
Needs authentication.<br>
<br>
Args:<br>
complaint_text: A string representing the complaint text.<br>
complaint_term: A string representing the complaint category term.<br>
video_id: A string representing the ID of YouTubeVideoEntry to<br>
complain about.<br>
<br>
Returns:<br>
True if posted successfully.<br>
<br>
Raises:<br>
<a href="#YouTubeError">YouTubeError</a>: Your complaint_term is not valid.</tt></dd></dl>
<dl><dt><a name="YouTubeService-AddContact"><strong>AddContact</strong></a>(self, contact_username, my_username<font color="#909090">='default'</font>)</dt><dd><tt>Add a new contact to the currently authenticated user's contact feed.<br>
<br>
Needs authentication.<br>
<br>
Args:<br>
contact_username: A string representing the username of the contact<br>
that you wish to add.<br>
my_username: An optional string representing the username to whose<br>
contact the new contact is to be added.<br>
<br>
Returns:<br>
A YouTubeContactEntry if added successfully.</tt></dd></dl>
<dl><dt><a name="YouTubeService-AddPlaylist"><strong>AddPlaylist</strong></a>(self, playlist_title, playlist_description, playlist_private<font color="#909090">=None</font>)</dt><dd><tt>Add a new playlist to the currently authenticated users account.<br>
<br>
Needs authentication.<br>
<br>
Args:<br>
playlist_title: A string representing the title for the new playlist.<br>
playlist_description: A string representing the description of the<br>
playlist.<br>
playlist_private: An optional boolean, set to True if the playlist is<br>
to be private.<br>
<br>
Returns:<br>
The YouTubePlaylistEntry if successfully posted.</tt></dd></dl>
<dl><dt><a name="YouTubeService-AddPlaylistVideoEntryToPlaylist"><strong>AddPlaylistVideoEntryToPlaylist</strong></a>(self, playlist_uri, video_id, custom_video_title<font color="#909090">=None</font>, custom_video_description<font color="#909090">=None</font>)</dt><dd><tt>Add a video entry to a playlist, optionally providing a custom title<br>
and description.<br>
<br>
Needs authentication.<br>
<br>
Args:<br>
playlist_uri: A string representing the URI of the playlist to which this<br>
video entry is to be added.<br>
video_id: A string representing the ID of the video entry to add.<br>
custom_video_title: An optional string representing a custom title for<br>
the video (only shown on the playlist).<br>
custom_video_description: An optional string representing a custom<br>
description for the video (only shown on the playlist).<br>
<br>
Returns:<br>
A YouTubePlaylistVideoEntry if successfully posted.</tt></dd></dl>
<dl><dt><a name="YouTubeService-AddRating"><strong>AddRating</strong></a>(self, rating_value, video_entry)</dt><dd><tt>Add a rating to a video entry.<br>
<br>
Needs authentication.<br>
<br>
Args:<br>
rating_value: The integer value for the rating (between 1 and 5).<br>
video_entry: The YouTubeVideoEntry to be rated.<br>
<br>
Returns:<br>
True if the rating was added successfully.<br>
<br>
Raises:<br>
<a href="#YouTubeError">YouTubeError</a>: rating_value must be between 1 and 5 in <a href="#YouTubeService-AddRating">AddRating</a>().</tt></dd></dl>
<dl><dt><a name="YouTubeService-AddSubscriptionToChannel"><strong>AddSubscriptionToChannel</strong></a>(self, username_to_subscribe_to, my_username<font color="#909090">='default'</font>)</dt><dd><tt>Add a new channel subscription to the currently authenticated users<br>
account.<br>
<br>
Needs authentication.<br>
<br>
Args:<br>
username_to_subscribe_to: A string representing the username of the <br>
channel to which we want to subscribe to.<br>
my_username: An optional string representing the name of the user which<br>
we want to subscribe. Defaults to currently authenticated user.<br>
<br>
Returns:<br>
A new YouTubeSubscriptionEntry if successfully posted.</tt></dd></dl>
<dl><dt><a name="YouTubeService-AddSubscriptionToFavorites"><strong>AddSubscriptionToFavorites</strong></a>(self, username, my_username<font color="#909090">='default'</font>)</dt><dd><tt>Add a new subscription to a users favorites to the currently<br>
authenticated user's account.<br>
<br>
Needs authentication<br>
<br>
Args:<br>
username: A string representing the username of the user's favorite feed<br>
to subscribe to.<br>
my_username: An optional string representing the username of the user<br>
that is to be subscribed. Defaults to currently authenticated user.<br>
<br>
Returns:<br>
A new YouTubeSubscriptionEntry if successful.</tt></dd></dl>
<dl><dt><a name="YouTubeService-AddSubscriptionToQuery"><strong>AddSubscriptionToQuery</strong></a>(self, query, my_username<font color="#909090">='default'</font>)</dt><dd><tt>Add a new subscription to a specific keyword query to the currently<br>
authenticated user's account.<br>
<br>
Needs authentication<br>
<br>
Args:<br>
query: A string representing the keyword query to subscribe to.<br>
my_username: An optional string representing the username of the user<br>
that is to be subscribed. Defaults to currently authenticated user.<br>
<br>
Returns:<br>
A new YouTubeSubscriptionEntry if successful.</tt></dd></dl>
<dl><dt><a name="YouTubeService-AddVideoEntryToFavorites"><strong>AddVideoEntryToFavorites</strong></a>(self, video_entry, username<font color="#909090">='default'</font>)</dt><dd><tt>Add a video entry to a users favorite feed.<br>
<br>
Needs authentication.<br>
<br>
Args:<br>
video_entry: The YouTubeVideoEntry to add.<br>
username: An optional string representing the username to whose favorite<br>
feed you wish to add the entry. Defaults to the currently<br>
authenticated user.<br>
Returns:<br>
The posted YouTubeVideoEntry if successfully posted.</tt></dd></dl>
<dl><dt><a name="YouTubeService-AddVideoResponse"><strong>AddVideoResponse</strong></a>(self, video_id_to_respond_to, video_response)</dt><dd><tt>Add a video response.<br>
<br>
Needs authentication.<br>
<br>
Args:<br>
video_id_to_respond_to: A string representing the ID of the video to be<br>
responded to.<br>
video_response: YouTubeVideoEntry to be posted as a response.<br>
<br>
Returns:<br>
True if video response was posted successfully.</tt></dd></dl>
<dl><dt><a name="YouTubeService-CheckUploadStatus"><strong>CheckUploadStatus</strong></a>(self, video_entry<font color="#909090">=None</font>, video_id<font color="#909090">=None</font>)</dt><dd><tt>Check upload status on a recently uploaded video entry.<br>
<br>
Needs authentication. Either video_entry or video_id must be provided.<br>
<br>
Args:<br>
video_entry: An optional YouTubeVideoEntry whose upload status to check<br>
video_id: An optional string representing the ID of the uploaded video<br>
whose status is to be checked.<br>
<br>
Returns:<br>
A tuple containing (video_upload_state, detailed_message) or None if<br>
no status information is found.<br>
<br>
Raises:<br>
<a href="#YouTubeError">YouTubeError</a>: You must provide at least a video_entry or a video_id to the<br>
<a href="#YouTubeService-CheckUploadStatus">CheckUploadStatus</a>() method.</tt></dd></dl>
<dl><dt><a name="YouTubeService-DeleteContact"><strong>DeleteContact</strong></a>(self, contact_username, my_username<font color="#909090">='default'</font>)</dt><dd><tt>Delete a contact from a users contact feed.<br>
<br>
Needs authentication.<br>
<br>
Args:<br>
contact_username: A string representing the username of the contact<br>
that is to be deleted.<br>
my_username: An optional string representing the username of the user's<br>
contact feed from which to delete the contact. Defaults to the<br>
currently authenticated user.<br>
<br>
Returns:<br>
True if the contact was deleted successfully</tt></dd></dl>
<dl><dt><a name="YouTubeService-DeletePlaylist"><strong>DeletePlaylist</strong></a>(self, playlist_uri)</dt><dd><tt>Delete a playlist from the currently authenticated users playlists.<br>
<br>
Needs authentication.<br>
<br>
Args:<br>
playlist_uri: A string representing the URI of the playlist that is<br>
to be deleted.<br>
<br>
Returns:<br>
True if successfully deleted.</tt></dd></dl>
<dl><dt><a name="YouTubeService-DeletePlaylistVideoEntry"><strong>DeletePlaylistVideoEntry</strong></a>(self, playlist_uri, playlist_video_entry_id)</dt><dd><tt>Delete a playlist video entry from a playlist.<br>
<br>
Needs authentication.<br>
<br>
Args:<br>
playlist_uri: A URI representing the playlist from which the playlist<br>
video entry is to be removed from.<br>
playlist_video_entry_id: A string representing id of the playlist video<br>
entry that is to be removed.<br>
<br>
Returns:<br>
True if entry was successfully deleted.</tt></dd></dl>
<dl><dt><a name="YouTubeService-DeleteSubscription"><strong>DeleteSubscription</strong></a>(self, subscription_uri)</dt><dd><tt>Delete a subscription from the currently authenticated user's account.<br>
<br>
Needs authentication.<br>
<br>
Args:<br>
subscription_uri: A string representing the URI of the subscription that<br>
is to be deleted.<br>
<br>
Returns:<br>
True if deleted successfully.</tt></dd></dl>
<dl><dt><a name="YouTubeService-DeleteVideoEntry"><strong>DeleteVideoEntry</strong></a>(self, video_entry)</dt><dd><tt>Deletes a video entry.<br>
<br>
Needs authentication.<br>
<br>
Args:<br>
video_entry: The YouTubeVideoEntry to be deleted.<br>
<br>
Returns:<br>
True if entry was deleted successfully.</tt></dd></dl>
<dl><dt><a name="YouTubeService-DeleteVideoEntryFromFavorites"><strong>DeleteVideoEntryFromFavorites</strong></a>(self, video_id, username<font color="#909090">='default'</font>)</dt><dd><tt>Delete a video entry from the users favorite feed.<br>
<br>
Needs authentication.<br>
<br>
Args:<br>
video_id: A string representing the ID of the video that is to be removed<br>
username: An optional string representing the username of the user's<br>
favorite feed. Defaults to the currently authenticated user.<br>
<br>
Returns:<br>
True if entry was successfully deleted.</tt></dd></dl>
<dl><dt><a name="YouTubeService-DeleteVideoResponse"><strong>DeleteVideoResponse</strong></a>(self, video_id, response_video_id)</dt><dd><tt>Delete a video response.<br>
<br>
Needs authentication.<br>
<br>
Args:<br>
video_id: A string representing the ID of video that contains the<br>
response.<br>
response_video_id: A string representing the ID of the video that was<br>
posted as a response.<br>
<br>
Returns:<br>
True if video response was deleted succcessfully.</tt></dd></dl>
<dl><dt><a name="YouTubeService-GetFormUploadToken"><strong>GetFormUploadToken</strong></a>(self, video_entry, uri<font color="#909090">='https://gdata.youtube.com/action/GetUploadToken'</font>)</dt><dd><tt>Receives a YouTube Token and a YouTube PostUrl from a YouTubeVideoEntry.<br>
<br>
Needs authentication.<br>
<br>
Args:<br>
video_entry: The YouTubeVideoEntry to upload (meta-data only).<br>
uri: An optional string representing the URI from where to fetch the<br>
token information. Defaults to the YOUTUBE_UPLOADTOKEN_URI.<br>
<br>
Returns:<br>
A tuple containing the URL to which to post your video file, along<br>
with the youtube token that must be included with your upload in the<br>
form of: (post_url, youtube_token).</tt></dd></dl>
<dl><dt><a name="YouTubeService-GetMostDiscussedVideoFeed"><strong>GetMostDiscussedVideoFeed</strong></a>(self)</dt><dd><tt>Retrieve the 'most_discussed' standard video feed.<br>
<br>
Returns:<br>
A YouTubeVideoFeed if successfully retrieved.</tt></dd></dl>
<dl><dt><a name="YouTubeService-GetMostLinkedVideoFeed"><strong>GetMostLinkedVideoFeed</strong></a>(self)</dt><dd><tt>Retrieve the 'most_linked' standard video feed.<br>
<br>
Returns:<br>
A YouTubeVideoFeed if successfully retrieved.</tt></dd></dl>
<dl><dt><a name="YouTubeService-GetMostRecentVideoFeed"><strong>GetMostRecentVideoFeed</strong></a>(self)</dt><dd><tt>Retrieve the 'most_recent' standard video feed.<br>
<br>
Returns:<br>
A YouTubeVideoFeed if successfully retrieved.</tt></dd></dl>
<dl><dt><a name="YouTubeService-GetMostRespondedVideoFeed"><strong>GetMostRespondedVideoFeed</strong></a>(self)</dt><dd><tt>Retrieve the 'most_responded' standard video feed.<br>
<br>
Returns:<br>
A YouTubeVideoFeed if successfully retrieved.</tt></dd></dl>
<dl><dt><a name="YouTubeService-GetMostViewedVideoFeed"><strong>GetMostViewedVideoFeed</strong></a>(self)</dt><dd><tt>Retrieve the 'most_viewed' standard video feed.<br>
<br>
Returns:<br>
A YouTubeVideoFeed if successfully retrieved.</tt></dd></dl>
<dl><dt><a name="YouTubeService-GetRecentlyFeaturedVideoFeed"><strong>GetRecentlyFeaturedVideoFeed</strong></a>(self)</dt><dd><tt>Retrieve the 'recently_featured' standard video feed.<br>
<br>
Returns:<br>
A YouTubeVideoFeed if successfully retrieved.</tt></dd></dl>
<dl><dt><a name="YouTubeService-GetTopFavoritesVideoFeed"><strong>GetTopFavoritesVideoFeed</strong></a>(self)</dt><dd><tt>Retrieve the 'top_favorites' standard video feed.<br>
<br>
Returns:<br>
A YouTubeVideoFeed if successfully retrieved.</tt></dd></dl>
<dl><dt><a name="YouTubeService-GetTopRatedVideoFeed"><strong>GetTopRatedVideoFeed</strong></a>(self)</dt><dd><tt>Retrieve the 'top_rated' standard video feed.<br>
<br>
Returns:<br>
A YouTubeVideoFeed if successfully retrieved.</tt></dd></dl>
<dl><dt><a name="YouTubeService-GetUserFavoritesFeed"><strong>GetUserFavoritesFeed</strong></a>(self, username<font color="#909090">='default'</font>)</dt><dd><tt>Retrieve the favorites feed for a given user.<br>
<br>
Args:<br>
username: An optional string representing the username whose favorites<br>
feed is to be retrieved. Defaults to the currently authenticated user.<br>
<br>
Returns:<br>
A YouTubeVideoFeed if successfully retrieved.</tt></dd></dl>
<dl><dt><a name="YouTubeService-GetWatchOnMobileVideoFeed"><strong>GetWatchOnMobileVideoFeed</strong></a>(self)</dt><dd><tt>Retrieve the 'watch_on_mobile' standard video feed.<br>
<br>
Returns:<br>
A YouTubeVideoFeed if successfully retrieved.</tt></dd></dl>
<dl><dt><a name="YouTubeService-GetYouTubeContactEntry"><strong>GetYouTubeContactEntry</strong></a>(self, uri)</dt><dd><tt>Retrieve a YouTubeContactEntry.<br>
<br>
Args:<br>
uri: A string representing the URI of the contact entry that is to<br>
be retrieved.<br>
<br>
Returns:<br>
A YouTubeContactEntry if successfully retrieved.</tt></dd></dl>
<dl><dt><a name="YouTubeService-GetYouTubeContactFeed"><strong>GetYouTubeContactFeed</strong></a>(self, uri<font color="#909090">=None</font>, username<font color="#909090">='default'</font>)</dt><dd><tt>Retrieve a YouTubeContactFeed.<br>
<br>
Either a uri or a username must be provided.<br>
<br>
Args:<br>
uri: An optional string representing the URI of the contact feed that<br>
is to be retrieved.<br>
username: An optional string representing the username. Defaults to the<br>
currently authenticated user.<br>
<br>
Returns:<br>
A YouTubeContactFeed if successfully retrieved.<br>
<br>
Raises:<br>
<a href="#YouTubeError">YouTubeError</a>: You must provide at least a uri or a username to the<br>
<a href="#YouTubeService-GetYouTubeContactFeed">GetYouTubeContactFeed</a>() method.</tt></dd></dl>
<dl><dt><a name="YouTubeService-GetYouTubePlaylistEntry"><strong>GetYouTubePlaylistEntry</strong></a>(self, uri)</dt><dd><tt>Retrieve a YouTubePlaylistEntry.<br>
<br>
Args:<br>
uri: A string representing the URI of the playlist feed that is to<br>
be retrieved.<br>
<br>
Returns:<br>
A YouTubePlaylistEntry if successfully retrieved.</tt></dd></dl>
<dl><dt><a name="YouTubeService-GetYouTubePlaylistFeed"><strong>GetYouTubePlaylistFeed</strong></a>(self, uri<font color="#909090">=None</font>, username<font color="#909090">='default'</font>)</dt><dd><tt>Retrieve a YouTubePlaylistFeed (a feed of playlists for a user).<br>
<br>
Either a uri or a username must be provided.<br>
<br>
Args:<br>
uri: An optional string representing the URI of the playlist feed that<br>
is to be retrieved.<br>
username: An optional string representing the username. Defaults to the<br>
currently authenticated user.<br>
<br>
Returns:<br>
A YouTubePlaylistFeed if successfully retrieved.<br>
<br>
Raises:<br>
<a href="#YouTubeError">YouTubeError</a>: You must provide at least a uri or a username to the<br>
<a href="#YouTubeService-GetYouTubePlaylistFeed">GetYouTubePlaylistFeed</a>() method.</tt></dd></dl>
<dl><dt><a name="YouTubeService-GetYouTubePlaylistVideoFeed"><strong>GetYouTubePlaylistVideoFeed</strong></a>(self, uri<font color="#909090">=None</font>, playlist_id<font color="#909090">=None</font>)</dt><dd><tt>Retrieve a YouTubePlaylistVideoFeed (a feed of videos on a playlist).<br>
<br>
Either a uri or a playlist_id must be provided.<br>
<br>
Args:<br>
uri: An optional string representing the URI of the playlist video feed<br>
that is to be retrieved.<br>
playlist_id: An optional string representing the Id of the playlist whose<br>
playlist video feed is to be retrieved.<br>
<br>
Returns:<br>
A YouTubePlaylistVideoFeed if successfully retrieved.<br>
<br>
Raises:<br>
<a href="#YouTubeError">YouTubeError</a>: You must provide at least a uri or a playlist_id to the<br>
<a href="#YouTubeService-GetYouTubePlaylistVideoFeed">GetYouTubePlaylistVideoFeed</a>() method.</tt></dd></dl>
<dl><dt><a name="YouTubeService-GetYouTubeRelatedVideoFeed"><strong>GetYouTubeRelatedVideoFeed</strong></a>(self, uri<font color="#909090">=None</font>, video_id<font color="#909090">=None</font>)</dt><dd><tt>Retrieve a YouTubeRelatedVideoFeed.<br>
<br>
Either a uri for the feed or a video_id is required.<br>
<br>
Args:<br>
uri: An optional string representing the URI of the feed that is to<br>
be retrieved.<br>
video_id: An optional string representing the ID of the video for which<br>
to retrieve the related video feed.<br>
<br>
Returns:<br>
A YouTubeRelatedVideoFeed if successfully retrieved.<br>
<br>
Raises:<br>
<a href="#YouTubeError">YouTubeError</a>: You must provide at least a uri or a video_id to the<br>
<a href="#YouTubeService-GetYouTubeRelatedVideoFeed">GetYouTubeRelatedVideoFeed</a>() method.</tt></dd></dl>
<dl><dt><a name="YouTubeService-GetYouTubeSubscriptionEntry"><strong>GetYouTubeSubscriptionEntry</strong></a>(self, uri)</dt><dd><tt>Retrieve a YouTubeSubscriptionEntry.<br>
<br>
Args:<br>
uri: A string representing the URI of the entry that is to be retrieved.<br>
<br>
Returns:<br>
A YouTubeVideoSubscriptionEntry if successfully retrieved.</tt></dd></dl>
<dl><dt><a name="YouTubeService-GetYouTubeSubscriptionFeed"><strong>GetYouTubeSubscriptionFeed</strong></a>(self, uri<font color="#909090">=None</font>, username<font color="#909090">='default'</font>)</dt><dd><tt>Retrieve a YouTubeSubscriptionFeed.<br>
<br>
Either the uri of the feed or a username must be provided.<br>
<br>
Args:<br>
uri: An optional string representing the URI of the feed that is to<br>
be retrieved.<br>
username: An optional string representing the username whose subscription<br>
feed is to be retrieved. Defaults to the currently authenticted user.<br>
<br>
Returns:<br>
A YouTubeVideoSubscriptionFeed if successfully retrieved.</tt></dd></dl>
<dl><dt><a name="YouTubeService-GetYouTubeUserEntry"><strong>GetYouTubeUserEntry</strong></a>(self, uri<font color="#909090">=None</font>, username<font color="#909090">=None</font>)</dt><dd><tt>Retrieve a YouTubeUserEntry.<br>
<br>
Either a uri or a username must be provided.<br>
<br>
Args:<br>
uri: An optional string representing the URI of the user entry that is<br>
to be retrieved.<br>
username: An optional string representing the username.<br>
<br>
Returns:<br>
A YouTubeUserEntry if successfully retrieved.<br>
<br>
Raises:<br>
<a href="#YouTubeError">YouTubeError</a>: You must provide at least a uri or a username to the<br>
<a href="#YouTubeService-GetYouTubeUserEntry">GetYouTubeUserEntry</a>() method.</tt></dd></dl>
<dl><dt><a name="YouTubeService-GetYouTubeUserFeed"><strong>GetYouTubeUserFeed</strong></a>(self, uri<font color="#909090">=None</font>, username<font color="#909090">=None</font>)</dt><dd><tt>Retrieve a YouTubeVideoFeed of user uploaded videos<br>
<br>
Either a uri or a username must be provided. This will retrieve list<br>
of videos uploaded by specified user. The uri will be of format<br>
"<a href="http://gdata.youtube.com/feeds/api/users/{username}/uploads">http://gdata.youtube.com/feeds/api/users/{username}/uploads</a>".<br>
<br>
Args:<br>
uri: An optional string representing the URI of the user feed that is<br>
to be retrieved.<br>
username: An optional string representing the username.<br>
<br>
Returns:<br>
A YouTubeUserFeed if successfully retrieved.<br>
<br>
Raises:<br>
<a href="#YouTubeError">YouTubeError</a>: You must provide at least a uri or a username to the<br>
<a href="#YouTubeService-GetYouTubeUserFeed">GetYouTubeUserFeed</a>() method.</tt></dd></dl>
<dl><dt><a name="YouTubeService-GetYouTubeVideoCommentEntry"><strong>GetYouTubeVideoCommentEntry</strong></a>(self, uri)</dt><dd><tt>Retrieve a YouTubeVideoCommentEntry.<br>
<br>
Args:<br>
uri: A string representing the URI of the comment entry that is to<br>
be retrieved.<br>
<br>
Returns:<br>
A YouTubeCommentEntry if successfully retrieved.</tt></dd></dl>
<dl><dt><a name="YouTubeService-GetYouTubeVideoCommentFeed"><strong>GetYouTubeVideoCommentFeed</strong></a>(self, uri<font color="#909090">=None</font>, video_id<font color="#909090">=None</font>)</dt><dd><tt>Retrieve a YouTubeVideoCommentFeed.<br>
<br>
Either a uri or a video_id must be provided.<br>
<br>
Args:<br>
uri: An optional string representing the URI of the comment feed that<br>
is to be retrieved.<br>
video_id: An optional string representing the ID of the video for which<br>
to retrieve the comment feed.<br>
<br>
Returns:<br>
A YouTubeVideoCommentFeed if successfully retrieved.<br>
<br>
Raises:<br>
<a href="#YouTubeError">YouTubeError</a>: You must provide at least a uri or a video_id to the<br>
<a href="#YouTubeService-GetYouTubeVideoCommentFeed">GetYouTubeVideoCommentFeed</a>() method.</tt></dd></dl>
<dl><dt><a name="YouTubeService-GetYouTubeVideoEntry"><strong>GetYouTubeVideoEntry</strong></a>(self, uri<font color="#909090">=None</font>, video_id<font color="#909090">=None</font>)</dt><dd><tt>Retrieve a YouTubeVideoEntry.<br>
<br>
Either a uri or a video_id must be provided.<br>
<br>
Args:<br>
uri: An optional string representing the URI of the entry that is to <br>
be retrieved.<br>
video_id: An optional string representing the ID of the video.<br>
<br>
Returns:<br>
A YouTubeVideoFeed if successfully retrieved.<br>
<br>
Raises:<br>
<a href="#YouTubeError">YouTubeError</a>: You must provide at least a uri or a video_id to the<br>
<a href="#YouTubeService-GetYouTubeVideoEntry">GetYouTubeVideoEntry</a>() method.</tt></dd></dl>
<dl><dt><a name="YouTubeService-GetYouTubeVideoFeed"><strong>GetYouTubeVideoFeed</strong></a>(self, uri)</dt><dd><tt>Retrieve a YouTubeVideoFeed.<br>
<br>
Args:<br>
uri: A string representing the URI of the feed that is to be retrieved.<br>
<br>
Returns:<br>
A YouTubeVideoFeed if successfully retrieved.</tt></dd></dl>
<dl><dt><a name="YouTubeService-GetYouTubeVideoResponseEntry"><strong>GetYouTubeVideoResponseEntry</strong></a>(self, uri)</dt><dd><tt>Retrieve a YouTubeVideoResponseEntry.<br>
<br>
Args:<br>
uri: A string representing the URI of the video response entry that<br>
is to be retrieved.<br>
<br>
Returns:<br>
A YouTubeVideoResponseEntry if successfully retrieved.</tt></dd></dl>
<dl><dt><a name="YouTubeService-GetYouTubeVideoResponseFeed"><strong>GetYouTubeVideoResponseFeed</strong></a>(self, uri<font color="#909090">=None</font>, video_id<font color="#909090">=None</font>)</dt><dd><tt>Retrieve a YouTubeVideoResponseFeed.<br>
<br>
Either a uri or a playlist_id must be provided.<br>
<br>
Args:<br>
uri: An optional string representing the URI of the video response feed<br>
that is to be retrieved.<br>
video_id: An optional string representing the ID of the video whose<br>
response feed is to be retrieved.<br>
<br>
Returns:<br>
A YouTubeVideoResponseFeed if successfully retrieved.<br>
<br>
Raises:<br>
<a href="#YouTubeError">YouTubeError</a>: You must provide at least a uri or a video_id to the<br>
<a href="#YouTubeService-GetYouTubeVideoResponseFeed">GetYouTubeVideoResponseFeed</a>() method.</tt></dd></dl>
<dl><dt><a name="YouTubeService-InsertVideoEntry"><strong>InsertVideoEntry</strong></a>(self, video_entry, filename_or_handle, youtube_username<font color="#909090">='default'</font>, content_type<font color="#909090">='video/quicktime'</font>)</dt><dd><tt>Upload a new video to YouTube using the direct upload mechanism.<br>
<br>
Needs authentication.<br>
<br>
Args:<br>
video_entry: The YouTubeVideoEntry to upload.<br>
filename_or_handle: A file-like object or file name where the video<br>
will be read from.<br>
youtube_username: An optional string representing the username into whose<br>
account this video is to be uploaded to. Defaults to the currently<br>
authenticated user.<br>
content_type: An optional string representing internet media type<br>
(a.k.a. mime type) of the media object. Currently the YouTube API<br>
supports these types:<br>
o video/mpeg<br>
o video/quicktime<br>
o video/x-msvideo<br>
o video/mp4<br>
o video/x-flv<br>
<br>
Returns:<br>
The newly created YouTubeVideoEntry if successful.<br>
<br>
Raises:<br>
AssertionError: video_entry must be a gdata.youtube.VideoEntry instance.<br>
<a href="#YouTubeError">YouTubeError</a>: An error occurred trying to read the video file provided.<br>
gdata.service.<a href="#RequestError">RequestError</a>: An error occurred trying to upload the video<br>
to the API server.</tt></dd></dl>
<dl><dt><a name="YouTubeService-Query"><strong>Query</strong></a>(self, uri)</dt><dd><tt>Performs a query and returns a resulting feed or entry.<br>
<br>
Args:<br>
uri: A string representing the URI of the feed that is to be queried.<br>
<br>
Returns:<br>
On success, a tuple in the form:<br>
(boolean succeeded=True, ElementTree._Element result)<br>
On failure, a tuple in the form:<br>
(boolean succeeded=False, {'status': HTTP status code from server,<br>
'reason': HTTP reason from the server,<br>
'body': HTTP body of the server's response})</tt></dd></dl>
<dl><dt><a name="YouTubeService-UpdateContact"><strong>UpdateContact</strong></a>(self, contact_username, new_contact_status, new_contact_category, my_username<font color="#909090">='default'</font>)</dt><dd><tt>Update a contact, providing a new status and a new category.<br>
<br>
Needs authentication.<br>
<br>
Args:<br>
contact_username: A string representing the username of the contact<br>
that is to be updated.<br>
new_contact_status: A string representing the new status of the contact.<br>
This can either be set to 'accepted' or 'rejected'.<br>
new_contact_category: A string representing the new category for the<br>
contact, either 'Friends' or 'Family'.<br>
my_username: An optional string representing the username of the user<br>
whose contact feed we are modifying. Defaults to the currently<br>
authenticated user.<br>
<br>
Returns:<br>
A YouTubeContactEntry if updated succesfully.<br>
<br>
Raises:<br>
<a href="#YouTubeError">YouTubeError</a>: New contact status must be within the accepted values. Or<br>
new contact category must be within the accepted categories.</tt></dd></dl>
<dl><dt><a name="YouTubeService-UpdatePlaylist"><strong>UpdatePlaylist</strong></a>(self, playlist_id, new_playlist_title, new_playlist_description, playlist_private<font color="#909090">=None</font>, username<font color="#909090">='default'</font>)</dt><dd><tt>Update a playlist with new meta-data.<br>
<br>
Needs authentication.<br>
<br>
Args:<br>
playlist_id: A string representing the ID of the playlist to be updated.<br>
new_playlist_title: A string representing a new title for the playlist.<br>
new_playlist_description: A string representing a new description for the<br>
playlist.<br>
playlist_private: An optional boolean, set to True if the playlist is<br>
to be private.<br>
username: An optional string representing the username whose playlist is<br>
to be updated. Defaults to the currently authenticated user.<br>
<br>
Returns:<br>
A YouTubePlaylistEntry if the update was successful.</tt></dd></dl>
<dl><dt><a name="YouTubeService-UpdatePlaylistVideoEntryMetaData"><strong>UpdatePlaylistVideoEntryMetaData</strong></a>(self, playlist_uri, playlist_entry_id, new_video_title, new_video_description, new_video_position)</dt><dd><tt>Update the meta data for a YouTubePlaylistVideoEntry.<br>
<br>
Needs authentication.<br>
<br>
Args:<br>
playlist_uri: A string representing the URI of the playlist that contains<br>
the entry to be updated.<br>
playlist_entry_id: A string representing the ID of the entry to be<br>
updated.<br>
new_video_title: A string representing the new title for the video entry.<br>
new_video_description: A string representing the new description for<br>
the video entry.<br>
new_video_position: An integer representing the new position on the<br>
playlist for the video.<br>
<br>
Returns:<br>
A YouTubePlaylistVideoEntry if the update was successful.</tt></dd></dl>
<dl><dt><a name="YouTubeService-UpdateVideoEntry"><strong>UpdateVideoEntry</strong></a>(self, video_entry)</dt><dd><tt>Updates a video entry's meta-data.<br>
<br>
Needs authentication.<br>
<br>
Args:<br>
video_entry: The YouTubeVideoEntry to update, containing updated<br>
meta-data.<br>
<br>
Returns:<br>
An updated YouTubeVideoEntry on success or None.</tt></dd></dl>
<dl><dt><a name="YouTubeService-YouTubeQuery"><strong>YouTubeQuery</strong></a>(self, query)</dt><dd><tt>Performs a YouTube specific query and returns a resulting feed or entry.<br>
<br>
Args:<br>
query: A <a href="gdata.service.html#Query">Query</a> object or one if its sub-classes (<a href="#YouTubeVideoQuery">YouTubeVideoQuery</a>,<br>
<a href="#YouTubeUserQuery">YouTubeUserQuery</a> or <a href="#YouTubePlaylistQuery">YouTubePlaylistQuery</a>).<br>
<br>
Returns:<br>
Depending on the type of <a href="gdata.service.html#Query">Query</a> object submitted returns either a<br>
YouTubeVideoFeed, a YouTubeUserFeed, a YouTubePlaylistFeed. If the<br>
<a href="gdata.service.html#Query">Query</a> object provided was not YouTube-related, a tuple is returned.<br>
On success the tuple will be in this form:<br>
(boolean succeeded=True, ElementTree._Element result)<br>
On failure, the tuple will be in this form:<br>
(boolean succeeded=False, {'status': HTTP status code from server,<br>
'reason': HTTP reason from the server,<br>
'body': HTTP body of the server response})</tt></dd></dl>
<dl><dt><a name="YouTubeService-__init__"><strong>__init__</strong></a>(self, email<font color="#909090">=None</font>, password<font color="#909090">=None</font>, source<font color="#909090">=None</font>, server<font color="#909090">='gdata.youtube.com'</font>, additional_headers<font color="#909090">=None</font>, client_id<font color="#909090">=None</font>, developer_key<font color="#909090">=None</font>, **kwargs)</dt><dd><tt>Creates a client for the YouTube service.<br>
<br>
Args:<br>
email: string (optional) The user's email address, used for<br>
authentication.<br>
password: string (optional) The user's password.<br>
source: string (optional) The name of the user's application.<br>
server: string (optional) The name of the server to which a connection<br>
will be opened. Default value: 'gdata.youtube.com'.<br>
client_id: string (optional) Identifies your application, required for<br>
authenticated requests, along with a developer key.<br>
developer_key: string (optional) Register your application at<br>
<a href="http://code.google.com/apis/youtube/dashboard">http://code.google.com/apis/youtube/dashboard</a> to obtain a (free) key.<br>
**kwargs: The other parameters to pass to gdata.service.<a href="gdata.service.html#GDataService">GDataService</a><br>
constructor.</tt></dd></dl>
<hr>
Data descriptors defined here:<br>
<dl><dt><strong>client_id</strong></dt>
<dd><tt>The ClientId property</tt></dd>
</dl>
<dl><dt><strong>developer_key</strong></dt>
<dd><tt>The Developer Key property</tt></dd>
</dl>
<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>ssl</strong> = True</dl>
<hr>
Methods inherited from <a href="gdata.service.html#GDataService">gdata.service.GDataService</a>:<br>
<dl><dt><a name="YouTubeService-AuthSubTokenInfo"><strong>AuthSubTokenInfo</strong></a>(self)</dt><dd><tt>Fetches the AuthSub token's metadata from the server.<br>
<br>
Raises:<br>
NonAuthSubToken if the user's auth token is not an AuthSub token</tt></dd></dl>
<dl><dt><a name="YouTubeService-ClientLogin"><strong>ClientLogin</strong></a>(self, username, password, account_type<font color="#909090">=None</font>, service<font color="#909090">=None</font>, auth_service_url<font color="#909090">=None</font>, source<font color="#909090">=None</font>, captcha_token<font color="#909090">=None</font>, captcha_response<font color="#909090">=None</font>)</dt><dd><tt>Convenience method for authenticating using ProgrammaticLogin. <br>
<br>
Sets values for email, password, and other optional members.<br>
<br>
Args:<br>
username:<br>
password:<br>
account_type: string (optional)<br>
service: string (optional)<br>
auth_service_url: string (optional)<br>
captcha_token: string (optional)<br>
captcha_response: string (optional)</tt></dd></dl>
<dl><dt><a name="YouTubeService-Delete"><strong>Delete</strong></a>(self, uri, extra_headers<font color="#909090">=None</font>, url_params<font color="#909090">=None</font>, escape_params<font color="#909090">=True</font>, redirects_remaining<font color="#909090">=4</font>)</dt><dd><tt>Deletes the entry at the given URI.<br>
<br>
Args:<br>
uri: string The URI of the entry to be deleted. Example: <br>
'/base/feeds/items/ITEM-ID'<br>
extra_headers: dict (optional) HTTP headers which are to be included.<br>
The client automatically sets the Content-Type and<br>
Authorization headers.<br>
url_params: dict (optional) Additional URL parameters to be included<br>
in the URI. These are translated into query arguments<br>
in the form '&dict_key=value&...'.<br>
Example: {'max-results': '250'} becomes &max-results=250<br>
escape_params: boolean (optional) If false, the calling code has already<br>
ensured that the query will form a valid URL (all<br>
reserved characters have been escaped). If true, this<br>
method will escape the query and any URL parameters<br>
provided.<br>
<br>
Returns:<br>
True if the entry was deleted.</tt></dd></dl>
<dl><dt><a name="YouTubeService-FetchOAuthRequestToken"><strong>FetchOAuthRequestToken</strong></a>(self, scopes<font color="#909090">=None</font>, extra_parameters<font color="#909090">=None</font>, request_url<font color="#909090">='https://www.google.com/accounts/OAuthGetRequestToken'</font>, oauth_callback<font color="#909090">=None</font>)</dt><dd><tt>Fetches and sets the OAuth request token and returns it.<br>
<br>
Args:<br>
scopes: string or list of string base URL(s) of the service(s) to be<br>
accessed. If None, then this method tries to determine the<br>
scope(s) from the current service.<br>
extra_parameters: dict (optional) key-value pairs as any additional<br>
parameters to be included in the URL and signature while making a<br>
request for fetching an OAuth request token. All the OAuth parameters<br>
are added by default. But if provided through this argument, any<br>
default parameters will be overwritten. For e.g. a default parameter<br>
oauth_version 1.0 can be overwritten if<br>
extra_parameters = {'oauth_version': '2.0'}<br>
request_url: Request token URL. The default is<br>
'https://www.google.com/accounts/OAuthGetRequestToken'.<br>
oauth_callback: str (optional) If set, it is assume the client is using<br>
the OAuth v1.0a protocol where the callback url is sent in the<br>
request token step. If the oauth_callback is also set in<br>
extra_params, this value will override that one.<br>
<br>
Returns:<br>
The fetched request token as a gdata.auth.OAuthToken object.<br>
<br>
Raises:<br>
FetchingOAuthRequestTokenFailed if the server responded to the request<br>
with an error.</tt></dd></dl>
<dl><dt><a name="YouTubeService-GenerateAuthSubURL"><strong>GenerateAuthSubURL</strong></a>(self, next, scope, secure<font color="#909090">=False</font>, session<font color="#909090">=True</font>, domain<font color="#909090">='default'</font>)</dt><dd><tt>Generate a URL at which the user will login and be redirected back.<br>
<br>
Users enter their credentials on a Google login page and a token is sent<br>
to the URL specified in next. See documentation for AuthSub login at:<br>
<a href="http://code.google.com/apis/accounts/docs/AuthSub.html">http://code.google.com/apis/accounts/docs/AuthSub.html</a><br>
<br>
Args:<br>
next: string The URL user will be sent to after logging in.<br>
scope: string or list of strings. The URLs of the services to be <br>
accessed.<br>
secure: boolean (optional) Determines whether or not the issued token<br>
is a secure token.<br>
session: boolean (optional) Determines whether or not the issued token<br>
can be upgraded to a session token.</tt></dd></dl>
<dl><dt><a name="YouTubeService-GenerateOAuthAuthorizationURL"><strong>GenerateOAuthAuthorizationURL</strong></a>(self, request_token<font color="#909090">=None</font>, callback_url<font color="#909090">=None</font>, extra_params<font color="#909090">=None</font>, include_scopes_in_callback<font color="#909090">=False</font>, scopes_param_prefix<font color="#909090">='oauth_token_scope'</font>, request_url<font color="#909090">='https://www.google.com/accounts/OAuthAuthorizeToken'</font>)</dt><dd><tt>Generates URL at which user will login to authorize the request token.<br>
<br>
Args:<br>
request_token: gdata.auth.OAuthToken (optional) OAuth request token.<br>
If not specified, then the current token will be used if it is of<br>
type <gdata.auth.OAuthToken>, else it is found by looking in the<br>
token_store by looking for a token for the current scope. <br>
callback_url: string (optional) The URL user will be sent to after<br>
logging in and granting access.<br>
extra_params: dict (optional) Additional parameters to be sent.<br>
include_scopes_in_callback: Boolean (default=False) if set to True, and<br>
if 'callback_url' is present, the 'callback_url' will be modified to<br>
include the scope(s) from the request token as a URL parameter. The<br>
key for the 'callback' URL's scope parameter will be<br>
OAUTH_SCOPE_URL_PARAM_NAME. The benefit of including the scope URL as<br>
a parameter to the 'callback' URL, is that the page which receives<br>
the OAuth token will be able to tell which URLs the token grants<br>
access to.<br>
scopes_param_prefix: string (default='oauth_token_scope') The URL<br>
parameter key which maps to the list of valid scopes for the token.<br>
This URL parameter will be included in the callback URL along with<br>
the scopes of the token as value if include_scopes_in_callback=True.<br>
request_url: Authorization URL. The default is<br>
'https://www.google.com/accounts/OAuthAuthorizeToken'.<br>
Returns:<br>
A string URL at which the user is required to login.<br>
<br>
Raises:<br>
NonOAuthToken if the user's request token is not an OAuth token or if a<br>
request token was not available.</tt></dd></dl>
<dl><dt><a name="YouTubeService-Get"><strong>Get</strong></a>(self, uri, extra_headers<font color="#909090">=None</font>, redirects_remaining<font color="#909090">=4</font>, encoding<font color="#909090">='UTF-8'</font>, converter<font color="#909090">=None</font>)</dt><dd><tt><a href="gdata.service.html#Query">Query</a> the GData API with the given URI<br>
<br>
The uri is the portion of the URI after the server value <br>
(ex: www.google.com).<br>
<br>
To perform a query against Google Base, set the server to <br>
'base.google.com' and set the uri to '/base/feeds/...', where ... is <br>
your query. For example, to find snippets for all digital cameras uri <br>
should be set to: '/base/feeds/snippets?bq=digital+camera'<br>
<br>
Args:<br>
uri: string The query in the form of a URI. Example:<br>
'/base/feeds/snippets?bq=digital+camera'.<br>
extra_headers: dictionary (optional) Extra HTTP headers to be included<br>
in the GET request. These headers are in addition to <br>
those stored in the client's additional_headers property.<br>
The client automatically sets the Content-Type and <br>
Authorization headers.<br>
redirects_remaining: int (optional) Tracks the number of additional<br>
redirects this method will allow. If the service object receives<br>
a redirect and remaining is 0, it will not follow the redirect. <br>
This was added to avoid infinite redirect loops.<br>
encoding: string (optional) The character encoding for the server's<br>
response. Default is UTF-8<br>
converter: func (optional) A function which will transform<br>
the server's results before it is returned. Example: use <br>
GDataFeedFromString to parse the server response as if it<br>
were a GDataFeed.<br>
<br>
Returns:<br>
If there is no ResultsTransformer specified in the call, a GDataFeed <br>
or GDataEntry depending on which is sent from the server. If the <br>
response is niether a feed or entry and there is no ResultsTransformer,<br>
return a string. If there is a ResultsTransformer, the returned value <br>
will be that of the ResultsTransformer function.</tt></dd></dl>
<dl><dt><a name="YouTubeService-GetAuthSubToken"><strong>GetAuthSubToken</strong></a>(self)</dt><dd><tt>Returns the AuthSub token as a string.<br>
<br>
If the token is an gdta.auth.AuthSubToken, the Authorization Label<br>
("AuthSub token") is removed.<br>
<br>
This method examines the current_token to see if it is an AuthSubToken<br>
or SecureAuthSubToken. If not, it searches the token_store for a token<br>
which matches the current scope.<br>
<br>
The current scope is determined by the service name string member.<br>
<br>
Returns:<br>
If the current_token is set to an AuthSubToken/SecureAuthSubToken,<br>
return the token string. If there is no current_token, a token string<br>
for a token which matches the service object's default scope is returned.<br>
If there are no tokens valid for the scope, returns None.</tt></dd></dl>
<dl><dt><a name="YouTubeService-GetClientLoginToken"><strong>GetClientLoginToken</strong></a>(self)</dt><dd><tt>Returns the token string for the current token or a token matching the <br>
service scope.<br>
<br>
If the current_token is a ClientLoginToken, the token string for <br>
the current token is returned. If the current_token is not set, this method<br>
searches for a token in the token_store which is valid for the service <br>
object's current scope.<br>
<br>
The current scope is determined by the service name string member.<br>
The token string is the end of the Authorization header, it doesn not<br>
include the ClientLogin label.</tt></dd></dl>
<dl><dt><a name="YouTubeService-GetEntry"><strong>GetEntry</strong></a>(self, uri, extra_headers<font color="#909090">=None</font>)</dt><dd><tt><a href="gdata.service.html#Query">Query</a> the GData API with the given URI and receive an Entry.<br>
<br>
See also documentation for gdata.service.Get<br>
<br>
Args:<br>
uri: string The query in the form of a URI. Example:<br>
'/base/feeds/snippets?bq=digital+camera'.<br>
extra_headers: dictionary (optional) Extra HTTP headers to be included<br>
in the GET request. These headers are in addition to<br>
those stored in the client's additional_headers property.<br>
The client automatically sets the Content-Type and<br>
Authorization headers.<br>
<br>
Returns:<br>
A GDataEntry built from the XML in the server's response.</tt></dd></dl>
<dl><dt><a name="YouTubeService-GetFeed"><strong>GetFeed</strong></a>(self, uri, extra_headers<font color="#909090">=None</font>, converter<font color="#909090">=<function GDataFeedFromString></font>)</dt><dd><tt><a href="gdata.service.html#Query">Query</a> the GData API with the given URI and receive a Feed.<br>
<br>
See also documentation for gdata.service.Get<br>
<br>
Args:<br>
uri: string The query in the form of a URI. Example:<br>
'/base/feeds/snippets?bq=digital+camera'.<br>
extra_headers: dictionary (optional) Extra HTTP headers to be included<br>
in the GET request. These headers are in addition to<br>
those stored in the client's additional_headers property.<br>
The client automatically sets the Content-Type and<br>
Authorization headers.<br>
<br>
Returns:<br>
A GDataFeed built from the XML in the server's response.</tt></dd></dl>
<dl><dt><a name="YouTubeService-GetGeneratorFromLinkFinder"><strong>GetGeneratorFromLinkFinder</strong></a>(self, link_finder, func, num_retries<font color="#909090">=3</font>, delay<font color="#909090">=1</font>, backoff<font color="#909090">=2</font>)</dt><dd><tt>returns a generator for pagination</tt></dd></dl>
<dl><dt><a name="YouTubeService-GetMedia"><strong>GetMedia</strong></a>(self, uri, extra_headers<font color="#909090">=None</font>)</dt><dd><tt>Returns a MediaSource containing media and its metadata from the given<br>
URI string.</tt></dd></dl>
<dl><dt><a name="YouTubeService-GetNext"><strong>GetNext</strong></a>(self, feed)</dt><dd><tt>Requests the next 'page' of results in the feed.<br>
<br>
This method uses the feed's next link to request an additional feed<br>
and uses the class of the feed to convert the results of the GET request.<br>
<br>
Args:<br>
feed: atom.Feed or a subclass. The feed should contain a next link and<br>
the type of the feed will be applied to the results from the <br>
server. The new feed which is returned will be of the same class<br>
as this feed which was passed in.<br>
<br>
Returns:<br>
A new feed representing the next set of results in the server's feed.<br>
The type of this feed will match that of the feed argument.</tt></dd></dl>
<dl><dt><a name="YouTubeService-GetOAuthInputParameters"><strong>GetOAuthInputParameters</strong></a>(self)</dt></dl>
<dl><dt><a name="YouTubeService-GetWithRetries"><strong>GetWithRetries</strong></a>(self, uri, extra_headers<font color="#909090">=None</font>, redirects_remaining<font color="#909090">=4</font>, encoding<font color="#909090">='UTF-8'</font>, converter<font color="#909090">=None</font>, num_retries<font color="#909090">=3</font>, delay<font color="#909090">=1</font>, backoff<font color="#909090">=2</font>, logger<font color="#909090">=None</font>)</dt><dd><tt>This is a wrapper method for Get with retrying capability.<br>
<br>
To avoid various errors while retrieving bulk entities by retrying<br>
specified times.<br>
<br>
Note this method relies on the time module and so may not be usable<br>
by default in Python2.2.<br>
<br>
Args:<br>
num_retries: Integer; the retry count.<br>
delay: Integer; the initial delay for retrying.<br>
backoff: Integer; how much the delay should lengthen after each failure.<br>
logger: An object which has a <a href="#YouTubeService-debug">debug</a>(str) method to receive logging<br>
messages. Recommended that you pass in the logging module.<br>
Raises:<br>
ValueError if any of the parameters has an invalid value.<br>
RanOutOfTries on failure after number of retries.</tt></dd></dl>
<dl><dt><a name="YouTubeService-Post"><strong>Post</strong></a>(self, data, uri, extra_headers<font color="#909090">=None</font>, url_params<font color="#909090">=None</font>, escape_params<font color="#909090">=True</font>, redirects_remaining<font color="#909090">=4</font>, media_source<font color="#909090">=None</font>, converter<font color="#909090">=None</font>)</dt><dd><tt>Insert or update data into a GData service at the given URI.<br>
<br>
Args:<br>
data: string, ElementTree._Element, atom.Entry, or gdata.GDataEntry The<br>
XML to be sent to the uri.<br>
uri: string The location (feed) to which the data should be inserted.<br>
Example: '/base/feeds/items'.<br>
extra_headers: dict (optional) HTTP headers which are to be included.<br>
The client automatically sets the Content-Type,<br>
Authorization, and Content-Length headers.<br>
url_params: dict (optional) Additional URL parameters to be included<br>
in the URI. These are translated into query arguments<br>
in the form '&dict_key=value&...'.<br>
Example: {'max-results': '250'} becomes &max-results=250<br>
escape_params: boolean (optional) If false, the calling code has already<br>
ensured that the query will form a valid URL (all<br>
reserved characters have been escaped). If true, this<br>
method will escape the query and any URL parameters<br>
provided.<br>
media_source: MediaSource (optional) Container for the media to be sent<br>
along with the entry, if provided.<br>
converter: func (optional) A function which will be executed on the<br>
server's response. Often this is a function like<br>
GDataEntryFromString which will parse the body of the server's<br>
response and return a GDataEntry.<br>
<br>
Returns:<br>
If the post succeeded, this method will return a GDataFeed, GDataEntry,<br>
or the results of running converter on the server's result body (if<br>
converter was specified).</tt></dd></dl>
<dl><dt><a name="YouTubeService-PostOrPut"><strong>PostOrPut</strong></a>(self, verb, data, uri, extra_headers<font color="#909090">=None</font>, url_params<font color="#909090">=None</font>, escape_params<font color="#909090">=True</font>, redirects_remaining<font color="#909090">=4</font>, media_source<font color="#909090">=None</font>, converter<font color="#909090">=None</font>)</dt><dd><tt>Insert data into a GData service at the given URI.<br>
<br>
Args:<br>
verb: string, either 'POST' or 'PUT'<br>
data: string, ElementTree._Element, atom.Entry, or gdata.GDataEntry The<br>
XML to be sent to the uri. <br>
uri: string The location (feed) to which the data should be inserted. <br>
Example: '/base/feeds/items'. <br>
extra_headers: dict (optional) HTTP headers which are to be included. <br>
The client automatically sets the Content-Type,<br>
Authorization, and Content-Length headers.<br>
url_params: dict (optional) Additional URL parameters to be included<br>
in the URI. These are translated into query arguments<br>
in the form '&dict_key=value&...'.<br>
Example: {'max-results': '250'} becomes &max-results=250<br>
escape_params: boolean (optional) If false, the calling code has already<br>
ensured that the query will form a valid URL (all<br>
reserved characters have been escaped). If true, this<br>
method will escape the query and any URL parameters<br>
provided.<br>
media_source: MediaSource (optional) Container for the media to be sent<br>
along with the entry, if provided.<br>
converter: func (optional) A function which will be executed on the <br>
server's response. Often this is a function like <br>
GDataEntryFromString which will parse the body of the server's <br>
response and return a GDataEntry.<br>
<br>
Returns:<br>
If the post succeeded, this method will return a GDataFeed, GDataEntry,<br>
or the results of running converter on the server's result body (if<br>
converter was specified).</tt></dd></dl>
<dl><dt><a name="YouTubeService-ProgrammaticLogin"><strong>ProgrammaticLogin</strong></a>(self, captcha_token<font color="#909090">=None</font>, captcha_response<font color="#909090">=None</font>)</dt><dd><tt>Authenticates the user and sets the GData Auth token.<br>
<br>
Login retreives a temporary auth token which must be used with all<br>
requests to GData services. The auth token is stored in the GData client<br>
object.<br>
<br>
Login is also used to respond to a captcha challenge. If the user's login<br>
attempt failed with a CaptchaRequired error, the user can respond by<br>
calling Login with the captcha token and the answer to the challenge.<br>
<br>
Args:<br>
captcha_token: string (optional) The identifier for the captcha challenge<br>
which was presented to the user.<br>
captcha_response: string (optional) The user's answer to the captch <br>
challenge.<br>
<br>
Raises:<br>
CaptchaRequired if the login service will require a captcha response<br>
BadAuthentication if the login service rejected the username or password<br>
<a href="#Error">Error</a> if the login service responded with a 403 different from the above</tt></dd></dl>
<dl><dt><a name="YouTubeService-Put"><strong>Put</strong></a>(self, data, uri, extra_headers<font color="#909090">=None</font>, url_params<font color="#909090">=None</font>, escape_params<font color="#909090">=True</font>, redirects_remaining<font color="#909090">=3</font>, media_source<font color="#909090">=None</font>, converter<font color="#909090">=None</font>)</dt><dd><tt>Updates an entry at the given URI.<br>
<br>
Args:<br>
data: string, ElementTree._Element, or xml_wrapper.ElementWrapper The <br>
XML containing the updated data.<br>
uri: string A URI indicating entry to which the update will be applied.<br>
Example: '/base/feeds/items/ITEM-ID'<br>
extra_headers: dict (optional) HTTP headers which are to be included.<br>
The client automatically sets the Content-Type,<br>
Authorization, and Content-Length headers.<br>
url_params: dict (optional) Additional URL parameters to be included<br>
in the URI. These are translated into query arguments<br>
in the form '&dict_key=value&...'.<br>
Example: {'max-results': '250'} becomes &max-results=250<br>
escape_params: boolean (optional) If false, the calling code has already<br>
ensured that the query will form a valid URL (all<br>
reserved characters have been escaped). If true, this<br>
method will escape the query and any URL parameters<br>
provided.<br>
converter: func (optional) A function which will be executed on the <br>
server's response. Often this is a function like <br>
GDataEntryFromString which will parse the body of the server's <br>
response and return a GDataEntry.<br>
<br>
Returns:<br>
If the put succeeded, this method will return a GDataFeed, GDataEntry,<br>
or the results of running converter on the server's result body (if<br>
converter was specified).</tt></dd></dl>
<dl><dt><a name="YouTubeService-RevokeAuthSubToken"><strong>RevokeAuthSubToken</strong></a>(self)</dt><dd><tt>Revokes an existing AuthSub token.<br>
<br>
Raises:<br>
NonAuthSubToken if the user's auth token is not an AuthSub token</tt></dd></dl>
<dl><dt><a name="YouTubeService-RevokeOAuthToken"><strong>RevokeOAuthToken</strong></a>(self, request_url<font color="#909090">='https://www.google.com/accounts/AuthSubRevokeToken'</font>)</dt><dd><tt>Revokes an existing OAuth token.<br>
<br>
request_url: Token revoke URL. The default is<br>
'https://www.google.com/accounts/AuthSubRevokeToken'.<br>
Raises:<br>
NonOAuthToken if the user's auth token is not an OAuth token.<br>
RevokingOAuthTokenFailed if request for revoking an OAuth token failed.</tt></dd></dl>
<dl><dt><a name="YouTubeService-SetAuthSubToken"><strong>SetAuthSubToken</strong></a>(self, token, scopes<font color="#909090">=None</font>, rsa_key<font color="#909090">=None</font>)</dt><dd><tt>Sets the token sent in requests to an AuthSub token.<br>
<br>
Sets the current_token and attempts to add the token to the token_store.<br>
<br>
Only use this method if you have received a token from the AuthSub<br>
service. The auth token is set automatically when <a href="#YouTubeService-UpgradeToSessionToken">UpgradeToSessionToken</a>()<br>
is used. See documentation for Google AuthSub here:<br>
<a href="http://code.google.com/apis/accounts/AuthForWebApps.html">http://code.google.com/apis/accounts/AuthForWebApps.html</a> <br>
<br>
Args:<br>
token: gdata.auth.AuthSubToken or gdata.auth.SecureAuthSubToken or string<br>
The token returned by the AuthSub service. If the token is an<br>
AuthSubToken or SecureAuthSubToken, the scope information stored in<br>
the token is used. If the token is a string, the scopes parameter is<br>
used to determine the valid scopes.<br>
scopes: list of URLs for which the token is valid. This is only used<br>
if the token parameter is a string.<br>
rsa_key: string (optional) Private key required for RSA_SHA1 signature<br>
method. This parameter is necessary if the token is a string<br>
representing a secure token.</tt></dd></dl>
<dl><dt><a name="YouTubeService-SetClientLoginToken"><strong>SetClientLoginToken</strong></a>(self, token, scopes<font color="#909090">=None</font>)</dt><dd><tt>Sets the token sent in requests to a ClientLogin token.<br>
<br>
This method sets the current_token to a new ClientLoginToken and it <br>
also attempts to add the ClientLoginToken to the token_store.<br>
<br>
Only use this method if you have received a token from the ClientLogin<br>
service. The auth_token is set automatically when <a href="#YouTubeService-ProgrammaticLogin">ProgrammaticLogin</a>()<br>
is used. See documentation for Google ClientLogin here:<br>
<a href="http://code.google.com/apis/accounts/docs/AuthForInstalledApps.html">http://code.google.com/apis/accounts/docs/AuthForInstalledApps.html</a><br>
<br>
Args:<br>
token: string or instance of a ClientLoginToken.</tt></dd></dl>
<dl><dt><a name="YouTubeService-SetOAuthInputParameters"><strong>SetOAuthInputParameters</strong></a>(self, signature_method, consumer_key, consumer_secret<font color="#909090">=None</font>, rsa_key<font color="#909090">=None</font>, two_legged_oauth<font color="#909090">=False</font>, requestor_id<font color="#909090">=None</font>)</dt><dd><tt>Sets parameters required for using OAuth authentication mechanism.<br>
<br>
NOTE: Though consumer_secret and rsa_key are optional, either of the two<br>
is required depending on the value of the signature_method.<br>
<br>
Args:<br>
signature_method: class which provides implementation for strategy class<br>
oauth.oauth.OAuthSignatureMethod. Signature method to be used for<br>
signing each request. Valid implementations are provided as the<br>
constants defined by gdata.auth.OAuthSignatureMethod. Currently<br>
they are gdata.auth.OAuthSignatureMethod.RSA_SHA1 and<br>
gdata.auth.OAuthSignatureMethod.HMAC_SHA1<br>
consumer_key: string Domain identifying third_party web application.<br>
consumer_secret: string (optional) Secret generated during registration.<br>
Required only for HMAC_SHA1 signature method.<br>
rsa_key: string (optional) Private key required for RSA_SHA1 signature<br>
method.<br>
two_legged_oauth: boolean (optional) Enables two-legged OAuth process.<br>
requestor_id: string (optional) User email adress to make requests on<br>
their behalf. This parameter should only be set when two_legged_oauth<br>
is True.</tt></dd></dl>
<dl><dt><a name="YouTubeService-SetOAuthToken"><strong>SetOAuthToken</strong></a>(self, oauth_token)</dt><dd><tt>Attempts to set the current token and add it to the token store.<br>
<br>
The oauth_token can be any OAuth token i.e. unauthorized request token,<br>
authorized request token or access token.<br>
This method also attempts to add the token to the token store.<br>
Use this method any time you want the current token to point to the<br>
oauth_token passed. For e.g. call this method with the request token<br>
you receive from FetchOAuthRequestToken.<br>
<br>
Args:<br>
request_token: gdata.auth.OAuthToken OAuth request token.</tt></dd></dl>
<dl><dt><a name="YouTubeService-UpgradeToOAuthAccessToken"><strong>UpgradeToOAuthAccessToken</strong></a>(self, authorized_request_token<font color="#909090">=None</font>, request_url<font color="#909090">='https://www.google.com/accounts/OAuthGetAccessToken'</font>, oauth_version<font color="#909090">='1.0'</font>, oauth_verifier<font color="#909090">=None</font>)</dt><dd><tt>Upgrades the authorized request token to an access token and returns it<br>
<br>
Args:<br>
authorized_request_token: gdata.auth.OAuthToken (optional) OAuth request<br>
token. If not specified, then the current token will be used if it is<br>
of type <gdata.auth.OAuthToken>, else it is found by looking in the<br>
token_store by looking for a token for the current scope.<br>
request_url: Access token URL. The default is<br>
'https://www.google.com/accounts/OAuthGetAccessToken'.<br>
oauth_version: str (default='1.0') oauth_version parameter. All other<br>
'oauth_' parameters are added by default. This parameter too, is<br>
added by default but here you can override it's value.<br>
oauth_verifier: str (optional) If present, it is assumed that the client<br>
will use the OAuth v1.0a protocol which includes passing the<br>
oauth_verifier (as returned by the SP) in the access token step.<br>
<br>
Returns:<br>
Access token<br>
<br>
Raises:<br>
NonOAuthToken if the user's authorized request token is not an OAuth<br>
token or if an authorized request token was not available.<br>
TokenUpgradeFailed if the server responded to the request with an <br>
error.</tt></dd></dl>
<dl><dt><a name="YouTubeService-UpgradeToSessionToken"><strong>UpgradeToSessionToken</strong></a>(self, token<font color="#909090">=None</font>)</dt><dd><tt>Upgrades a single use AuthSub token to a session token.<br>
<br>
Args:<br>
token: A gdata.auth.AuthSubToken or gdata.auth.SecureAuthSubToken<br>
(optional) which is good for a single use but can be upgraded<br>
to a session token. If no token is passed in, the token<br>
is found by looking in the token_store by looking for a token<br>
for the current scope.<br>
<br>
Raises:<br>
NonAuthSubToken if the user's auth token is not an AuthSub token<br>
TokenUpgradeFailed if the server responded to the request with an <br>
error.</tt></dd></dl>
<dl><dt><a name="YouTubeService-upgrade_to_session_token"><strong>upgrade_to_session_token</strong></a>(self, token)</dt><dd><tt>Upgrades a single use AuthSub token to a session token.<br>
<br>
Args:<br>
token: A gdata.auth.AuthSubToken or gdata.auth.SecureAuthSubToken<br>
which is good for a single use but can be upgraded to a<br>
session token.<br>
<br>
Returns:<br>
The upgraded token as a gdata.auth.AuthSubToken object.<br>
<br>
Raises:<br>
TokenUpgradeFailed if the server responded to the request with an <br>
error.</tt></dd></dl>
<hr>
Data descriptors inherited from <a href="gdata.service.html#GDataService">gdata.service.GDataService</a>:<br>
<dl><dt><strong>captcha_token</strong></dt>
<dd><tt>Get the captcha token for a login request.</tt></dd>
</dl>
<dl><dt><strong>captcha_url</strong></dt>
<dd><tt>Get the captcha URL for a login request.</tt></dd>
</dl>
<dl><dt><strong>source</strong></dt>
<dd><tt>The source is the name of the application making the request. <br>
It should be in the form company_id-app_name-app_version</tt></dd>
</dl>
<hr>
Data and other attributes inherited from <a href="gdata.service.html#GDataService">gdata.service.GDataService</a>:<br>
<dl><dt><strong>auth_token</strong> = None</dl>
<dl><dt><strong>handler</strong> = None</dl>
<dl><dt><strong>tokens</strong> = None</dl>
<hr>
Methods inherited from <a href="atom.service.html#AtomService">atom.service.AtomService</a>:<br>
<dl><dt><a name="YouTubeService-UseBasicAuth"><strong>UseBasicAuth</strong></a>(self, username, password, for_proxy<font color="#909090">=False</font>)</dt><dd><tt>Sets an Authenticaiton: Basic HTTP header containing plaintext.<br>
<br>
Deprecated, use use_basic_auth instead.<br>
<br>
The username and password are base64 encoded and added to an HTTP header<br>
which will be included in each request. Note that your username and <br>
password are sent in plaintext.<br>
<br>
Args:<br>
username: str<br>
password: str</tt></dd></dl>
<dl><dt><a name="YouTubeService-request"><strong>request</strong></a>(*args, **kwargs)</dt><dd><tt># The deprecated_function wraps the actual call to f.</tt></dd></dl>
<dl><dt><a name="YouTubeService-use_basic_auth"><strong>use_basic_auth</strong></a>(self, username, password, scopes<font color="#909090">=None</font>)</dt></dl>
<hr>
Data descriptors inherited from <a href="atom.service.html#AtomService">atom.service.AtomService</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary for instance variables (if defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list of weak references to the object (if defined)</tt></dd>
</dl>
<dl><dt><strong>debug</strong></dt>
<dd><tt>If True, HTTP debug information is printed.</tt></dd>
</dl>
<dl><dt><strong>override_token</strong></dt>
</dl>
<hr>
Data and other attributes inherited from <a href="atom.service.html#AtomService">atom.service.AtomService</a>:<br>
<dl><dt><strong>auto_set_current_token</strong> = True</dl>
<dl><dt><strong>auto_store_tokens</strong> = True</dl>
<dl><dt><strong>current_token</strong> = None</dl>
<dl><dt><strong>port</strong> = 80</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="YouTubeUserQuery">class <strong>YouTubeUserQuery</strong></a>(<a href="gdata.youtube.service.html#YouTubeVideoQuery">YouTubeVideoQuery</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
<td colspan=2><tt>Subclasses <a href="#YouTubeVideoQuery">YouTubeVideoQuery</a> to perform user-specific queries.<br>
<br>
Attributes are set dynamically via properties. Properties correspond to<br>
the standard Google Data API query parameters with YouTube Data API<br>
extensions.<br> </tt></td></tr>
<tr><td> </td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="gdata.youtube.service.html#YouTubeUserQuery">YouTubeUserQuery</a></dd>
<dd><a href="gdata.youtube.service.html#YouTubeVideoQuery">YouTubeVideoQuery</a></dd>
<dd><a href="gdata.service.html#Query">gdata.service.Query</a></dd>
<dd><a href="__builtin__.html#dict">__builtin__.dict</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="YouTubeUserQuery-__init__"><strong>__init__</strong></a>(self, username<font color="#909090">=None</font>, feed_type<font color="#909090">=None</font>, subscription_id<font color="#909090">=None</font>, text_query<font color="#909090">=None</font>, params<font color="#909090">=None</font>, categories<font color="#909090">=None</font>)</dt></dl>
<hr>
Data descriptors inherited from <a href="gdata.youtube.service.html#YouTubeVideoQuery">YouTubeVideoQuery</a>:<br>
<dl><dt><strong>format</strong></dt>
<dd><tt>The format query parameter</tt></dd>
</dl>
<dl><dt><strong>location</strong></dt>
<dd><tt>The location query parameter</tt></dd>
</dl>
<dl><dt><strong>lr</strong></dt>
<dd><tt>The lr (language restriction) query parameter</tt></dd>
</dl>
<dl><dt><strong>orderby</strong></dt>
<dd><tt>The orderby query parameter</tt></dd>
</dl>
<dl><dt><strong>racy</strong></dt>
<dd><tt>The racy query parameter</tt></dd>
</dl>
<dl><dt><strong>restriction</strong></dt>
<dd><tt>The restriction query parameter</tt></dd>
</dl>
<dl><dt><strong>time</strong></dt>
<dd><tt>The time query parameter</tt></dd>
</dl>
<dl><dt><strong>vq</strong></dt>
<dd><tt>The video query (vq) query parameter</tt></dd>
</dl>
<hr>
Methods inherited from <a href="gdata.service.html#Query">gdata.service.Query</a>:<br>
<dl><dt><a name="YouTubeUserQuery-ToUri"><strong>ToUri</strong></a>(self)</dt></dl>
<dl><dt><a name="YouTubeUserQuery-__str__"><strong>__str__</strong></a>(self)</dt></dl>
<hr>
Data descriptors inherited from <a href="gdata.service.html#Query">gdata.service.Query</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary for instance variables (if defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list of weak references to the object (if defined)</tt></dd>
</dl>
<dl><dt><strong>alt</strong></dt>
<dd><tt>The feed query's alt parameter</tt></dd>
</dl>
<dl><dt><strong>author</strong></dt>
<dd><tt>The feed query's author parameter</tt></dd>
</dl>
<dl><dt><strong>max_results</strong></dt>
<dd><tt>The feed query's max-results parameter</tt></dd>
</dl>
<dl><dt><strong>published_max</strong></dt>
<dd><tt>The feed query's published-max parameter</tt></dd>
</dl>
<dl><dt><strong>published_min</strong></dt>
<dd><tt>The feed query's published-min parameter</tt></dd>
</dl>
<dl><dt><strong>start_index</strong></dt>
<dd><tt>The feed query's start-index parameter</tt></dd>
</dl>
<dl><dt><strong>text_query</strong></dt>
<dd><tt>The feed query's q parameter</tt></dd>
</dl>
<dl><dt><strong>updated_max</strong></dt>
<dd><tt>The feed query's updated-max parameter</tt></dd>
</dl>
<dl><dt><strong>updated_min</strong></dt>
<dd><tt>The feed query's updated-min parameter</tt></dd>
</dl>
<hr>
Methods inherited from <a href="__builtin__.html#dict">__builtin__.dict</a>:<br>
<dl><dt><a name="YouTubeUserQuery-__cmp__"><strong>__cmp__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeUserQuery-__cmp__">__cmp__</a>(y) <==> cmp(x,y)</tt></dd></dl>
<dl><dt><a name="YouTubeUserQuery-__contains__"><strong>__contains__</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubeUserQuery-__contains__">__contains__</a>(k) -> True if D has a key k, else False</tt></dd></dl>
<dl><dt><a name="YouTubeUserQuery-__delitem__"><strong>__delitem__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeUserQuery-__delitem__">__delitem__</a>(y) <==> del x[y]</tt></dd></dl>
<dl><dt><a name="YouTubeUserQuery-__eq__"><strong>__eq__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeUserQuery-__eq__">__eq__</a>(y) <==> x==y</tt></dd></dl>
<dl><dt><a name="YouTubeUserQuery-__ge__"><strong>__ge__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeUserQuery-__ge__">__ge__</a>(y) <==> x>=y</tt></dd></dl>
<dl><dt><a name="YouTubeUserQuery-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeUserQuery-__getattribute__">__getattribute__</a>('name') <==> x.name</tt></dd></dl>
<dl><dt><a name="YouTubeUserQuery-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeUserQuery-__getitem__">__getitem__</a>(y) <==> x[y]</tt></dd></dl>
<dl><dt><a name="YouTubeUserQuery-__gt__"><strong>__gt__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeUserQuery-__gt__">__gt__</a>(y) <==> x>y</tt></dd></dl>
<dl><dt><a name="YouTubeUserQuery-__iter__"><strong>__iter__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeUserQuery-__iter__">__iter__</a>() <==> iter(x)</tt></dd></dl>
<dl><dt><a name="YouTubeUserQuery-__le__"><strong>__le__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeUserQuery-__le__">__le__</a>(y) <==> x<=y</tt></dd></dl>
<dl><dt><a name="YouTubeUserQuery-__len__"><strong>__len__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeUserQuery-__len__">__len__</a>() <==> len(x)</tt></dd></dl>
<dl><dt><a name="YouTubeUserQuery-__lt__"><strong>__lt__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeUserQuery-__lt__">__lt__</a>(y) <==> x<y</tt></dd></dl>
<dl><dt><a name="YouTubeUserQuery-__ne__"><strong>__ne__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeUserQuery-__ne__">__ne__</a>(y) <==> x!=y</tt></dd></dl>
<dl><dt><a name="YouTubeUserQuery-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeUserQuery-__repr__">__repr__</a>() <==> repr(x)</tt></dd></dl>
<dl><dt><a name="YouTubeUserQuery-__setitem__"><strong>__setitem__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeUserQuery-__setitem__">__setitem__</a>(i, y) <==> x[i]=y</tt></dd></dl>
<dl><dt><a name="YouTubeUserQuery-__sizeof__"><strong>__sizeof__</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubeUserQuery-__sizeof__">__sizeof__</a>() -> size of D in memory, in bytes</tt></dd></dl>
<dl><dt><a name="YouTubeUserQuery-clear"><strong>clear</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubeUserQuery-clear">clear</a>() -> None. Remove all items from D.</tt></dd></dl>
<dl><dt><a name="YouTubeUserQuery-copy"><strong>copy</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubeUserQuery-copy">copy</a>() -> a shallow copy of D</tt></dd></dl>
<dl><dt><a name="YouTubeUserQuery-get"><strong>get</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubeUserQuery-get">get</a>(k[,d]) -> D[k] if k in D, else d. d defaults to None.</tt></dd></dl>
<dl><dt><a name="YouTubeUserQuery-has_key"><strong>has_key</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubeUserQuery-has_key">has_key</a>(k) -> True if D has a key k, else False</tt></dd></dl>
<dl><dt><a name="YouTubeUserQuery-items"><strong>items</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubeUserQuery-items">items</a>() -> list of D's (key, value) pairs, as 2-tuples</tt></dd></dl>
<dl><dt><a name="YouTubeUserQuery-iteritems"><strong>iteritems</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubeUserQuery-iteritems">iteritems</a>() -> an iterator over the (key, value) items of D</tt></dd></dl>
<dl><dt><a name="YouTubeUserQuery-iterkeys"><strong>iterkeys</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubeUserQuery-iterkeys">iterkeys</a>() -> an iterator over the keys of D</tt></dd></dl>
<dl><dt><a name="YouTubeUserQuery-itervalues"><strong>itervalues</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubeUserQuery-itervalues">itervalues</a>() -> an iterator over the values of D</tt></dd></dl>
<dl><dt><a name="YouTubeUserQuery-keys"><strong>keys</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubeUserQuery-keys">keys</a>() -> list of D's keys</tt></dd></dl>
<dl><dt><a name="YouTubeUserQuery-pop"><strong>pop</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubeUserQuery-pop">pop</a>(k[,d]) -> v, remove specified key and return the corresponding value.<br>
If key is not found, d is returned if given, otherwise KeyError is raised</tt></dd></dl>
<dl><dt><a name="YouTubeUserQuery-popitem"><strong>popitem</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubeUserQuery-popitem">popitem</a>() -> (k, v), remove and return some (key, value) pair as a<br>
2-tuple; but raise KeyError if D is empty.</tt></dd></dl>
<dl><dt><a name="YouTubeUserQuery-setdefault"><strong>setdefault</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubeUserQuery-setdefault">setdefault</a>(k[,d]) -> D.<a href="#YouTubeUserQuery-get">get</a>(k,d), also set D[k]=d if k not in D</tt></dd></dl>
<dl><dt><a name="YouTubeUserQuery-update"><strong>update</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubeUserQuery-update">update</a>(E, **F) -> None. Update D from dict/iterable E and F.<br>
If E has a .<a href="#YouTubeUserQuery-keys">keys</a>() method, does: for k in E: D[k] = E[k]<br>
If E lacks .<a href="#YouTubeUserQuery-keys">keys</a>() method, does: for (k, v) in E: D[k] = v<br>
In either case, this is followed by: for k in F: D[k] = F[k]</tt></dd></dl>
<dl><dt><a name="YouTubeUserQuery-values"><strong>values</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubeUserQuery-values">values</a>() -> list of D's values</tt></dd></dl>
<hr>
Data and other attributes inherited from <a href="__builtin__.html#dict">__builtin__.dict</a>:<br>
<dl><dt><strong>__hash__</strong> = None</dl>
<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object><dd><tt>T.<a href="#YouTubeUserQuery-__new__">__new__</a>(S, ...) -> a new object with type S, a subtype of T</tt></dl>
<dl><dt><strong>fromkeys</strong> = <built-in method fromkeys of type object><dd><tt>dict.<a href="#YouTubeUserQuery-fromkeys">fromkeys</a>(S[,v]) -> New dict with keys from S and values equal to v.<br>
v defaults to None.</tt></dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="YouTubeVideoQuery">class <strong>YouTubeVideoQuery</strong></a>(<a href="gdata.service.html#Query">gdata.service.Query</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
<td colspan=2><tt>Subclasses gdata.service.<a href="gdata.service.html#Query">Query</a> to represent a YouTube Data API query.<br>
<br>
Attributes are set dynamically via properties. Properties correspond to<br>
the standard Google Data API query parameters with YouTube Data API<br>
extensions. Please refer to the API documentation for details.<br>
<br>
Attributes:<br>
vq: The vq parameter, which is only supported for video feeds, specifies a<br>
search query term. Refer to API documentation for further details.<br>
orderby: The orderby parameter, which is only supported for video feeds,<br>
specifies the value that will be used to sort videos in the search<br>
result set. Valid values for this parameter are relevance, published,<br>
viewCount and rating.<br>
time: The time parameter, which is only available for the top_rated,<br>
top_favorites, most_viewed, most_discussed, most_linked and<br>
most_responded standard feeds, restricts the search to videos uploaded<br>
within the specified time. Valid values for this parameter are today<br>
(1 day), this_week (7 days), this_month (1 month) and all_time.<br>
The default value for this parameter is all_time.<br>
format: The format parameter specifies that videos must be available in a<br>
particular video format. Refer to the API documentation for details.<br>
racy: The racy parameter allows a search result set to include restricted<br>
content as well as standard content. Valid values for this parameter<br>
are include and exclude. By default, restricted content is excluded.<br>
lr: The lr parameter restricts the search to videos that have a title,<br>
description or keywords in a specific language. Valid values for the lr<br>
parameter are ISO 639-1 two-letter language codes.<br>
restriction: The restriction parameter identifies the IP address that<br>
should be used to filter videos that can only be played in specific<br>
countries.<br>
location: A string of geo coordinates. Note that this is not used when the<br>
search is performed but rather to filter the returned videos for ones<br>
that match to the location entered.<br>
feed: str (optional) The base URL which is the beginning of the query URL.<br>
defaults to '<a href="http://%s/feeds/videos">http://%s/feeds/videos</a>' % (YOUTUBE_SERVER)<br> </tt></td></tr>
<tr><td> </td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="gdata.youtube.service.html#YouTubeVideoQuery">YouTubeVideoQuery</a></dd>
<dd><a href="gdata.service.html#Query">gdata.service.Query</a></dd>
<dd><a href="__builtin__.html#dict">__builtin__.dict</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="YouTubeVideoQuery-__init__"><strong>__init__</strong></a>(self, video_id<font color="#909090">=None</font>, feed_type<font color="#909090">=None</font>, text_query<font color="#909090">=None</font>, params<font color="#909090">=None</font>, categories<font color="#909090">=None</font>, feed<font color="#909090">=None</font>)</dt></dl>
<hr>
Data descriptors defined here:<br>
<dl><dt><strong>format</strong></dt>
<dd><tt>The format query parameter</tt></dd>
</dl>
<dl><dt><strong>location</strong></dt>
<dd><tt>The location query parameter</tt></dd>
</dl>
<dl><dt><strong>lr</strong></dt>
<dd><tt>The lr (language restriction) query parameter</tt></dd>
</dl>
<dl><dt><strong>orderby</strong></dt>
<dd><tt>The orderby query parameter</tt></dd>
</dl>
<dl><dt><strong>racy</strong></dt>
<dd><tt>The racy query parameter</tt></dd>
</dl>
<dl><dt><strong>restriction</strong></dt>
<dd><tt>The restriction query parameter</tt></dd>
</dl>
<dl><dt><strong>time</strong></dt>
<dd><tt>The time query parameter</tt></dd>
</dl>
<dl><dt><strong>vq</strong></dt>
<dd><tt>The video query (vq) query parameter</tt></dd>
</dl>
<hr>
Methods inherited from <a href="gdata.service.html#Query">gdata.service.Query</a>:<br>
<dl><dt><a name="YouTubeVideoQuery-ToUri"><strong>ToUri</strong></a>(self)</dt></dl>
<dl><dt><a name="YouTubeVideoQuery-__str__"><strong>__str__</strong></a>(self)</dt></dl>
<hr>
Data descriptors inherited from <a href="gdata.service.html#Query">gdata.service.Query</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary for instance variables (if defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list of weak references to the object (if defined)</tt></dd>
</dl>
<dl><dt><strong>alt</strong></dt>
<dd><tt>The feed query's alt parameter</tt></dd>
</dl>
<dl><dt><strong>author</strong></dt>
<dd><tt>The feed query's author parameter</tt></dd>
</dl>
<dl><dt><strong>max_results</strong></dt>
<dd><tt>The feed query's max-results parameter</tt></dd>
</dl>
<dl><dt><strong>published_max</strong></dt>
<dd><tt>The feed query's published-max parameter</tt></dd>
</dl>
<dl><dt><strong>published_min</strong></dt>
<dd><tt>The feed query's published-min parameter</tt></dd>
</dl>
<dl><dt><strong>start_index</strong></dt>
<dd><tt>The feed query's start-index parameter</tt></dd>
</dl>
<dl><dt><strong>text_query</strong></dt>
<dd><tt>The feed query's q parameter</tt></dd>
</dl>
<dl><dt><strong>updated_max</strong></dt>
<dd><tt>The feed query's updated-max parameter</tt></dd>
</dl>
<dl><dt><strong>updated_min</strong></dt>
<dd><tt>The feed query's updated-min parameter</tt></dd>
</dl>
<hr>
Methods inherited from <a href="__builtin__.html#dict">__builtin__.dict</a>:<br>
<dl><dt><a name="YouTubeVideoQuery-__cmp__"><strong>__cmp__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeVideoQuery-__cmp__">__cmp__</a>(y) <==> cmp(x,y)</tt></dd></dl>
<dl><dt><a name="YouTubeVideoQuery-__contains__"><strong>__contains__</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubeVideoQuery-__contains__">__contains__</a>(k) -> True if D has a key k, else False</tt></dd></dl>
<dl><dt><a name="YouTubeVideoQuery-__delitem__"><strong>__delitem__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeVideoQuery-__delitem__">__delitem__</a>(y) <==> del x[y]</tt></dd></dl>
<dl><dt><a name="YouTubeVideoQuery-__eq__"><strong>__eq__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeVideoQuery-__eq__">__eq__</a>(y) <==> x==y</tt></dd></dl>
<dl><dt><a name="YouTubeVideoQuery-__ge__"><strong>__ge__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeVideoQuery-__ge__">__ge__</a>(y) <==> x>=y</tt></dd></dl>
<dl><dt><a name="YouTubeVideoQuery-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeVideoQuery-__getattribute__">__getattribute__</a>('name') <==> x.name</tt></dd></dl>
<dl><dt><a name="YouTubeVideoQuery-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeVideoQuery-__getitem__">__getitem__</a>(y) <==> x[y]</tt></dd></dl>
<dl><dt><a name="YouTubeVideoQuery-__gt__"><strong>__gt__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeVideoQuery-__gt__">__gt__</a>(y) <==> x>y</tt></dd></dl>
<dl><dt><a name="YouTubeVideoQuery-__iter__"><strong>__iter__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeVideoQuery-__iter__">__iter__</a>() <==> iter(x)</tt></dd></dl>
<dl><dt><a name="YouTubeVideoQuery-__le__"><strong>__le__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeVideoQuery-__le__">__le__</a>(y) <==> x<=y</tt></dd></dl>
<dl><dt><a name="YouTubeVideoQuery-__len__"><strong>__len__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeVideoQuery-__len__">__len__</a>() <==> len(x)</tt></dd></dl>
<dl><dt><a name="YouTubeVideoQuery-__lt__"><strong>__lt__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeVideoQuery-__lt__">__lt__</a>(y) <==> x<y</tt></dd></dl>
<dl><dt><a name="YouTubeVideoQuery-__ne__"><strong>__ne__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeVideoQuery-__ne__">__ne__</a>(y) <==> x!=y</tt></dd></dl>
<dl><dt><a name="YouTubeVideoQuery-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeVideoQuery-__repr__">__repr__</a>() <==> repr(x)</tt></dd></dl>
<dl><dt><a name="YouTubeVideoQuery-__setitem__"><strong>__setitem__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeVideoQuery-__setitem__">__setitem__</a>(i, y) <==> x[i]=y</tt></dd></dl>
<dl><dt><a name="YouTubeVideoQuery-__sizeof__"><strong>__sizeof__</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubeVideoQuery-__sizeof__">__sizeof__</a>() -> size of D in memory, in bytes</tt></dd></dl>
<dl><dt><a name="YouTubeVideoQuery-clear"><strong>clear</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubeVideoQuery-clear">clear</a>() -> None. Remove all items from D.</tt></dd></dl>
<dl><dt><a name="YouTubeVideoQuery-copy"><strong>copy</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubeVideoQuery-copy">copy</a>() -> a shallow copy of D</tt></dd></dl>
<dl><dt><a name="YouTubeVideoQuery-get"><strong>get</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubeVideoQuery-get">get</a>(k[,d]) -> D[k] if k in D, else d. d defaults to None.</tt></dd></dl>
<dl><dt><a name="YouTubeVideoQuery-has_key"><strong>has_key</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubeVideoQuery-has_key">has_key</a>(k) -> True if D has a key k, else False</tt></dd></dl>
<dl><dt><a name="YouTubeVideoQuery-items"><strong>items</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubeVideoQuery-items">items</a>() -> list of D's (key, value) pairs, as 2-tuples</tt></dd></dl>
<dl><dt><a name="YouTubeVideoQuery-iteritems"><strong>iteritems</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubeVideoQuery-iteritems">iteritems</a>() -> an iterator over the (key, value) items of D</tt></dd></dl>
<dl><dt><a name="YouTubeVideoQuery-iterkeys"><strong>iterkeys</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubeVideoQuery-iterkeys">iterkeys</a>() -> an iterator over the keys of D</tt></dd></dl>
<dl><dt><a name="YouTubeVideoQuery-itervalues"><strong>itervalues</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubeVideoQuery-itervalues">itervalues</a>() -> an iterator over the values of D</tt></dd></dl>
<dl><dt><a name="YouTubeVideoQuery-keys"><strong>keys</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubeVideoQuery-keys">keys</a>() -> list of D's keys</tt></dd></dl>
<dl><dt><a name="YouTubeVideoQuery-pop"><strong>pop</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubeVideoQuery-pop">pop</a>(k[,d]) -> v, remove specified key and return the corresponding value.<br>
If key is not found, d is returned if given, otherwise KeyError is raised</tt></dd></dl>
<dl><dt><a name="YouTubeVideoQuery-popitem"><strong>popitem</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubeVideoQuery-popitem">popitem</a>() -> (k, v), remove and return some (key, value) pair as a<br>
2-tuple; but raise KeyError if D is empty.</tt></dd></dl>
<dl><dt><a name="YouTubeVideoQuery-setdefault"><strong>setdefault</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubeVideoQuery-setdefault">setdefault</a>(k[,d]) -> D.<a href="#YouTubeVideoQuery-get">get</a>(k,d), also set D[k]=d if k not in D</tt></dd></dl>
<dl><dt><a name="YouTubeVideoQuery-update"><strong>update</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubeVideoQuery-update">update</a>(E, **F) -> None. Update D from dict/iterable E and F.<br>
If E has a .<a href="#YouTubeVideoQuery-keys">keys</a>() method, does: for k in E: D[k] = E[k]<br>
If E lacks .<a href="#YouTubeVideoQuery-keys">keys</a>() method, does: for (k, v) in E: D[k] = v<br>
In either case, this is followed by: for k in F: D[k] = F[k]</tt></dd></dl>
<dl><dt><a name="YouTubeVideoQuery-values"><strong>values</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubeVideoQuery-values">values</a>() -> list of D's values</tt></dd></dl>
<hr>
Data and other attributes inherited from <a href="__builtin__.html#dict">__builtin__.dict</a>:<br>
<dl><dt><strong>__hash__</strong> = None</dl>
<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object><dd><tt>T.<a href="#YouTubeVideoQuery-__new__">__new__</a>(S, ...) -> a new object with type S, a subtype of T</tt></dl>
<dl><dt><strong>fromkeys</strong> = <built-in method fromkeys of type object><dd><tt>dict.<a href="#YouTubeVideoQuery-fromkeys">fromkeys</a>(S[,v]) -> New dict with keys from S and values equal to v.<br>
v defaults to None.</tt></dl>
</td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#55aa55">
<td colspan=3 valign=bottom> <br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr>
<tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td>
<td width="100%"><strong>UNKOWN_ERROR</strong> = 1000<br>
<strong>YOUTUBE_BAD_REQUEST</strong> = 400<br>
<strong>YOUTUBE_CLIENTLOGIN_AUTHENTICATION_URL</strong> = 'https://www.google.com/accounts/ClientLogin'<br>
<strong>YOUTUBE_COMPLAINT_CATEGORY_SCHEME</strong> = 'http://gdata.youtube.com/schemas/complaint-reasons.cat'<br>
<strong>YOUTUBE_COMPLAINT_CATEGORY_TERMS</strong> = ('PORN', 'VIOLENCE', 'HATE', 'DANGEROUS', 'RIGHTS', 'SPAM')<br>
<strong>YOUTUBE_CONFLICT</strong> = 409<br>
<strong>YOUTUBE_CONTACT_CATEGORY</strong> = ('Friends', 'Family')<br>
<strong>YOUTUBE_CONTACT_STATUS</strong> = ('accepted', 'rejected')<br>
<strong>YOUTUBE_INTERNAL_SERVER_ERROR</strong> = 500<br>
<strong>YOUTUBE_INVALID_ARGUMENT</strong> = 601<br>
<strong>YOUTUBE_INVALID_CONTENT_TYPE</strong> = 602<br>
<strong>YOUTUBE_INVALID_KIND</strong> = 604<br>
<strong>YOUTUBE_NOT_A_VIDEO</strong> = 603<br>
<strong>YOUTUBE_PLAYLIST_FEED_URI</strong> = 'https://gdata.youtube.com/feeds/api/playlists'<br>
<strong>YOUTUBE_QUERY_VALID_FORMAT_PARAMETERS</strong> = ('1', '5', '6')<br>
<strong>YOUTUBE_QUERY_VALID_ORDERBY_PARAMETERS</strong> = ('published', 'viewCount', 'rating', 'relevance')<br>
<strong>YOUTUBE_QUERY_VALID_RACY_PARAMETERS</strong> = ('include', 'exclude')<br>
<strong>YOUTUBE_QUERY_VALID_TIME_PARAMETERS</strong> = ('today', 'this_week', 'this_month', 'all_time')<br>
<strong>YOUTUBE_RATING_LINK_REL</strong> = 'http://gdata.youtube.com/schemas#video.ratings'<br>
<strong>YOUTUBE_SCHEMA</strong> = 'http://gdata.youtube.com/schemas'<br>
<strong>YOUTUBE_SERVER</strong> = 'gdata.youtube.com'<br>
<strong>YOUTUBE_SERVICE</strong> = 'youtube'<br>
<strong>YOUTUBE_STANDARDFEEDS</strong> = ('most_recent', 'recently_featured', 'top_rated', 'most_viewed', 'watch_on_mobile')<br>
<strong>YOUTUBE_STANDARD_FEEDS</strong> = 'https://gdata.youtube.com/feeds/api/standardfeeds'<br>
<strong>YOUTUBE_STANDARD_MOST_DISCUSSED_URI</strong> = 'https://gdata.youtube.com/feeds/api/standardfeeds/most_discussed'<br>
<strong>YOUTUBE_STANDARD_MOST_LINKED_URI</strong> = 'https://gdata.youtube.com/feeds/api/standardfeeds/most_linked'<br>
<strong>YOUTUBE_STANDARD_MOST_RECENT_URI</strong> = 'https://gdata.youtube.com/feeds/api/standardfeeds/most_recent'<br>
<strong>YOUTUBE_STANDARD_MOST_RESPONDED_URI</strong> = 'https://gdata.youtube.com/feeds/api/standardfeeds/most_responded'<br>
<strong>YOUTUBE_STANDARD_MOST_VIEWED_URI</strong> = 'https://gdata.youtube.com/feeds/api/standardfeeds/most_viewed'<br>
<strong>YOUTUBE_STANDARD_RECENTLY_FEATURED_URI</strong> = 'https://gdata.youtube.com/feeds/api/standardfeeds/recently_featured'<br>
<strong>YOUTUBE_STANDARD_TOP_FAVORITES_URI</strong> = 'https://gdata.youtube.com/feeds/api/standardfeeds/top_favorites'<br>
<strong>YOUTUBE_STANDARD_TOP_RATED_URI</strong> = 'https://gdata.youtube.com/feeds/api/standardfeeds/top_rated'<br>
<strong>YOUTUBE_STANDARD_WATCH_ON_MOBILE_URI</strong> = 'https://gdata.youtube.com/feeds/api/standardfeeds/watch_on_mobile'<br>
<strong>YOUTUBE_SUBSCRIPTION_CATEGORY_SCHEME</strong> = 'http://gdata.youtube.com/schemas/subscriptiontypes.cat'<br>
<strong>YOUTUBE_SUPPORTED_UPLOAD_TYPES</strong> = ('mov', 'avi', 'wmv', 'mpg', 'quicktime', 'flv', 'mp4', 'x-flv')<br>
<strong>YOUTUBE_UPLOAD_TOKEN_URI</strong> = 'https://gdata.youtube.com/action/GetUploadToken'<br>
<strong>YOUTUBE_UPLOAD_URI</strong> = 'https://uploads.gdata.youtube.com/feeds/api/users'<br>
<strong>YOUTUBE_USER_FEED_URI</strong> = 'https://gdata.youtube.com/feeds/api/users'<br>
<strong>YOUTUBE_VIDEO_URI</strong> = 'https://gdata.youtube.com/feeds/api/videos'<br>
<strong>__author__</strong> = 'api.stephaniel@gmail.com (Stephanie Liu), api.jhartmann@gmail.com (Jochen Hartmann)'</td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#7799ee">
<td colspan=3 valign=bottom> <br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Author</strong></big></font></td></tr>
<tr><td bgcolor="#7799ee"><tt> </tt></td><td> </td>
<td width="100%">api.stephaniel@gmail.com (Stephanie Liu), api.jhartmann@gmail.com (Jochen Hartmann)</td></tr></table>
</body></html>
|