Hi fellow devs,
We want to give you a heads up on an upcoming change to the Mobile Vikings universe and subsequently, the API.
We're going to do a re-valuation of our VikingPoints.
Currently 1 VikingPoint equals € 0,10. This will be modified to 1 VikingPoint equaling € 1,00.
This should make in-your-head-calculations with VikingPoints simpler for our Vikings.
A consequence of this, is that the VikingPoint amount will become a decimal number. Since some of your apps might rely on the fact that the amount given via the API is an integer, we're keeping the current integer fields (used_points, unused_points, waiting_points, earned_points) but divide them by 10.
New fields containing the decimal values will be available: used_points_euro, unused_points_euro, waiting_points_euro, earned_points_euro
So if before, we returned the following:
used_points: 300
unused_points: 150
waiting_points: 125
earned_points: 475
We will now return:
used_points: 30
unused_points: 15
waiting_points: 12
earned_points: 47
used_points_euro: 30.0
unused_points_euro: 15.0
waiting_points_euro: 12.5
earned_points_euro: 47.5
The values will have 4 decimals after the comma, but we suggest to display only 2 decimals to the user in your UI.
This change has gone into effect this morning.
Viking regards,
Tom Claus