Hacker News new | past | comments | ask | show | jobs | submit login

Interesting. Whats a use case for this?



I needed to do screenshots in my Rails app, and I couldn't get the screen shotting service to work in Ruby.

I already knew how to do screenshots in Python, and was tired of relearning this stuff in a different language for each project.

So I made an API that takes a screenshot, and now I don't need to learn it ever again :)

https://api.blockspring.com/users/mapsup/blocks/07b6410853fa...


I personally like the google reverse image search hack :).

I used to just run that python script manually on my computer. Now I can just call it from my front-end js when users upload images and return back some text about the image.

https://api.blockspring.com/users/pkpp1233/blocks/5a1b66ef20...

But you can do just about anything. Users have done r statistics from js. Or python sentiment analyses (lots of good libraries there) whenever they get user comments in their rails app.


Was just looking today if google had an api for reverse image search, which they don't, so thank you :)


I imagine they have an undocumented api for reverse image search. The team at Google has released this extension[1] for adding reverse image search to the context menu, which is currently the only extension that enables reverse image search for images only accessible while logged in (think if you want to reverse image search a preview of an image someone emailed to you).

I was thinking about intercepting the requests it makes and making an open source extension that does the same thing, but I haven't had the time yet.

[1] https://chrome.google.com/webstore/detail/search-by-image-by...




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

Search: