-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
23 additions
and
8 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 |
---|---|---|
@@ -1,2 +1,17 @@ | ||
# q2a-api | ||
Simple API serving data from Q2A in JSON | ||
# API plugin to [Question2Answer](http://question2answer.org/) | ||
|
||
Simple API plugin to serving data from Q2A script in JSON. | ||
|
||
## Installation | ||
|
||
Clone or download this repository to *qa-plugin* directory in your Q2A. | ||
|
||
## Available functions | ||
|
||
- **/api/favorites** - getting favorites for logged user: users, questions, tags and categories | ||
|
||
|
||
--- | ||
|
||
**Important notice about code!** | ||
This code don't respect PHP PSR-2 standard, because Question2Answer unfortunately too don't respect this. Also, I couldn't design classes and functions in my own way, because most of them impose Question2Answer script. |
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 |
---|---|---|
@@ -1,12 +1,12 @@ | ||
{ | ||
"name": "Q2A API", | ||
"uri": "", | ||
"uri": "https://github.com/awaluk/q2a-api", | ||
"description": "Simple API serving data from Q2A in JSON", | ||
"version": "1.0", | ||
"version": "0.1", | ||
"date": "2017-09-01", | ||
"author": "Arkadiusz Waluk", | ||
"author_uri": "http://waluk.pl", | ||
"license": "MIT", | ||
"min_q2a": "1.5", | ||
"update_uri": "" | ||
"update_uri": "https://raw.githubusercontent.com/awaluk/q2a-api/master/metadata.json" | ||
} |
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