Integration:api

From PrometheusIPN Wiki
Revision as of 21:18, 26 August 2016 by 86.156.41.224 (talk) (assignPackage Example)
Jump to: navigation, search

Dick

NO

List of actions
Api calls
Action getGoal assignPackage addCredits getPackages
Hash No Yes Yes Yes
Properties None steamid, package steamid, amount None
Returns error, cur, total, goal error, msg error, msg error, packages
Examples

NO


       // Display an error if there is any
       if($array['error'] == 1){
               die($array['msg']);
       }
      
       // Display success message
       if($array['error'] == 0){
               echo($array['msg']);
       }

 ?>