mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Add rate limit message to IPInfo documentation.
This commit is contained in:
parent
0390e9ea17
commit
f19a09f071
@ -6,6 +6,8 @@ draft: false
|
|||||||
|
|
||||||
Displays your current IP address information, from ipinfo.io.
|
Displays your current IP address information, from ipinfo.io.
|
||||||
|
|
||||||
|
**Note:** IPInfo.io has a free-plan rate limit of 1000 requests per day.
|
||||||
|
|
||||||
<img src="/imgs/modules/ipinfo.png" width="320" height="199" alt="ipinfo screenshot" />
|
<img src="/imgs/modules/ipinfo.png" width="320" height="199" alt="ipinfo screenshot" />
|
||||||
|
|
||||||
## Source Code
|
## Source Code
|
||||||
@ -35,7 +37,7 @@ ipinfo:
|
|||||||
left: 2
|
left: 2
|
||||||
height: 1
|
height: 1
|
||||||
width: 1
|
width: 1
|
||||||
refreshInterval: 15
|
refreshInterval: 150
|
||||||
```
|
```
|
||||||
|
|
||||||
### Attributes
|
### Attributes
|
||||||
|
@ -70,12 +70,12 @@ position Defines where in the grid this module&rsquo;s widget will be displa
|
|||||||
|
|
||||||
<guid>https://wtfutil.com/posts/modules/ipinfo/</guid>
|
<guid>https://wtfutil.com/posts/modules/ipinfo/</guid>
|
||||||
<description>Displays your current IP address information, from ipinfo.io.
|
<description>Displays your current IP address information, from ipinfo.io.
|
||||||
|
Note: IPInfo.io has a free-plan rate limit of 1000 requests per day.
|
||||||
Source Code wtf/ipinfo/ Required ENV Variables None.
|
Source Code wtf/ipinfo/ Required ENV Variables None.
|
||||||
Keyboard Commands None.
|
Keyboard Commands None.
|
||||||
Configuration ipinfo:colors:name:redvalue:whiteenabled:trueposition:top:1left:2height:1width:1refreshInterval:15 Attributes colors.name The default colour for the row names. Values: Any X11 color name.
|
Configuration ipinfo:colors:name:redvalue:whiteenabled:trueposition:top:1left:2height:1width:1refreshInterval:150 Attributes colors.name The default colour for the row names. Values: Any X11 color name.
|
||||||
colors.value The default colour for the row values. Values: Any X11 color name.
|
colors.value The default colour for the row values. Values: Any X11 color name.
|
||||||
enabled Determines whether or not this module is executed and if its data displayed onscreen. Values: true, false.
|
enabled Determines whether or not this module is executed and if its data displayed onscreen.</description>
|
||||||
position Defines where in the grid this module&rsquo;s widget will be displayed.</description>
|
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
|
@ -70,12 +70,12 @@ position Defines where in the grid this module&rsquo;s widget will be displa
|
|||||||
|
|
||||||
<guid>https://wtfutil.com/posts/modules/ipinfo/</guid>
|
<guid>https://wtfutil.com/posts/modules/ipinfo/</guid>
|
||||||
<description>Displays your current IP address information, from ipinfo.io.
|
<description>Displays your current IP address information, from ipinfo.io.
|
||||||
|
Note: IPInfo.io has a free-plan rate limit of 1000 requests per day.
|
||||||
Source Code wtf/ipinfo/ Required ENV Variables None.
|
Source Code wtf/ipinfo/ Required ENV Variables None.
|
||||||
Keyboard Commands None.
|
Keyboard Commands None.
|
||||||
Configuration ipinfo:colors:name:redvalue:whiteenabled:trueposition:top:1left:2height:1width:1refreshInterval:15 Attributes colors.name The default colour for the row names. Values: Any X11 color name.
|
Configuration ipinfo:colors:name:redvalue:whiteenabled:trueposition:top:1left:2height:1width:1refreshInterval:150 Attributes colors.name The default colour for the row names. Values: Any X11 color name.
|
||||||
colors.value The default colour for the row values. Values: Any X11 color name.
|
colors.value The default colour for the row values. Values: Any X11 color name.
|
||||||
enabled Determines whether or not this module is executed and if its data displayed onscreen. Values: true, false.
|
enabled Determines whether or not this module is executed and if its data displayed onscreen.</description>
|
||||||
position Defines where in the grid this module&rsquo;s widget will be displayed.</description>
|
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
|
@ -115,6 +115,8 @@
|
|||||||
|
|
||||||
<p>Displays your current IP address information, from ipinfo.io.</p>
|
<p>Displays your current IP address information, from ipinfo.io.</p>
|
||||||
|
|
||||||
|
<p><strong>Note:</strong> IPInfo.io has a free-plan rate limit of 1000 requests per day.</p>
|
||||||
|
|
||||||
<p><img src="/imgs/modules/ipinfo.png" width="320" height="199" alt="ipinfo screenshot" /></p>
|
<p><img src="/imgs/modules/ipinfo.png" width="320" height="199" alt="ipinfo screenshot" /></p>
|
||||||
|
|
||||||
<h2 id="source-code">Source Code</h2>
|
<h2 id="source-code">Source Code</h2>
|
||||||
@ -138,7 +140,7 @@
|
|||||||
</span><span class="w"> </span>left<span class="p">:</span><span class="w"> </span><span class="m">2</span><span class="w">
|
</span><span class="w"> </span>left<span class="p">:</span><span class="w"> </span><span class="m">2</span><span class="w">
|
||||||
</span><span class="w"> </span>height<span class="p">:</span><span class="w"> </span><span class="m">1</span><span class="w">
|
</span><span class="w"> </span>height<span class="p">:</span><span class="w"> </span><span class="m">1</span><span class="w">
|
||||||
</span><span class="w"> </span>width<span class="p">:</span><span class="w"> </span><span class="m">1</span><span class="w">
|
</span><span class="w"> </span>width<span class="p">:</span><span class="w"> </span><span class="m">1</span><span class="w">
|
||||||
</span><span class="w"> </span>refreshInterval<span class="p">:</span><span class="w"> </span><span class="m">15</span></code></pre></div>
|
</span><span class="w"> </span>refreshInterval<span class="p">:</span><span class="w"> </span><span class="m">150</span></code></pre></div>
|
||||||
<h3 id="attributes">Attributes</h3>
|
<h3 id="attributes">Attributes</h3>
|
||||||
|
|
||||||
<p><code>colors.name</code> <br />
|
<p><code>colors.name</code> <br />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user