pdftables / python-pdftables-api

Python library to interact with https://pdftables.com API
https://pdftables.com/api
BSD 3-Clause "New" or "Revised" License
85 stars 33 forks source link

Doesn't work on google colab #18

Closed zhaojianghe16 closed 5 years ago

zhaojianghe16 commented 5 years ago

Hello. I try to use it on google colab and here is the error message. Am I doing something wrong or it does not work on google colab? Thanks

APIException Traceback (most recent call last)

in () 2 3 c = pdftables_api.Client('my-api-key') ----> 4 c.xlsx('input.pdf', 'output.xlsx') 3 frames /usr/local/lib/python3.6/dist-packages/pdftables_api/pdftables_api.py in request(self, pdf_fo, out_format, query_params, **requests_params) 157 raise APIException("Unknown file format") 158 elif response.status_code == 401: --> 159 raise APIException("Unauthorized API key")