py-ms-cognitive icon indicating copy to clipboard operation
py-ms-cognitive copied to clipboard

Thin wrapper for the Microsoft Cognitive Services

Results 9 py-ms-cognitive issues
Sort by recently updated
recently updated
newest added

-Fixed test cases -Tested Web Search and Image Search -Other searches were not tested

Hi Tristan, This is not really a bug report - more like a feature request / question: Is there a way to achieve a literal search / verbatim search? I...

Looking at the code it does not seem possible to pass an Accept_language header. The header seems just composed of the subscription key. It is possible to set a query...

Would be handy to have a method to retrieve the remaining API credits for an account.

Fringe cases in `class QueryChecker():` & `PyMsCognitiveSearch().get_json_results()` are the 2 I've seen so far. Btw!: I'm planning on making an `asyncio`-based request-engine plugin for your package, & so I'm totally...

Also added some explicit declarations including: explicit default val for `json_result` & a py3-compat issue involving rawstrings for use in regular expressions.

``` /Users/erik/.virtualenvs/proj/lib/python2.7/site-packages/py_ms_cognitive/py_ms_cognitive_search/py_ms_cognitive_search.pyc in search(self, limit, format) 69 def search(self, limit=50, format='json'): 70 ''' Returns the result list, and also the uri for next page (returned_list, next_uri) ''' ---> 71 return...

It looks to me like [WebResult's deeplink](https://github.com/tristantao/py-ms-cognitive/blob/master/py_ms_cognitive/py_ms_cognitive_search/py_ms_cognitive_web_search.py#L67) might not be working / expects an older version of the API. Currently it seems to be empty, always. Actually getting deep links...

I noticed that when I searched for something that yields less than 50 results ( or more generally the limit ) the API kept making requests because it was trying...