This repository has been archived by the owner on Jun 19, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PHP doesnt consider ; numeric so we would previously fail when a vect…
…orized list of IDs was attempted + added inital README
- Loading branch information
Thomas McDonald
committed
Jun 26, 2010
1 parent
1125e37
commit a37244e
Showing
2 changed files
with
12 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
##PHPstack | ||
|
||
PHPstack is an easy to use wrapper for the Stack Exchange API. | ||
|
||
<?php | ||
require_once('lib/requestcore.class.php'); | ||
require_once('phpstack.class.php'); | ||
|
||
$so = new PHPstack('stackoverflow.com', 'yourAPIKey'); | ||
$answer = $so->getAnswers(2921234)); | ||
print_r($answer); | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters