It is currently March 28th, 2024, 8:35 am

Some actual quotes

Share and get help with Plugins and Addons
Post Reply
R_H
Posts: 1
Joined: June 18th, 2014, 11:04 pm

Some actual quotes

Post by R_H »

Hey folks,

so I wanted to give Raimeter a go and decided to try and create a plugin.
Turned out to be a "Quotes" plugin (note: not to be confused with the native Quote.dll. This one will bring a random quote off the Interwebs onto your desktop).

Sample:


Usage: Double-click to get a new quote.

Recommended basic code:

Code: Select all

[measureQuote]
Measure=Plugin
Plugin=Quotes.dll
URL=http://www.iheartquotes.com/api/v1/random?format=text&max_lines=1&max_characters=120&show_source=false&show_permalink=false

[meterQuote]
Meter=STRING
MeasureName=measureQuote
Text="%1"
LeftMouseDoubleClickAction=[!Refresh]
Change the URL to whatever API you want (or adapt the parameters to your liking; You can find the documentation of the API I used here)

I included a sample configuration (as seen in the image) in the .zip.

PS: I'm aware that this could surely be achieved in another, possibly easier way (afaik there's a WebParser?), but I mostly did it for the sake of creating a plugin.

Regards
Attachments
Quotes.zip
(7.9 KiB) Downloaded 78 times
Post Reply