Skip to content

mano82/ChallongeAPI

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SUMMARY

This is a thin PHP library for integration with the Challonge API. Uses cURL for http request and SimpleXML for the response handling. Just appends API Key. Master by craigjackson forked from wshatch's master. This fork updates to api v1 and adds "attachments" api requests. by Mano82

EXAMPLE

<?php

require_once(dirname(__FILE__) . '/../src/Challonge/API.php');
ChallongeAPI::$api_key = '# YOUR API KEY #';

$tournament = new ChallongeTournament();
$tournament->setParams(array(
    'tournament' => array(
        'name' => 'Test Tournament',
        'tournament_type' => 'single elimination',
        'url' => 'test' . md5(time() . microtime(true))
    )
));
$xml = $tournament->reqCreate();

About

ChallongeAPIv1

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%