Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syntax Error: invalid syntax #2

Open
chankalun opened this issue Mar 25, 2016 · 2 comments
Open

Syntax Error: invalid syntax #2

chankalun opened this issue Mar 25, 2016 · 2 comments

Comments

@chankalun
Copy link

Hello and thank you very much for your unofficial API:)))
However, I am experiencing a problem even running the example... When I try:
print "\nHere is the second result in more detail:\n",books[1], I got an error of "SyntaxError: invalid syntax". May I ask what is the possible issue and how could I fix it please?

Thanks a lot and have a lovely day!
Cheers,
Karen

@susinmotion
Copy link
Owner

Hi Karen,
Thanks for your interest in this project! Curious to hear what you were thinking about using it for.
Unfortunately, the NYPL changed their catalog format since I wrote the code, so the whole thing is currently kind of broken :( Alas, the sad realities of scraping. If this is something you might be interested in working on/using a bunch, I'd be game to collaborate on getting it up and running again. Just haven't gotten around to it. In the meantime, perhaps someday the NYPL will make their API public...
Best,
Susan

@chankalun
Copy link
Author

Hello Susan,

I am using the API for my project for a data visualisation, and also to prove a hypothesis :))) In my project, I am looking at how NYPL categorise books about Chinese calligraphy, in order to prove or analysis how is Chinese calligraphy being categorised in Western academic world.
I really hope this API could be active again so that I could keep working on it :)))

Cheers,
Karen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants