Comments (5)
Yes, I am running into the same thing on Python 3.7. I believe the issue here is that the type hints with default values are backwards. It should be q: str = None, sources: str = None, etc.
Sorry to bother @mattlisiv again, but it looks like users will need another version bump and this one is more urgent.
from newsapi-python.
Also, the PyPI versions of Python that this is compatible with are no longer correct due to the type hints. 3.6, 3.7 should be added and some of the current versions listed should be removed I think.
from newsapi-python.
ok my bad. I shouldve paid more attention. I reverted the type hints. Install 0.2.5 and let me know if you still have issues
from newsapi-python.
Thanks, @mattlisiv. Things look better.
from newsapi-python.
Yes, better! Thank you very much 👍
from newsapi-python.
Related Issues (20)
- The base example get_top_headlines() doesn't work. HOT 4
- Best way to track search results by day HOT 2
- Trying to use qInTitle and getting error HOT 1
- Bug report HOT 1
- Issue with endpoint HOT 1
- Library Partial Import Error HOT 1
- Enable use of proxies
- Content is not fully returned when run get_top_headlines() HOT 1
- Add search_in parameters
- I already imported newsapi and i got sucessfully package installed but i am getting no module error for NewsApiClient HOT 4
- get_top_headlines() not working HOT 5
- Error regarding Newsapi-python get_top_headlines() HOT 3
- Language list contains unavaliable or invalid codes
- there are no data come back HOT 2
- is_valid_string is too restrictive
- Missing searchIn
- get full article text
- cant import newsapi HOT 1
- Can't get top headlines for some countries (even though supported by the API)
- ImportError: cannot import name 'NewsApiClient' from 'newsapi HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from newsapi-python.