Skip to content
This repository has been archived by the owner on Jun 19, 2018. It is now read-only.
/ PHPstack Public archive

no longer maintained. PHPStack was a PHP wrapper for the StackExchange API

Notifications You must be signed in to change notification settings

thomas-mcdonald/PHPstack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#PHPStack looking for maintainer

A new version is in development on the master branch. The currently released version of PHPStack can be found https://github.com/conceptcoding/PHPStack/tree/1.1.

##PHPStack 2

PHPStack 2 is currently in development.

To initialise PHPStack, simply create a new PHPStack class, along with your API key.

$phpstack = new PHPStack("YOUR_API_KEY");

This will return an array. The first element ([0]) contains the PHPStack class, while the second element ([1]) contains an array of StackSites. These classes are accessible through a key of the API endpoint.

$phpstack = new PHPStack("YOUR_API_KEY");
$phpstack[1]['api.stackoverflow.com'];

StackSites are scoped to a single API endpoint, and all site-specific routes are initially retrieved through this.

About

no longer maintained. PHPStack was a PHP wrapper for the StackExchange API

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages