kickscraper
kickscraper copied to clipboard
Client returning null objects
I've successfully loaded the Client code on two machines but it is returning null results when parsing client.user and client.categories in version 0.2.2. Further client.category('comics') returns an empty list for all categories. I assume this behavior is related to either a change in KickStarter API or dependency issues on my machines, so I have included the relevant gems from both setups:
ruby 2.0.0p481 (2014-05-08 revision 45883) [universal.x86_64-darwin14]
bundler (1.3.0) faraday (0.8.9) faraday_middleware (0.9.1, 0.8.8) hashie (2.1.2) json (1.7.7) kickscraper (0.2.2, 0.2.0) multi_json (1.11.2, 1.11.0) rake (10.4.2, 0.9.6) rspec (2.99.0) rspec-core (3.3.1, 2.99.2) uri-query_params (0.7.1)
ruby 2.0.0p353 (2013-11-22 revision 43784) [x86_64-linux]
bigdecimal (1.2.0) bundle (0.0.1) bundler (1.10.5) faraday (0.8.9) faraday_middleware (0.10.0) hashie (2.1.2) json (1.7.7) kickscraper (0.2.2) multi_json (1.11.2) multipart-post (1.2.0) rake (0.9.6) uri-query_params (0.7.1)
Hey @Lythimus - I just tried it on my machine and I'm getting the same thing. nil for user and for any categories. I know it didn't do this in the past, so I think your assumption is probably right - I think Kickstarter must've changed the way they're exposing both users and categories.
I don't have the time to work on this any time soon, but if anyone wants to try to fix this, please go for it!