Home 5 Great YQL One-Liners

5 Great YQL One-Liners

If you haven’t played with YQL before, put down that Hot Pocket and head over the Yahoo Developer Network. At the YQL console you’ll find a collection of resources to quickly attack problems with cut- and-paste simplicity instead of having to digest several pages of API documentation. You’ll also find examples with source code for putting your queries to work.

Below are five great YQL one-liners to get you thinking about the possibilities.

YQL One-Liners

Note: For the following examples simply follow the link and select the “TEST” button to review results.

  1. We all love Techmeme. Techmeme also loves their tips. Sometimes you just want to know who Techmeme thanks for those “tip @techmeme” tweets. With YQL you can use a simple query to see who Techmeme thanks.
  2. Of course, you might want priority access to tips before they make it to Techmeme. Here’s another very simple query to isolate Twitter users sending “tip @techmeme” tweets.
  3. There is more to life than Techmeme. In fact, there is also Hackernews. However, sometimes you just want to know if an article is worthy of your time. With this simple query you can limit your reading to high-scoring Hackernews articles
  4. There are a lot of ways to find out the location information of a given IP address. YQL provides a resource for geolocation by IP address as well. With this simple query you can find the city, state, and country associated with 8.8.8.8
  5. Last but not least, YQL is there for you after you step away from your computing haven. Now you can keep track of those memorable times at the pub when you spill something on someone.

The last few examples are made possible by Community Open Data Tables for YQL.

Hopefully, if this was your fist time seeing YQL it won’t be your last!

If you were already familiar with YQL, what are your five favorite examples? Let us know in the comments below.

About ReadWrite’s Editorial Process

The ReadWrite Editorial policy involves closely monitoring the tech industry for major developments, new product launches, AI breakthroughs, video game releases and other newsworthy events. Editors assign relevant stories to staff writers or freelance contributors with expertise in each particular topic area. Before publication, articles go through a rigorous round of editing for accuracy, clarity, and to ensure adherence to ReadWrite's style guidelines.

Get the biggest tech headlines of the day delivered to your inbox

    By signing up, you agree to our Terms and Privacy Policy. Unsubscribe anytime.

    Tech News

    Explore the latest in tech with our Tech News. We cut through the noise for concise, relevant updates, keeping you informed about the rapidly evolving tech landscape with curated content that separates signal from noise.

    In-Depth Tech Stories

    Explore tech impact in In-Depth Stories. Narrative data journalism offers comprehensive analyses, revealing stories behind data. Understand industry trends for a deeper perspective on tech's intricate relationships with society.

    Expert Reviews

    Empower decisions with Expert Reviews, merging industry expertise and insightful analysis. Delve into tech intricacies, get the best deals, and stay ahead with our trustworthy guide to navigating the ever-changing tech market.