Closed asebold closed 5 years ago
Looking through the code, I see the real parameter is "from_param". On the NewsAPI.org site they list an example using "from_parameter". This should be updated. https://newsapi.org/docs/client-libraries/python
Hi @asebold ,
Thanks for pointing this out. As this is not actually an official library, I am not part of the NewsAPI team and do not manage the documentation. @News-API-gh, could you guys take a look at correcting this or if necessary, we can rename the param in the library ?
Thanks, Matt
I think this issue can be safely closed for now as @News-API-gh already updated their documentation for keyword argument to from_param
in the documentation
This is still not working. When I add the from_param
I get the newsapi.newsapi_exception.NewsAPIException
This is still not working. When I add the
from_param
I get thenewsapi.newsapi_exception.NewsAPIException
It would be helpful if you could give the traceback you got when trying to run it.
Yes, i found the issue. The news api does not let me filter older news with the free plan. Thank you, you can close the issue. On Mon 8. Jul 2019 at 16:49, Danish notifications@github.com wrote: This is still not working. When I add the from_param I get the newsapi.newsapi_exception.NewsAPIException
It would be helpful if you could give the traceback you got when trying to run it.
?You are receiving this because you commented.Reply to this email directly, view it on GitHub, or mute the thread.
Documentation Updated
The code below errors out:
This is what the exception prints:
I'm using Python3.6 on Ubuntu 16.04.