---
title: "How To: Hack a Range Rover"
description: Learn how we used XapiX to integrate data from a Range Rover, outfitted with Bosch’s mySPIN technology, with cloud service to create  DashLog.
image: https://x.xapix.io/hubfs/IMG_20170315_132655.jpg
---

[![Lab Xapix](https://x.xapix.io/hubfs/Xapix-Nov2016/Images/download.svg)](http://www.xapix.io)

- [Toolbox](https://wizards.xapix.io/)
- [Pricing](https://x.xapix.io/pricing)
- [Enterprise](https://x.xapix.io/enterprise)
- [Tutorials](https://x.xapix.io/tutorials)
- [Blog](https://x.xapix.io/blog)

- [Register](https://app.xapix.io/)
- [Login](https://app.xapix.io/)

# [![Lab Xapix](https://x.xapix.io/hubfs/Xapix-Nov2016/Images/download.svg) XAPIX](https://x.xapix.io/)

- [Toolbox](https://wizards.xapix.io/)
- [Pricing](https://x.xapix.io/pricing)
- [Enterprise](https://x.xapix.io/enterprise)
- [Tutorials](https://x.xapix.io/tutorials)
- [Blog](https://x.xapix.io/blog)

# XapiX Blog

# How To: Hack a Range Rover

Posted by [Joi Anderson](https://x.xapix.io/blog/author/joi-anderson) on Apr 12, 2017 7:01:35 PM

- [Tweet](https://twitter.com/share)

![IMG_20170315_094259.jpg](https://x.xapix.io/hs-fs/hubfs/IMG_20170315_094259.jpg?width=769&height=363&name=IMG_20170315_094259.jpg)

  
*At Bosch ConnectedWorld 2017, Team XapiX used XapiX to integrate data from a Range Rover, outfitted with Bosch’s mySPIN technology, with cloud services to create  DashLog —  an application  that provides car owners with actionable maintenance suggestions, such as scheduling a service appointment and ordering the replacement parts from their mobile phone or dashboard display.*

 

**BERLIN —** The XapiX team was honored to be invited to participate in Bosch ConnectedWorld 2017 — a two-day IoT conference in Berlin with more than 2,700 participants, 130 speakers, and 80 booths. The event brought together IoT startups, Bosch executives and customers to hack and share their ideas using Bosch and Bosch eco-system partners’ hardware and software products.

Bosch is currently using XapiX to rapidly prototype and test their growing portfolio of APIs. Our tool is particularly useful in time-constrained settings, which we demonstrated at the hackathon.

 

![IMG_20170315_132655.jpg](https://x.xapix.io/hs-fs/hubfs/IMG_20170315_132655.jpg?width=551&name=IMG_20170315_132655.jpg)  
*Retrieving and recording data from a Range Rover outfitted with Bosch's mySPIN technology*

 

Our team got behind the steering wheel of a Range Rover outfitted with Bosch's mySPIN technology and, using XapiX as a back-end, built a fully functional prototype application. From the Range Rover, the Xapix team was retrieved  and recorded into a data into a using a resource  on XapiX. Instead of setting up our DB stack we just had to create a resource class on XapiX.

To create the resource class, navigate to the 'Resource Classes' from the project dashboard, then you need to select the actions you need for your project. In this case,  we selected ‘index,’ ‘show,’ and ‘create,’ as we only needed to query, write new data, which would never be altered.

Afterwards, click dashboard to navigate to the dashboard of the Resource Class, where you can add the field we needed to store our data.

![Pasted image at 2017_04_06 09_51 AM.png](https://x.xapix.io/hs-fs/hubfs/Pasted%20image%20at%202017_04_06%2009_51%20AM.png?width=769&height=713&name=Pasted%20image%20at%202017_04_06%2009_51%20AM.png)

*Screenshot of Resource Class Dashboard on Xapix*

 

To make XapiX store the data, click 'Create' on the 'Resource Object Store' section in the right panel, and then on 'Migrate' at the top.

Next, we imported the Twilio endpoint onto XapiX, which was used to to trigger a text sending function through Amazon Web Service (AWS) Lambda.

 

![twiliobrandpage2.png](https://x.xapix.io/hs-fs/hubfs/twiliobrandpage2.png?width=769&height=501&name=twiliobrandpage2.png)

*Twilio brand page on XapiX*

 

The microservice from AWS Lambda retrieved the diagnostics information from the data sent to XapiX before and analyzed it for defects.

 

 

 

*Video tutorial of our AWS Lambda setup*

 

If a failure is detected, the microservice triggers a text message to be sent to the user by hitting the twilio endpoint on XapiX -- stored in the  \`warning\_texts\` array, which is filled based on the prior analysis of the data:

 

 

See the Pen &amp;amp;amp;amp;amp;amp;amp;amp;lt;a href="http://codepen.io/joianderson/pen/mmdOWZ/"&amp;amp;amp;amp;amp;amp;amp;amp;gt;mmdOWZ&amp;amp;amp;amp;amp;amp;amp;amp;lt;/a&amp;amp;amp;amp;amp;amp;amp;amp;gt; by Joi Anderson (&amp;amp;amp;amp;amp;amp;amp;amp;lt;a href="http://codepen.io/joianderson"&amp;amp;amp;amp;amp;amp;amp;amp;gt;@joianderson&amp;amp;amp;amp;amp;amp;amp;amp;lt;/a&amp;amp;amp;amp;amp;amp;amp;amp;gt;) on &amp;amp;amp;amp;amp;amp;amp;amp;lt;a href="http://codepen.io"&amp;amp;amp;amp;amp;amp;amp;amp;gt;CodePen&amp;amp;amp;amp;amp;amp;amp;amp;lt;/a&amp;amp;amp;amp;amp;amp;amp;amp;gt;.

 

 

 

The user can now open the app -- or even get this information displayed on the car’s display -- and using a spare parts endpoint (which we mocked in this case) we can get from the error code to the part that possibly has a defect.

The last step is the easiest. To find a garage that could replace the defective car parts, we  used data from Foursquare. On the XapiX platform, import the Foursquare API into your project and then add the \`venues\_by\_search\_term\_and\_locations\` endpoint.

![TRENDINGLOCATION.png](https://x.xapix.io/hs-fs/hubfs/TRENDINGLOCATION.png?width=769&height=508&name=TRENDINGLOCATION.png)

*Screenshot of Foursquare band page and endpoints on Xapix*

 

In our integration, we would look for 'Bosch Service' locations  together with the car part. The request looks like this:

 

See the Pen &amp;amp;amp;amp;amp;amp;amp;amp;lt;a href="http://codepen.io/joianderson/pen/xdxgWb/"&amp;amp;amp;amp;amp;amp;amp;amp;gt;JSON&amp;amp;amp;amp;amp;amp;amp;amp;lt;/a&amp;amp;amp;amp;amp;amp;amp;amp;gt; by Joi Anderson (&amp;amp;amp;amp;amp;amp;amp;amp;lt;a href="http://codepen.io/joianderson"&amp;amp;amp;amp;amp;amp;amp;amp;gt;@joianderson&amp;amp;amp;amp;amp;amp;amp;amp;lt;/a&amp;amp;amp;amp;amp;amp;amp;amp;gt;) on &amp;amp;amp;amp;amp;amp;amp;amp;lt;a href="http://codepen.io"&amp;amp;amp;amp;amp;amp;amp;amp;gt;CodePen&amp;amp;amp;amp;amp;amp;amp;amp;lt;/a&amp;amp;amp;amp;amp;amp;amp;amp;gt;.

 

XapiX was very helpful here, not only because it makes it easier to deal with multiple APIs, but in conjunction with the microservices we had the advantage of a server looking at our data requiring only a lightweight javascript function.

We're excited about the approach that Bosch is taking to enable a connected eco-system, and look forward to enabling the prototyping of many more customer-centric solutions.

 

Following these steps, you too can easily develop an application, whether it is for a hackathon or a larger project, easily using XapiX. Try it for yourself!

 

[![logo-2.png](https://x.xapix.io/hs-fs/hubfs/logo-2.png?width=174&name=logo-2.png "logo-2.png")](http://xapix.io)

## Welcome to the XapiX Blog

### Your Portal to the API World

Check back here often or subscribe below to get the lastest on the API world from XapiX. From developer community interviews to insights and stories from the XapiX team itself, our blog will keep you updated with the most recent API trends.

### Subscribe to Email Updates

### Recent Posts

### Posts by Topic

- [API (1)](https://x.xapix.io/blog/topic/api)

# [![XAPIX logo](https://x.xapix.io/hubfs/footer-image.svg) XAPIX](https://x.xapix.io/)

  

- [ABOUT US](https://x.xapix.io/about-us)
- [JOIN US](https://x.xapix.io/about-us)

 

[![Github](https://x.xapix.io/hs-fs/hubfs/GITHUB.png?width=34&name=GITHUB.png "Github")](https://github.com/xapix-io) [![Twitter](https://x.xapix.io/hs-fs/hubfs/TWITTER.png?width=36&name=TWITTER.png "Twitter")](https://twitter.com/xapix_io) [![LinkedIn](https://x.xapix.io/hs-fs/hubfs/LINKEDIN.png?width=34&name=LINKEDIN.png "LinkedIn")](https://www.linkedin.com/company/xapix-io)

 

[CONTACT XAPIX SUPPORT](mailto:support@xapix.io)

- ### CONSUME APIS EASIER
- ### [GETTING STARTED](https://github.com/xapix-io/beta/wiki/1.-Starter-Guide---Make-a-Call-in-5-Minutes!)[TUTORIALS](https://x.xapix.io/tutorials)[EASIER API CONSUMPTION](https://x.xapix.io/blog/xapixs-role-in-the-highly-interconnected-online-world)[PERFORMANCE ANALYTICS](https://x.xapix.io/blog/track-api-usage-and-infastructure-analytics)

- ### BUILD BETTER APIS
- ### [API DESIGN](https://x.xapix.io/blog/prototyping-apis) [GREAT APIS FROM LEGACY SERVICES](https://x.xapix.io/blog/5-ways-apis-will-transform-your-business)

- ### DRIVE TRACTION TO YOUR APIS
- ### [WHAT IS THE API REVOLUTION](https://x.xapix.io/blog/5-ways-apis-will-transform-your-business)[VALUE PROPOSITION](https://x.xapix.io/enterprises)[WHITE PAPERS](http://bit.ly/xapix_insights0716)[XAPIX LAB](https://drive.google.com/file/d/0B5Hh3pi7DpANdnBoOXlUbHZBQjg/view?usp=sharing)

- ### XAPIX 
- ### [WORKBENCH](https://www.xapix.io/workbench/)[PROJECT VIEW](https://app.xapix.io/)[PRICING](https://x.xapix.io/pricing)[ENTERPRISE](https://x.xapix.io/enterprise)[TUTORIALS](https://x.xapix.io/tutorials)[BLOG](https://x.xapix.io/blog)

© 2017 XAPIX,  
 INC.

[TERMS OF SERVICE](https://app.xapix.io/home/tos)

 