Live data from Hacker News

Ask HN: Which sites/platforms do you wish had an API?

news.ycombinator.com

21–30 of 44 posts

Re: Ask HN: Which sites/platforms do you wish had an API?

#21

Here are the data-related API's I wish existed: 1. Indeed.com - analytics on how many job ads mentioned a specific brand or keyword. 2. Yelp - analytics on how many checkins a restaurant or chain got every month. 3. Apple Store - analytics on how many downloads an app got every month. 4. Amazon Reviews - an API to retrieve reviews for a product. 5. Google Trends - API to retrieve historical trends for a keyword 6. Go…

You can query Google search using the Firefox search bar endpoint:

https://suggestqueries.google.com/complete/search?client=fir...

This returns an array of 10 of matches for the term in `q`. This is how the AnyComplete command for Hammerspoon works: https://github.com/nathancahill/Anycomplete

Re: Ask HN: Which sites/platforms do you wish had an API?

#22

Here are the data-related API's I wish existed: 1. Indeed.com - analytics on how many job ads mentioned a specific brand or keyword. 2. Yelp - analytics on how many checkins a restaurant or chain got every month. 3. Apple Store - analytics on how many downloads an app got every month. 4. Amazon Reviews - an API to retrieve reviews for a product. 5. Google Trends - API to retrieve historical trends for a keyword 6. Go…

You can query Google search using the Firefox search bar endpoint: https://suggestqueries.google.com/complete/search?client=fir... This returns an array of 10 of matches for the term in `q`. This is how the AnyComplete command for Hammerspoon works: https://github.com/nathancahill/Anycomplete

This is an autocomplete API. How can I get the actual search results for the query?

Re: Ask HN: Which sites/platforms do you wish had an API?

#23
post #16

Any online based computer game. GTA Online and Rocket League are two that spring to mind. The stuff we could create with that data!

Eve online has tons of APIs, and the entire game is very data driven with an open market, industry and more.

Its kind of a developers wet dream if you like that kind of stuff. :)

Re: Ask HN: Which sites/platforms do you wish had an API?

#24

Netflix would be nice. I'd love to be able to create playlists, or even play random things. Trying to watch through Arrow / Flash / Legends of Tomorrow / Supergirl in chronological order is a real pain in the butt.

The ability to create and share a netflix playlist, effectively user-created "TV networks", would be absolutely awesome. Most would be crap, but the same can be said for youtube playlists.

Re: Ask HN: Which sites/platforms do you wish had an API?

#25

I hope some major stock trading website can have api for 1. historical data 2. real-time data 3. trading api credit card usage/history data (only for myself) that is across all credit card brand.

I'm pretty sure APIs #1/2/3 do exist, although access costs thousands of dollars, making hobbyist usage impractical.

Re: Ask HN: Which sites/platforms do you wish had an API?

#26

Netflix would be nice. I'd love to be able to create playlists, or even play random things. Trying to watch through Arrow / Flash / Legends of Tomorrow / Supergirl in chronological order is a real pain in the butt.

Even better - if all the streaming services had an API that I could query to see who has what shows / movies.

I'm sick of searching 3 catalogs (hulu, netflix, amazon) and finding out none of them have what I'm looking for.

Re: Ask HN: Which sites/platforms do you wish had an API?

#28

Netflix would be nice. I'd love to be able to create playlists, or even play random things. Trying to watch through Arrow / Flash / Legends of Tomorrow / Supergirl in chronological order is a real pain in the butt.

Even better - if all the streaming services had an API that I could query to see who has what shows / movies. I'm sick of searching 3 catalogs (hulu, netflix, amazon) and finding out none of them have what I'm looking for.

You can use https://www.justwatch.com for that.

It's really useful for finding shows on services you use.

Re: Ask HN: Which sites/platforms do you wish had an API?

#29
post #12

Earlier quoted context omitted.

The problem is you can usually just get around the limiter pretty easily, isn't it? Like one site I was scraping did rate limiting by ip; I just spawned 5 aws boxes to do the scraping. And with aws pricing model, there was no real reason to stop at only 5 boxes, since each request was independent.. If I were planning to make a profit on that data, I might well have spawned 1000 boxes to speed things up (took 2 weeks…

Can you elaborate?

If you do non-registration rate limiting on an api, then you still need some identifier to calculate api usage; its not hard to find an identifier for a single machine (ie IP address, which isn't actually but close enough),

But without registration, theres no way I can think of to associate multiple machines with a single person.

And presumably if you're rate-limiting on individual users of the api (and not the total usage across all users), then you're trying to maximize the number of users accessing the api simultaneously (ie you don't want 1 user maxing out resources, denying all other users).

But with things like cloud computing, its trivial for a single user to have an absurd number of machines (legally). AWS charges on compute-hour, not number of machines. Running 1 instance for 50 hours and 50 instances for 1 hour has the same cost.

But for the server, that difference is significant; you apply rate limiting because you don't want to be hammered for a short duration followed by nothing, at least not from one user.

Registration can also be bypassed somewhat trivially (temporary emails and aliases), but its a good deal more effort than bypassing non-registration rate limiting. And presumably most people who want to scrape a dataset large enough to bother bypassing the limiter are nautrally, by their job, aware of what I've described. Bypassing registration takes a good deal more work, and more specific tooling

So tl;dr

Rate limiting by ip only affects 1 machine, but not necessarily 1 user

Rate limiting by registration affects n machines, with 1 user

Before cloud vps, 1 machine basically correlated to 1 user. Now its trivial for n machines to correlate to 1 user.

Post reply on HN