ParallelDots / ParallelDots-Python-API

Python repository for ParallelDots API Wrapper
43 stars 17 forks source link

can't import abuse module #5

Closed dimple1024 closed 7 years ago

dimple1024 commented 7 years ago

i was trying to use paralleldots to detect abusive content in the text so here is what i did:

from paralleldots import abuse but i got an error: ImportError: cannot import name abuse i have 0.9.1 version of paralleldots installed and python 2.7

dimple1024 commented 7 years ago

@ahwankumar sir plz have a look at the issue

ahwankumar commented 7 years ago

@Meghdeep Please have a look at this case.

shruti9619 commented 7 years ago

There's no api endpoint given in the documentation for abusive content check.

shruti9619 commented 7 years ago

I added the api endpoint and the python code to fetch it successfully through pull request could you review it?

Meghdeep commented 7 years ago

Hey shruti, we're completely revamping our APIs and will have a completely new wrapper up, the abuse endpoint will be added in when that rolls out this weekend. Thanks a lot for your interest !

shruti9619 commented 7 years ago

Excited to see the change.

dimple1024 commented 7 years ago

sir i am trying to use the abuse method but i am facing the same issue.

On Fri, Aug 18, 2017 at 7:13 PM, Shruti notifications@github.com wrote:

Excited to see the change.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ParallelDots/ParallelDots-Python-API/issues/5#issuecomment-323357217, or mute the thread https://github.com/notifications/unsubscribe-auth/ARyEoML1uiRolgtL9gaHwu4Uyo76l4e4ks5sZZTvgaJpZM4OgRC8 .

Meghdeep commented 7 years ago

Please upgrade the existing pip installation with: sudo pip install paralleldots --upgrade The issue has been rectified.