This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
i:sedamo:api:sedamo_api_method_account_balance [2022/03/26 15:15] – admin | en:sedamo:api:sedamo_api_method_account_balance [2022/03/31 16:13] (current) – admin | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== API: Account/ | ||
+ | == Summary == | ||
+ | Returns the account balance in credit points and the timestamp of the last update. | ||
+ | |||
+ | == URL == | ||
+ | https:// | ||
+ | |||
+ | == Authentication == | ||
+ | Required | ||
+ | |||
+ | == Parameters == | ||
+ | * '' | ||
+ | * '' | ||
+ | |||
+ | == Example call == | ||
+ | |||
+ | <code PHP sedamo_api_method_account_balance.php> | ||
+ | <?php | ||
+ | $apikey = " | ||
+ | $format = " | ||
+ | $url = " | ||
+ | $json = file_get_contents($url); | ||
+ | $json_array = json_decode($json, | ||
+ | var_dump($json_array); | ||
+ | </ | ||
+ | |||
+ | |||
+ | Example of a returned JSON object: | ||
+ | |||
+ | <code JAVA> | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | <code XML> | ||
+ | <?xml version=" | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | [[en: |