6

SAP Developer Challenge – APIs

 1 year ago
source link: https://blogs.sap.com/2023/08/01/sap-developer-challenge-apis/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
August 1, 2023 4 minute read

SAP Developer Challenge – APIs

4 40 7,726

We have a new SAP Developer Challenge for you for the month of August. This time it is all about APIs – introducing you to the basics, revisiting some classic aspects, and having a bit of fun along the way.

By the way, the July SAP Developer Challenge is still live for the next few days, and you still have time to complete the tasks. Head over to Nicolai Schoenteich ‘s blog post SAP Developer Challenge – SAP Cloud Application Programming Model for all the detail.

Task list

If you’re just here for the list of tasks in this challenge so far, here they are:

Task 0 – Learn to share your task results

Task 1 – List the Northwind entity sets

Task 2 – Calculate Northbreeze product stock

Task 3 – Have a Northbreeze product selected for you

Task 4 – Discover the Date and Time API Package

Task 5 – Call the country date format API endpoint

Task 6 – Create a new Northbreeze category

Introduction

OK, let’s dive in!

APIs are an essential component in any system, large or small. In enterprise software, you can think of APIs as providing the lifeblood, the flow, in between and around systems that work together.

Aspects of APIs

There are many aspects of APIs, not least whether any given API is synchronous or asynchronous. But beyond that, there are styles. From simple HTTP based APIs that use HTTP as what it is, i.e. an application level protocol, through to those that conform partially or fully to RESTful constraints, such as OData, to styles which are quite orthogonal, such as gRPC, GraphQL and SOAP.

So while there are many API styles and aspects, this month we’ll focus on what is arguably the style that covers a large majority of integration interactions – HTTP and OData. Not least because to understand HTTP and OData is to understand the protocol that is used as a transport layer* for other styles (such as SOAP, XML-RPC, GraphQL and more).

*I’m deliberately going to avoid talking about whether that is a good thing or not 🙂

The challenge

As a slight departure from previous SAP Developer Challenges where there have been around four weekly tasks, we’re trying something a little different this month, with a series of more smaller, shorter tasks. Each task is something you can probably do in a coffee or lunch break (there are some that may take a little longer), and introduces you to some aspect of HTTP and OData APIs.

Some tasks will be based on simple services that are ideal for light touch activities. Others will be based on, and thereby introduce you to, or allow you to revisit, facilities on the SAP Business Accelerator Hub (previously known as the SAP API Business Hub).

The tasks

So any given SAP Developer Challenge like this consists of one or more tasks.

Each task in this challenge will be presented as a new discussion thread in the Application Development area of the SAP Community and the content of each of these discussion topics will have sections as follows:

  • Background: some content that covers details of the API aspect or feature at hand
  • Your task: a description of what you actually have to do
  • Hints and tips: information designed to help you complete the task
  • For discussion: questions for you to consider, and to share your thoughts on

For each task, you are encouraged to do two things:

  1. Complete the task as described, and share your result in a reply to the task’s discussion thread – this should be in the form of a SHA256 hash made from that result value and your SAP Community ID.
  2. Share your thoughts, by starting a separate reply to the task’s discussion thread, on the questions raised in the “For discussion” section.

So the question on your mind now is: “How should I create and share my task result hash?”

Well, you can find out exactly how you should do that, in our very first task for you in this challenge:

SAP Developer Challenge – APIs – Task 0 – Learn to share your task results

The task schedule

As mentioned earlier, there are more than just four weekly tasks in this challenge. We’ll create a new discussion thread in the Application Development area of the SAP Community for each task as and when they are ready for you to complete.

Expect each new task to be publicized like this every few days. It’s probably worth bookmarking the discussion group, or adding the discussion group’s RSS feed to your favorite RSS reader. For example, I use Miniflux and am subscribed to this feed here:

screenshot-2023-07-31-at-09.40.41.png

What to do now

Bookmark or otherwise subscribe to updates to this blog post and / or the Application Development discussion threads.

Then head on over to the first discussion thread, for Task 0:

SAP Developer Challenge – APIs – Task 0 – Learn to share your task results

and complete the task as described. Add your result hash, plus add further replies to the discussion thread with any thoughts you have.

Then check back in a couple of days time to look for the next task in its own new discussion thread!

What you’ll need

To complete the tasks, you’ll need to use various bits of software; often you’ll have a choice (for example, of language to use, or tool to employ). For some of the tasks you’ll need an account on SAP Business Technology Platform. A trial account will be fine, and is free for anyone.

Badges

Upon successful completion of the challenge’s tasks, you will earn a badge for your SAP Community profile.

screenshot-2023-08-01-at-09.37.58.png

We’ll leave the tasks open to complete for a period of time after August ends, to give you a chance to catch up and complete them all if you need to.

And don’t forget to have fun, learn stuff along the way, and share your thoughts with you fellow SAP Community members!


Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK