-
Notifications
You must be signed in to change notification settings - Fork 3
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
root
authored and
root
committed
Jun 8, 2015
1 parent
4462364
commit 494f918
Showing
27 changed files
with
1,380 additions
and
27 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,2 @@ | ||
.pydevproject | ||
.project |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,307 @@ | ||
3. API | ||
====================== | ||
|
||
The Seo Panel API provides an interface to allow you to access and perform actions | ||
in Seo Panel both from external applications and scripts as well as internal modules and addons. | ||
|
||
The Seo Panel API supports response type: JSON | ||
|
||
1. API Setup | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
Login as admin and go to following page | ||
|
||
Admin Panel => API Manager => API Settings | ||
|
||
Change values of API Key and Secret for security according to the below screen shot. | ||
|
||
.. image:: _static/sp_api_settings.png | ||
|
||
|
||
2. Functions | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
The API currently supports the following functions | ||
|
||
|
||
Website Management | ||
------------------ | ||
|
||
Add Website | ||
************************ | ||
|
||
**Purpose** | ||
|
||
This command is used to add a new website in seo panel. | ||
|
||
**Attributes** | ||
- name => The name of the website | ||
- url => The url of the website | ||
- user_id => The user id of website | ||
|
||
**Optional Attributes** | ||
|
||
- title => The title of the website | ||
- description => The description of website | ||
- keywords => The keyword of the website | ||
- status => The status of the website - default[1] | ||
|
||
**Example Command** | ||
|
||
$postfields["action"] = "createWebsite"; | ||
|
||
**Successful Response** | ||
|
||
result = success | ||
message = xxx - returned on error | ||
clientid = returned ID of newly added Client | ||
|
||
**Error Response** | ||
|
||
result=error&message= | ||
|
||
|
||
|
||
|
||
Update Website | ||
************************ | ||
|
||
**Purpose** | ||
|
||
**Attributes** | ||
|
||
**Optional Attributes** | ||
|
||
**Example Command** | ||
|
||
**Successful Response** | ||
|
||
**Error Response** | ||
|
||
|
||
Delete Website | ||
************************ | ||
|
||
|
||
**Purpose** | ||
|
||
**Attributes** | ||
|
||
**Optional Attributes** | ||
|
||
**Example Command** | ||
|
||
**Successful Response** | ||
|
||
**Error Response** | ||
|
||
|
||
Get Website Details | ||
************************ | ||
|
||
|
||
**Purpose** | ||
|
||
**Attributes** | ||
|
||
**Optional Attributes** | ||
|
||
**Example Command** | ||
|
||
**Successful Response** | ||
|
||
**Error Response** | ||
|
||
|
||
Get Website Reports | ||
************************ | ||
|
||
|
||
**Purpose** | ||
|
||
**Attributes** | ||
|
||
**Optional Attributes** | ||
|
||
**Example Command** | ||
|
||
**Successful Response** | ||
|
||
**Error Response** | ||
|
||
|
||
Get User Website Reports | ||
************************ | ||
|
||
**Purpose** | ||
|
||
**Attributes** | ||
|
||
**Optional Attributes** | ||
|
||
**Example Command** | ||
|
||
**Successful Response** | ||
|
||
**Error Response** | ||
|
||
|
||
Keyword Management | ||
------------------ | ||
|
||
Add Keyword | ||
************************ | ||
|
||
|
||
**Purpose** | ||
|
||
**Attributes** | ||
|
||
**Optional Attributes** | ||
|
||
**Example Command** | ||
|
||
**Successful Response** | ||
|
||
**Error Response** | ||
|
||
|
||
Update Keyword | ||
************************ | ||
|
||
**Purpose** | ||
|
||
**Attributes** | ||
|
||
**Optional Attributes** | ||
|
||
**Example Command** | ||
|
||
**Successful Response** | ||
|
||
**Error Response** | ||
|
||
Delete Keyword | ||
************************ | ||
|
||
**Purpose** | ||
|
||
**Attributes** | ||
|
||
**Optional Attributes** | ||
|
||
**Example Command** | ||
|
||
**Successful Response** | ||
|
||
**Error Response** | ||
|
||
Get Keyword Details | ||
************************ | ||
|
||
**Purpose** | ||
|
||
**Attributes** | ||
|
||
**Optional Attributes** | ||
|
||
**Example Command** | ||
|
||
**Successful Response** | ||
|
||
**Error Response** | ||
|
||
Get Keyword Reports | ||
************************ | ||
|
||
**Purpose** | ||
|
||
**Attributes** | ||
|
||
**Optional Attributes** | ||
|
||
**Example Command** | ||
|
||
**Successful Response** | ||
|
||
**Error Response** | ||
|
||
Get Website Keyword Reports | ||
*************************** | ||
|
||
**Purpose** | ||
|
||
**Attributes** | ||
|
||
**Optional Attributes** | ||
|
||
**Example Command** | ||
|
||
**Successful Response** | ||
|
||
**Error Response** | ||
|
||
Get User Keyword Reports | ||
************************ | ||
|
||
**Purpose** | ||
|
||
**Attributes** | ||
|
||
**Optional Attributes** | ||
|
||
**Example Command** | ||
|
||
**Successful Response** | ||
|
||
**Error Response** | ||
|
||
|
||
User Management | ||
------------------ | ||
|
||
Add User | ||
************************ | ||
|
||
**Purpose** | ||
|
||
**Attributes** | ||
|
||
**Optional Attributes** | ||
|
||
**Example Command** | ||
|
||
**Successful Response** | ||
|
||
**Error Response** | ||
|
||
Update User | ||
************************ | ||
|
||
**Purpose** | ||
|
||
**Attributes** | ||
|
||
**Optional Attributes** | ||
|
||
**Example Command** | ||
|
||
**Successful Response** | ||
|
||
**Error Response** | ||
|
||
Delete User | ||
************************ | ||
|
||
**Purpose** | ||
|
||
**Attributes** | ||
|
||
**Optional Attributes** | ||
|
||
**Example Command** | ||
|
||
**Successful Response** | ||
|
||
**Error Response** | ||
|
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
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,2 @@ | ||
1. INSTALLATION | ||
====================== |
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,2 @@ | ||
4. SUPPORT | ||
====================== |
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,2 @@ | ||
2. USAGE GUIDE | ||
====================== |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.