Skip to content

Commit

Permalink
api docs changes
Browse files Browse the repository at this point in the history
  • Loading branch information
root authored and root committed Jun 8, 2015
1 parent 4462364 commit 494f918
Show file tree
Hide file tree
Showing 27 changed files with 1,380 additions and 27 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.pydevproject
.project
Binary file added _build/doctrees/api.doctree
Binary file not shown.
Binary file modified _build/doctrees/environment.pickle
Binary file not shown.
Binary file modified _build/doctrees/index.doctree
Binary file not shown.
Binary file added _build/doctrees/installation.doctree
Binary file not shown.
Binary file added _build/doctrees/support.doctree
Binary file not shown.
Binary file added _build/doctrees/usage.doctree
Binary file not shown.
Binary file added _build/html/_images/sp_api_settings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
307 changes: 307 additions & 0 deletions _build/html/_sources/api.txt
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**

33 changes: 24 additions & 9 deletions _build/html/_sources/index.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,35 @@
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.

Welcome to Seo Panel Docs's documentation!
==========================================

Contents:
Seo Panel Documentation
=====================

.. toctree::
:maxdepth: 2
:maxdepth: 3

installation
usage
support
api
.. references


Indices and tables
==================

* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
Contents
========

This document covers the installation, usage, api guides for Seo Panel.

The latest version of this guide can be obtained from http://www.seopanel.in/docs/

A live demo of seo panel is available at http://demo.seopanel.in/

You can interact with the seo panel user community at http://forum.seopanel.in

Contact us for additional support via http://www.seopanel.in/contact/

**References:**
- http://www.seopanel.in/


2 changes: 2 additions & 0 deletions _build/html/_sources/installation.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
1. INSTALLATION
======================
2 changes: 2 additions & 0 deletions _build/html/_sources/support.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
4. SUPPORT
======================
2 changes: 2 additions & 0 deletions _build/html/_sources/usage.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
2. USAGE GUIDE
======================
Binary file added _build/html/_static/sp_api_settings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 494f918

Please sign in to comment.