|
14 | 14 | from medium_api._topfeeds import TopFeeds |
15 | 15 | from medium_api._recommended_feed import RecommendedFeed |
16 | 16 | from medium_api._recommended_users import RecommendedUsers |
17 | | -from medium_api._recommended_lists import RecommendedLists |
| 17 | +# from medium_api._recommended_lists import RecommendedLists |
18 | 18 | from medium_api._archived_articles import ArchivedArticles |
19 | 19 | from medium_api._user import User |
20 | 20 | from medium_api._article import Article, SAMPLE_STYLE_FILE |
@@ -447,29 +447,29 @@ def recommended_users(self, tag:str): |
447 | 447 | fetch_lists=self.fetch_lists, |
448 | 448 | ) |
449 | 449 |
|
450 | | - def recommended_lists(self, tag:str): |
451 | | - """For getting the Medium's RecommendedLists Object |
| 450 | + # def recommended_lists(self, tag:str): |
| 451 | + # """For getting the Medium's RecommendedLists Object |
452 | 452 |
|
453 | | - Typical usage example: |
| 453 | + # Typical usage example: |
454 | 454 |
|
455 | | - ``recommended_lists = medium.recommended_lists(tag="artificial-intelligence")`` |
| 455 | + # ``recommended_lists = medium.recommended_lists(tag="artificial-intelligence")`` |
456 | 456 |
|
457 | | - Args: |
458 | | - tag (str): It's a string (smallcase, hyphen-separated) which specifies |
459 | | - a category/niche as classified by the Medium Platform. |
| 457 | + # Args: |
| 458 | + # tag (str): It's a string (smallcase, hyphen-separated) which specifies |
| 459 | + # a category/niche as classified by the Medium Platform. |
460 | 460 |
|
461 | | - Returns: |
462 | | - RecommendedLists: Medium API `RecommendedLists` Object (medium_api._recommended_lists.RecommendedLists) |
463 | | - that can be used to access all the properties and methods, for given `tag`. |
| 461 | + # Returns: |
| 462 | + # RecommendedLists: Medium API `RecommendedLists` Object (medium_api._recommended_lists.RecommendedLists) |
| 463 | + # that can be used to access all the properties and methods, for given `tag`. |
464 | 464 |
|
465 | | - """ |
466 | | - return RecommendedLists(tag=tag, |
467 | | - get_resp=self.__get_resp, |
468 | | - fetch_articles=self.fetch_articles, |
469 | | - fetch_users=self.fetch_users, |
470 | | - fetch_publications=self.fetch_publications, |
471 | | - fetch_lists=self.fetch_lists, |
472 | | - ) |
| 465 | + # """ |
| 466 | + # return RecommendedLists(tag=tag, |
| 467 | + # get_resp=self.__get_resp, |
| 468 | + # fetch_articles=self.fetch_articles, |
| 469 | + # fetch_users=self.fetch_users, |
| 470 | + # fetch_publications=self.fetch_publications, |
| 471 | + # fetch_lists=self.fetch_lists, |
| 472 | + # ) |
473 | 473 |
|
474 | 474 | def archived_articles(self, tag:str, count:int = 20, year:str = "", month:str = "", next:str = ""): |
475 | 475 | """ |
|
0 commit comments