TRYNT URI Voting ID Web Service
The TRYNT Voting Web Service lets you maintain voting data for any URI based resource. You can optionally limit the scope of your voting using Group or User IDs.
The TRYNT Voting Web Service supports a number of actions all relating to the process of voting.
If you use this free TRYNT API/Web Service you must provide proper attribution to comply with our terms of service.
Request URL
http://www.trynt.com/uri-vote-api/v1/
Request parameters
| Parameter | Value | Description |
|---|---|---|
| action | string (required) | "vote" "total" or "avg" |
| uri | string (required) | URI of the resource in question |
| value | integer (optional) | An integer that relates to the current action. Generally 0-10 representing the current vote. |
| group | integer (optional) | A valid TRYNT Group ID |
| user | integer (optional) | A valid TRYNT User ID |
| remote_ip | string (required) | The remote ip address of the person doing the action. Generally getenv("REMOTE_ADDR"). Voting is limited to once per day per IP address. |
Sample Request (URL: http://www.trynt.com/uri-vote-api/v1/):