Git Product home page Git Product logo

aylien_newsapi_python's People

Contributors

fcibecchini avatar frontside avatar greg-gol avatar hamedrnik avatar marcinaylien avatar mdibaiee avatar montenegrodr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

aylien_newsapi_python's Issues

test

This is a test issue to verify comms integration

Related Stories does not work

I tried api_instance.list_related_stories(**opts) method in this link but I got the following errors:

('Exception when calling DefaultApi->list_related_stories: (422)\n'
 'Reason: Unprocessable Entity\n'
 "HTTP response headers: HTTPHeaderDict({'Server': 'nginx', 'Date': 'Mon, 02 "
 "Jul 2018 21:15:35 GMT', 'Content-Type': 'application/json', "
 "'Content-Length': '257', 'Connection': 'keep-alive'})\n"
 'HTTP response body: '
 '{"errors":[{"id":"related_stories_params_story_id_story_title_story_url","links":{"about":"https://newsapi.aylien.com/docs/statuses"},"status":"422","code":"KB422","title":"story_id, '
 'story_title, story_url are mutually exclusive","detail":"No more info."}]}\n'
 '\n')

Connection pool size lacks (obvious) control

Hi guys,

thanks for the great API. I'm experiencing a problem when trying to parallelise the request process. I get the following warning if I set the thread number to more than 4 and sometimes even with 4:

urllib3.connectionpool WARNING Connection pool is full, discarding connection: api.newsapi.aylien.com

I looked into it and it seems that you are setting the pool_size parameter in RESTClientObject to 4 and then never actually exposing that to any of the other classes/parameters.

Is this on purpose, I know there are some restrictions on the number of hits per minute? What would be the best way to expose it? Is there an alternative? Is my use case totally wrong?

Lots of questions, I know, but I thought I should kickstart your issues page with a bang.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.