Welcome to the world of JavaScript APIs (application programming interfaces), where you can learn how to hook up your applications and sites to third-party sources of data. APIs allow you to access external data sources and use them in new and interesting ways, whether you're adding a Facebook widget, plugging into a gaming device, or pulling in an RSS feed.
Authors that write for this category
An Overview of the JavaScript History API
Sandeep Panda on APIs
Modern web applications can access a user’s browsing history using the History API. As of HTML5 you can also manipulate history entries with great flexibility. This tutorial gives an overview of JavaScript’s History API, and explains how to use this feature while designing modern web applications. (more…)
More like this
2 comments
Other APIs
The Buzz About the Vibration API
Working with Geolocation and the Google Maps API
Navigation Timing API: How to Profile Page Loads Efficiently
Discovering the High Resolution Time API
JavaScript and HTML5 Gaming: From Angry Birds to ZX Spectrum
Introducing the Geeksphone by Mozilla
Colin Ihrig on Advanced
Mozilla has been hard at work on their new operating system, Firefox OS. This week they took another step towards legitimacy with the announcement of developer preview devices – known as the Geeksphone. This article introduces Firefox OS and the Geeksphone to the JSPro audience. (more…)
More like this
0 comments
Other Advanced
The Return of the jQuery Plugin Registry
Debugging Unit Tests Using js-test-driver
Fixing the details Element
Interfacing Java and JavaScript Using LiveConnect
Adding Micro-Constructors to a Modular Design Pattern
Creating a Polyline Using Geolocation and the Google Maps API
Aurelio De Rosa on APIs
In Getting Directions Using the Google Maps API, I explained how to create a service that lets a user find a route from one address to another. In this article, you’ll learn how to use the Geolocation API together with the Google Maps API to display a polyline on a map that join several points. (more…)
More like this
0 comments
Other APIs
Working with Geolocation and the Google Maps API
JavaScript and HTML5 Gaming: From Angry Birds to ZX Spectrum
Getting Directions Using the Google Maps API
Introducing the Battery Status API
The Buzz About the Vibration API
Implementing Push Technology Using Server-Sent Events
Colin Ihrig on APIs
Making Ajax calls using the XmlHttpRequest object is a well established technique for generating dynamic server requests. However, Ajax does not allow the server to directly initiate data transfers to the client – a technique referred to as push technology. That’s where the server-sent events API comes into the picture. Specializing in push technology, server-sent events transmit data to clients as a continuous stream, referred to as an event stream, over a connection which is kept open. And, by maintaining an open connection, the overhead of repeatedly establishing a new connection is eliminated. (more…)
More like this
4 comments
Other APIs
Getting Directions Using the Google Maps API
JavaScript and HTML5 Gaming: From Angry Birds to ZX Spectrum
Introducing the Geeksphone by Mozilla
Discovering the High Resolution Time API
The Buzz About the Vibration API
Getting Directions Using the Google Maps API
Aurelio De Rosa on APIs
In Working with Geolocation and the Google Maps API you learned how to determine a user’s physical location and display it on a map. In this followup article, you’ll create a service that lets a user get directions from one address to another. To enhance the user experience, the service will also allow the user to automatically use their current position as the starting point. (more…)
More like this
0 comments
Other APIs
An Overview of the JavaScript History API
Working with Geolocation and the Google Maps API
Introducing the Geeksphone by Mozilla
The Buzz About the Vibration API
Creating a Polyline Using Geolocation and the Google Maps API
The Buzz About the Vibration API
Colin Ihrig on APIs
As the mobile Web continues to grow, APIs are being designed which specifically target mobile devices. A prime example is the W3C’s Vibration API, which gives developers access to a device’s vibration hardware. This has obvious implications for games, as it can provide a more immersive experience. This article will teach you how to add tactile feedback to your applications, and leave your users buzziing. (more…)
More like this
4 comments
Other APIs
An Overview of the JavaScript History API
Getting Directions Using the Google Maps API
Introducing the Battery Status API
JavaScript and HTML5 Gaming: From Angry Birds to ZX Spectrum
Implementing Push Technology Using Server-Sent Events
Working with Geolocation and the Google Maps API
Aurelio De Rosa on APIs
One of today’s most used APIs is the Geolocation API. Geolocation allows an application to determine your physical coordinates, and tailor the application to you. This has the potential to dramatically enhance your user experience. This article will show you how to use the Geolocation API together with the Google Maps API. (more…)
More like this
5 comments
Other APIs
JavaScript and HTML5 Gaming: From Angry Birds to ZX Spectrum
Creating a Polyline Using Geolocation and the Google Maps API
Introducing the Battery Status API
Getting Directions Using the Google Maps API
Implementing Push Technology Using Server-Sent Events