---
title: Prototyping APIs in 5min
description: In 5min, you will learn how to upload data, create an API, and edit resource names. Is there a better way to spend 5min?
image: https://x.xapix.io/hubfs/Screen%20Shot%202017-05-01%20at%208.39.02%20AM.png
---

[![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

# Prototyping APIs in 5min

Posted by [Elizabeth Ferrao](https://x.xapix.io/blog/author/elizabeth-ferrao) on May 1, 2017 5:51:06 AM

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

You have a lot of data but don't know how to make an application that allows you to pull certain values from the data whenever you want. Well you're in the right place because XapiX has that functionality. 

You'll need: 

1. Data in a CSV file 

XapiX provides: 

1. An easy uploader and editor to turn your data into an API!

 

Here is a screenshare of how I executed the tutorial: 

 

 

 

Let's start! 

**Make a project **

Go to [https://wizards.xapix.io/](https://wizards.xapix.io/). Click "CSV Import" so we can import our data. 

 

But before we upload our CSV, let's make it perfect:

1. Delete spaces / symbols / punctuation in file name

2. Delete empty rows in header column 

3. Delete empty or unused columns between your first and last columns with data 

4. Delete any additional data-containing cells

 

Now let's drag or upload our CSV file. This is my [CSV file](https://x.xapix.io/hubfs/Rain_sensor_api.csv) - I exported it from Google Sheets to a .csv. 

![Screen Shot 2017-05-01 at 8.33.14 AM.png](https://x.xapix.io/hs-fs/hubfs/Screen%20Shot%202017-05-01%20at%208.33.14%20AM.png?width=370&name=Screen%20Shot%202017-05-01%20at%208.33.14%20AM.png) 

Click "Start Project". 

 

**You've made your own API!**

Let's play around and see the components.

![Screen Shot 2017-05-01 at 8.34.20 AM.png](https://x.xapix.io/hs-fs/hubfs/Screen%20Shot%202017-05-01%20at%208.34.20%20AM.png?width=645&height=681&name=Screen%20Shot%202017-05-01%20at%208.34.20%20AM.png)

 

 

When I click "index" ('show all' in RESTful lingo), I see a sample API call based on the key/value pairs in your CSV. ![Screen Shot 2017-05-01 at 8.35.07 AM.png](https://x.xapix.io/hs-fs/hubfs/Screen%20Shot%202017-05-01%20at%208.35.07%20AM.png?width=668&height=696&name=Screen%20Shot%202017-05-01%20at%208.35.07%20AM.png)

 

**Rename project**

XapiX automatically generates a project name, but let's make it memorable.

On the left pop up, you can see other projects, but at the top right next to "Delete", there's "Edit". ![Screen Shot 2017-05-01 at 8.36.01 AM.png](https://x.xapix.io/hs-fs/hubfs/Screen%20Shot%202017-05-01%20at%208.36.01%20AM.png?width=829&height=182&name=Screen%20Shot%202017-05-01%20at%208.36.01%20AM.png)

Click "Edit". Enter the preferred project name. Plan and Authorization level will stay the same for now. ![Screen Shot 2017-05-01 at 8.36.47 AM.png](https://x.xapix.io/hs-fs/hubfs/Screen%20Shot%202017-05-01%20at%208.36.47%20AM.png?width=497&height=320&name=Screen%20Shot%202017-05-01%20at%208.36.47%20AM.png)

 

Click "Dashboard".![Screen Shot 2017-05-01 at 8.38.03 AM.png](https://x.xapix.io/hs-fs/hubfs/Screen%20Shot%202017-05-01%20at%208.38.03%20AM.png?width=829&height=365&name=Screen%20Shot%202017-05-01%20at%208.38.03%20AM.png)

You've updated your project name. ![Screen Shot 2017-05-01 at 8.39.02 AM.png](https://x.xapix.io/hs-fs/hubfs/Screen%20Shot%202017-05-01%20at%208.39.02%20AM.png?width=637&height=683&name=Screen%20Shot%202017-05-01%20at%208.39.02%20AM.png)

 

 

**Swagger UI**

Let's see our API operations. Click on 'Swagger UI' next to 'Web CLI UI'. 

![Screen Shot 2017-04-30 at 12.21.10 PM.png](https://x.xapix.io/hs-fs/hubfs/Screen%20Shot%202017-04-30%20at%2012.21.10%20PM.png?width=682&height=57&name=Screen%20Shot%202017-04-30%20at%2012.21.10%20PM.png)

In "Test Interface", click "List Operations". Now we can see the call type next to what it's calling. ![Screen Shot 2017-05-01 at 8.39.45 AM.png](https://x.xapix.io/hs-fs/hubfs/Screen%20Shot%202017-05-01%20at%208.39.45%20AM.png?width=829&height=335&name=Screen%20Shot%202017-05-01%20at%208.39.45%20AM.png)

 

Click "Expand Operations". Now click the small gray "Try it out!" button under Response Messages. Something like this will appear. ![Screen Shot 2017-05-01 at 8.40.46 AM.png](https://x.xapix.io/hs-fs/hubfs/Screen%20Shot%202017-05-01%20at%208.40.46%20AM.png?width=652&height=553&name=Screen%20Shot%202017-05-01%20at%208.40.46%20AM.png)

Now you understand the request types behind your API!

 

**Calling our API**

Let's call our API with our Root URL and Authentication (token\_auth). In 'dashboard', click "Toggle". Your token will appear. ![Screen Shot 2017-05-01 at 8.41.37 AM.png](https://x.xapix.io/hs-fs/hubfs/Screen%20Shot%202017-05-01%20at%208.41.37%20AM.png?width=575&height=161&name=Screen%20Shot%202017-05-01%20at%208.41.37%20AM.png)

Now you can call your API!

 

**Changing names**

Let's change the name of our classes. Below is a video of how to do it: [changing\_csv\_data](https://x.xapix.io/hubfs/changing_csv_data.mov).

 

 

**Changing CSV data names**

Navigate to Resource Classes: 

![Screen Shot 2017-05-01 at 8.42.22 AM.png](https://x.xapix.io/hs-fs/hubfs/Screen%20Shot%202017-05-01%20at%208.42.22%20AM.png?width=166&height=395&name=Screen%20Shot%202017-05-01%20at%208.42.22%20AM.png)

 

Click the 'Resource Collection Name' - mine is Bosch\_rain\_sensor\_api. 

![Screen Shot 2017-05-01 at 8.43.26 AM.png](https://x.xapix.io/hs-fs/hubfs/Screen%20Shot%202017-05-01%20at%208.43.26%20AM.png?width=302&height=69&name=Screen%20Shot%202017-05-01%20at%208.43.26%20AM.png)

 

Click on the name to edit. Enter the new name and click 'Save' at the top right. 

![Screen Shot 2017-04-30 at 1.00.29 PM.png](https://x.xapix.io/hs-fs/hubfs/Screen%20Shot%202017-04-30%20at%201.00.29%20PM.png?width=641&height=466&name=Screen%20Shot%202017-04-30%20at%201.00.29%20PM.png)

 

A top blue bar will pop up saying "Resources Class was successfully updated". 

![Screen Shot 2017-05-01 at 8.44.22 AM.png](https://x.xapix.io/hs-fs/hubfs/Screen%20Shot%202017-05-01%20at%208.44.22%20AM.png?width=206&height=36&name=Screen%20Shot%202017-05-01%20at%208.44.22%20AM.png)

 

Click 'Publish'. Then click 'Migrate' to update the API. 

Another blue bar will pop up: "Endpoint migrated". ![Screen Shot 2017-05-01 at 8.45.19 AM.png](https://x.xapix.io/hs-fs/hubfs/Screen%20Shot%202017-05-01%20at%208.45.19%20AM.png?width=829&height=113&name=Screen%20Shot%202017-05-01%20at%208.45.19%20AM.png)

 

Head back to the project dashboard to test the API. 

We can see the name has been updated in our requisite field. 

![Screen Shot 2017-04-30 at 1.15.02 PM.png](https://x.xapix.io/hs-fs/hubfs/Screen%20Shot%202017-04-30%20at%201.15.02%20PM.png?width=317&height=97&name=Screen%20Shot%202017-04-30%20at%201.15.02%20PM.png)

Click 'index' to see an API call. 

Our API has been updated. 

![Screen Shot 2017-05-01 at 8.46.01 AM.png](https://x.xapix.io/hs-fs/hubfs/Screen%20Shot%202017-05-01%20at%208.46.01%20AM.png?width=172&height=88&name=Screen%20Shot%202017-05-01%20at%208.46.01%20AM.png)

You can now update key names!

 

So we leave it to you. 

What APIs will you make with XapiX? Let us know in a comment below.

Have fun building :)

![](https://media.giphy.com/media/c5eqVJN7oNLTq/giphy.gif)

[![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)

 