clippercard
clippercard copied to clipboard
getting find_all error while trying to use
markup_type=markup_type))
Traceback (most recent call last):
File "/usr/local/bin/clippercard", line 9, in
I'm running into the same issue using Python 2.7.10 on OSX. Any info around this?
+1
I changed all instances of "j_idt14" to "j_idt13" in client.py, which seems to have fixed things.
I found that in parser.py I was getting the login page, instead of the user profile page.
in client.py it was trying to login via: 'javax.faces.source': 'j_idt14:submitLogin'
but on clippercard.com/ClipperCard/loginFrame.jsf the id was 'j_idt13:submitLogin'
the development of this project has migrated to https://github.com/clippercard/clippercard-python
recent fixes in 0.3.3 and later contains the bug fix for this
@goldengate88 how does one use this clippercard API in swift?
@blai30 - unfortunately this project itself is not the API service. This project is an unofficial API client written in Python and only supports usage within a Python application. The proper way to take advantage of the principle of the implementation is to use this project's code as a reference implementation for writing a similar http client in Swift.
(A hacky, inelegant way to get around this is to call a python process from within Swift but I highly discourage it because you're not going to be able to take advantage of the majority of the features within the library)