Stand For Sudan API Specification

Last updated: April 4th, 2020

ABOUT

Stand for Sudan is availing a public API for transparency showing statistics. To know more about the initiative refer to Stand For Sudan , This page contains all the technical information needed by the front-end developers to add Stand for Sudan Counter in their interfaces

API Specification

Request Type

The provided web services are based on HTTP GET OR POST with response MIME type JSON. Ex: https://standforsudan.ebs-sd.com/StandForSudan/[service path]

List of Services available

GET /getStandForSudanStatstics

Full service uri : https://standforsudan.ebs-sd.com/StandForSudan/getStandForSudanStatstics

GET /getMultiCurrencyStatistics

Full service uri : https://standforsudan.ebs-sd.com/StandForSudan/getMultiCurrencyStatistics

List of fields

Below section describes list of request/response fields for all APIs

=
name type desc
numberOfTransaction Long The number of transactions received till last minute
totalAmount Double Total amount
sdg Map Map containing key,value pairs of numberOfTransaction,totalAmount in local currency
usd Map Map containing key,value pairs of numberOfTransaction,totalAmount in USD

Sample

Useful Tip:

You can use this online tutorial Understanding GET to start using the API

Sample API Response /getStandForSudanStatstics
{"numberOfTransaction":233390,"totalAmount":9999999999663734}
Sample API Response /getMultiCurrencyStatstics
{"usd":{"numberOfTransaction":228,"totalAmount":167868},"sdg":{"numberOfTransaction":1217726,"totalAmount":679172885}}