mattlisiv / newsapi-python

A Python Client for News API
MIT License
376 stars 130 forks source link

Documentation typo #1

Closed danielbalagula closed 6 years ago

danielbalagula commented 6 years ago

https://newsapi.org/docs/client-libraries/python

Following example:

# /v2/everything
all_articles = newsapi.get_everything(q='bitcoin',
                                      sources='bbc-news,the-verge',
                                      domains='bbc.co.uk,techcrunch.com',
                                      from_parameter='2017-12-01',
                                      to='2017-12-12',
                                      language='en',
                                      sortBy='relevancy',
                                      page=2)

sortBy should be sort_by

mattlisiv commented 6 years ago

Hi @danielbalagula , Thanks for pointing that out. Because this is an unofficial repo, I have notified the News API team to update their documentation.

Sent with GitHawk

News-API-gh commented 6 years ago

@danielbalagula Hey Daniel, thanks for highlighting this. The documentation has just been updated on our site. 👍 👍

mattlisiv commented 6 years ago

Thanks News API team. Closing.