HN2new | past | comments | ask | show | jobs | submitlogin

This, and previous FB APIs, seem to really be lacking. For a Python API, for instance, you shouldn't be calling generic 'graph' functions and then passing strings to tell it what to do. If you want to do that, you might as well just construct the URL yourself.

Python is powerful for hackers because of introspection. You can pull up a shell and all of the documentation is available with type() and dir() and iPython's tricks. An API that takes actions as strings fails for Python.



I completely agree. This micro api client is absolutely not for developing full fledged applications. I've played around with writing some heavier duty clients for other projects I've worked on that have lots of pythonic goodies in addition to more advanced things like automatic request batching and caching, but I'm still not satisfied with them enough to put it out there.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: