WebKite Blog

Periodically we publish thoughts and ideas about he state of the web and the state of structured data publishing. Topics range from small business marketing to cost efficient advertising.

We Built You a World Cup Widget

Embed World Cup Scores

 

How is there no World Cup widget? It’s 2014, a world full of APIs, code, and innovation. Any soccer fan, hooligan, or blogger should be able to embed World Cup scores on their website. Even if that website is about pizza.

We decided to “be the change” and build a World Cup score widget. The widget pulls data from a Google Spreadsheet which is being populated by a World Cup API. Then we use the power of WebKite to turn that data into an embeddable widget.  Take a look at the end result!

 

This was something the  WebKite team started working on a few days ago. The first thing we had to do was find an API that could serve us data that WebKite transforms into content. The Kimono Labs World Cup API provided everything we needed and more.

For the first iteration, we needed to pull data about the teams that are playing, the current score, status of the game (pre-game, full time),  country flags, and what match was coming up next. The API offers plenty of other data about the game, players, and points.  They’re all facets we’ll eventually use, but for our first outing we wanted something simple and attractive.

What is happening behind the scenes?

WebKite turns data into embeddable content. Traditionally, it has taken the form of a restaurant menu, lists of wines, or a business directory. Those three are a great start, but WebKite can do anything if you feed it data in a structured format. In this case a Google Spreadsheet. 

The WebKite platform loves data—it especially loves when it knows what data it can expect. We use a spreadsheet to house data  because we can standardize columns of information so everything falls into place. Plus, outside of an API, a spreadsheet is a known interface. I have yet to meet someone who hasn’t added data into a spreadsheet. WebKite makes data a bit more dynamic than static rows you scroll through.

We’re able to use the API to pull data into a Google Spreadsheet. You can view the live spreadsheet powering the World Cup Widget here. It updates every minute with new results. Those updates are pushed to the widget, and what you get is a current score of the game.

There’s no refreshing or customizing you need to do on your end. It’s a simple bit of javascript that just works.

What’s next? 

We’re working on some fun stuff with the API. Luckily, the World Cup is far from over. Some may say it’s just heating up. 

With information on players, penalties, penalty kicks, a single-elimination schedule, we can turn that data into something you can easily digest. 

If you have suggestions, ideas, or thoughts about what you’d like to see, please leave a comment. We are making data more accessible and sharable than ever, 

Inventory-based advertising is a better way to advertise

Since we're generating specific ads based on a business' inventory, ads are only shown to customers that are ready to buy those products.

This mitigates waste and ensures that you only get clicks that have a better chance of leading to a sale. Inventory-based ads help you skip past the bartering and get right to the sale. Meaning you can spend less time maintaining ads and more time taking care of your business.

Start Using WebKite