Skip to content
#

python-client

Here are 99 public repositories matching this topic...

phamthanhnam
phamthanhnam commented Feb 16, 2020

For example:

from gnewsclient import gnewsclient
client = gnewsclient.NewsClient()

or:
client = gnewsclient.NewsClient(topic='Top Stories')
then:
client.get_news()
returned []

In gnewsclient.py file, function get_news(self), this line:
if self.topic is None or self.topic is 'Top Stories':
should be fixed by this line:
`if self.topic == None or self.topic == 'Top Stor

mabrownnyu
mabrownnyu commented Feb 28, 2019

TESTS

Tests for get_captions

Located in test_captions_methods.py

Function Tested

def get_captions(self, video_id, lang_code='en', parser=P.parse_caption_track, **kwargs)

TO DO

  • parser
  • LIST OF VALID VIDEO IDS DOES NOT WORK AND I HAVE NO IDEA WHY
  • video_id
  • lang_code

Tests for get_channel_id_from_user

Located in `test_channel_methods.

Improve this page

Add a description, image, and links to the python-client topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the python-client topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.