Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

PHP PinnacleSports API

A PHP client to use the Pinnacle Sports API

Usage

Please take a look example.php

$client = new PinnacleSports\Client("USERID","PASSWORD");

Just change the USERID and PASSWORD to yours, then it should work.

  • The Request Format: JSON
  • The Response Format: XML or JSON depends on API

Resource

/
  Client.php
    - The PHP client
  example.php
    - Example how to use the client

Ajax example

What's that?

It's an example how to use the PHP client through Ajax.

Resource

AjaxExample/
  index.html
    - Example HTML
  js/jquery.pinnacleSports.js
    - jQuery Plugin
    - It's used in the HTML
  AjaxCall.php
    - It's called by Javascript Ajax GET/POST
    - It calls Client.php
  Credentials.php
    - You need to make it
    - It just has two public variables ($user and $pass)
  AvoidIllegalAccess.php
    - Just made it quickly.  *Test is needed

happy coding :)

About

A simple PHP Object Oriented Pinnacle Sports API client

Resources

License

Releases

No releases published

Packages

No packages published