My colleague Ralf Schaubintroduced the SAP API Hub. Going forward we want to provide our customers and partners one place where you can easily discover, access and subscribe to APIs offered by SAP (and later on by partners as well).

As you might have seen right now the content in the SAP API Hub (Beta) is quite limited but over time we will add more and more. In order to show you how you can work with the content offered I want to go through one example using a service from the SAP Translation Hub.

When you access your SAP HCP Trial instance and go to Services you will see one new entry: the SAP API Hub.

By default it is already enabled so if you click on it you can find the usual description and the URL to access it.

Once you do that you will see all the content that is currently available via the Hub:

As mentioned the content is quite limited right now, but we are in Beta and working with different teams within SAP to get more and more content over time. For now let’s click on the SAP Translation Hub API Icon, which will provide more information on the available APIs. The package that contains the APIs is called a Product. So in our case the “SAP Translation Hub API” is a product that contains APIs which allow you to leverage translation services.

Usually you would first take a closer look at the APIs which are part of this Product, but since we already know that we want to use services out of the SAP Translation Hub API, lets immediately subscribe to this Product. This will later allow us to consume the services using an API Key.

So in the lower right corner click on Subscribe and select “New Application” — which means that we want to use the APIs belonging to this Product in our Application.

As a next step we need to provide a name and description for our new application:

With that we can finally take a closer look at the available APIs (again, this is something that you would usually do upfront – now we just want to take a closer look at some of the features that the SAP API Hub Beta has to offer):

The overview page provides some generic information. What is this product used for, how can you access the product (the API Proxy URL) and it lists the available services (the “Resources”). When you click on the Details you can get more information. In our case you get some information with Simple Examples on how you can use these services.

As you can see one of the variables that we need to provide in order to use the services is the API Key. Since we already have subscribed to the Product, we already access this API Key.

So lets switch from the current Discovery mode, to the Consumption Mode.

From here we can see all the Applications that we have created. As of now it is only our TranslationHub application that we created when we subscribed to the SAP Translation Hub product before. Lets click on this application:

Now we can see the Application Key which we need to call this specific API. Copy this value so that we can use it later.

We will use the Translate service from the Translation Service. Lets take a closer look at what this service has to offer. Click on the SAP Translation Hub Services and expand the Translate Section:

You can see the URL, see that it is a POST call and also some other information.

Usually we would now continue to go to the Test Section and test the API.

Unfortunately (remember, we are still in Beta). Test is not working (we have a certificate mismatch…) so we will need a different tool. I am use the Google Chrome Add-in Postman.

As a result you get the translation of the word Password in different languages (I can only verify that the translation of Password to German is “Kennwort” — so great! That worked 🙂

I hope that the steps above provided you with a first glimps of what you can do with the SAP API Hub (Beta). It is still in Beta and we will add more and more content to it in the coming weeks and months. So stay tuned for more updates…!

Much has changed since this blog was written, however one thing is still currently the same, and that is that the SAP API Business Hub is a catalog for SAP APIs, and SAP Partners who wish to invest in the API Business Hub. We would need to work directly with Google, Yahoo, or LinkedIn, etc. if they wished to add APIs to the Business Hub (after validating the scenario for the API) to ensure quality and stability of the API. The Partner portion is still new and getting off the ground, so it will take some time before this is streamlined.

You may contact SAPAPIHubInfo@sap.com if you are interested in such an opportunity.