Plugin Directory

Changeset 807493


Ignore:
Timestamp:
11/20/2013 01:52:35 PM (12 years ago)
Author:
michael.bartel
Message:

refactoring

Location:
simpleticker
Files:
10 added
1 edited

Legend:

Unmodified
Added
Removed
  • simpleticker/trunk/readme.txt

    r807038 r807493  
    55Requires at least: 2.6
    66Tested up to: 3.2.1
    7 Stable tag: 0.9
     7Stable tag: 0.95
    88
    99== Description ==
     
    1818
    1919If you want to use the SimpleTicker data from an other application such as an iPhone or Android App, you can
    20 get all ticker data and messages via an JSON or XML based API. It is also possible to add and delete messages
     20get all ticker data and messages via an JSON based API. It is also possible to add and delete messages
    2121with the JSON API. Your application will need a password for each ticker, if it want's to add or delete messages.
    2222
     
    2727
    2828== History ==
     29Version 0.95
     30 - Refactoring
     31
    2932Version 0.9
    3033 - Bugfixing
     
    7881* jsonGetTickerMessages - Returns a list with the last 50 messages of a ticker. You have to specify the ticker by giving it's ID in the parameter 'id'. The list contains the message id, the message itself and the createdOn timestamp.
    7982* jsonManageTicker - You need a password to call the action. All further parameters are given in a BASE64 encoded encrypted JSON string provided as GET parameter named 'data'. You have to set the 'id' parameter as above to define a ticker. The JSON string contains an action attribute which can either be 'addMessage' or 'removeMessage'. The 'addMessage' actions takes an additional 'message' attribute containing the new message and the 'removeMessage' action takes an 'id' attribute.
    80 
    81 == XML API ==
    82 This is not really an API. It just supports the same information as delivered by the JSON API in XML format (expect the availability to mange tickers).
    83 
    84 * xmlGetTickerList - Returns a full list of all available tickers containing the tickers id and name.
    85 * xmlGetTickerMessages - Returns a list with the last 50 messages of a ticker. You have to specify the ticker by giving it's ID in the parameter 'id'. The list contains the message id, the message itself and the createdOn timestamp.
Note: See TracChangeset for help on using the changeset viewer.