Difference between revisions of "Public APIs"

From "PTTLink Wiki"
Jump to navigation Jump to search
(Created initial page)
 
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
 
This is a list of our APIs for users to retrieve node information, stats, and other live data from PTTLink. If you wish to inquire about these, please contact [mailto:helpdesk@pttlink.org helpdesk@pttlink.org].
 
This is a list of our APIs for users to retrieve node information, stats, and other live data from PTTLink. If you wish to inquire about these, please contact [mailto:helpdesk@pttlink.org helpdesk@pttlink.org].
  
By using this data for public consumption you agree to credit PTTLink© on your website or published documentation.  
+
By using this data for public consumption you agree to credit PTTLink© on your website or published documentation.
 +
 
 +
== Policy ==
 +
'''Use of these systems is governed by the [[PTTLink Data Use Policy]] and you agree to abide by it through your use of any of the systems listed below.'''
  
 
== APIs ==
 
== APIs ==
Line 12: Line 15:
 
|-
 
|-
 
| http://stats.pttlink.org/nodeinfo.cgi?node=2000  
 
| http://stats.pttlink.org/nodeinfo.cgi?node=2000  
| Individual reporting node. Rate limited to 30 requests per minute.
+
| Individual reporting node. Rate limited to 30 requests per minute.
 
|-
 
|-
| https://nodes1.pttlink.org/cgi-bin/nodes.pl
+
| http://nodes1.pttlink.org/cgi-bin/nodes.pl
| Registered nodelist
+
| Registered nodelist. Note: (https also available)
 
|-
 
|-
| https://nodes2.pttlink.org/cgi-bin/nodes.pl
+
| http://nodes2.pttlink.org/cgi-bin/nodes.pl
| Registered nodelist
+
| Registered nodelist. Note: (https also available)
 
|-
 
|-
| https://nodes3.pttlink.org/cgi-bin/nodes.pl
+
| http://nodes3.pttlink.org/cgi-bin/nodes.pl
| Registered nodelist
+
| Registered nodelist. Note: (https also available)
 
|-
 
|-
| https://nodes4.pttlink.org/cgi-bin/nodes.pl
+
| http://nodes4.pttlink.org/cgi-bin/nodes.pl
| Registered nodelist
+
| Registered nodelist. Note: (https also available)
 
|-
 
|-
 
| https://register.pttlink.org/allmondb.php  
 
| https://register.pttlink.org/allmondb.php  
| For Allmon2 and Supermon. Please fetch no more than once a day.   
+
| For Allmon2 and Supermon. Please fetch no more than once a day.   
 
|-
 
|-
 
|}
 
|}

Latest revision as of 20:58, 27 January 2022

This is a list of our APIs for users to retrieve node information, stats, and other live data from PTTLink. If you wish to inquire about these, please contact helpdesk@pttlink.org.

By using this data for public consumption you agree to credit PTTLink© on your website or published documentation.

Policy

Use of these systems is governed by the PTTLink Data Use Policy and you agree to abide by it through your use of any of the systems listed below.

APIs

Node Description
http://stats.pttlink.org Listing of all reporting nodes
http://stats.pttlink.org/nodeinfo.cgi?node=2000 Individual reporting node. Rate limited to 30 requests per minute.
http://nodes1.pttlink.org/cgi-bin/nodes.pl Registered nodelist. Note: (https also available)
http://nodes2.pttlink.org/cgi-bin/nodes.pl Registered nodelist. Note: (https also available)
http://nodes3.pttlink.org/cgi-bin/nodes.pl Registered nodelist. Note: (https also available)
http://nodes4.pttlink.org/cgi-bin/nodes.pl Registered nodelist. Note: (https also available)
https://register.pttlink.org/allmondb.php For Allmon2 and Supermon. Please fetch no more than once a day.

IP Lookup

Examples for node 2000.

nslookup 2000.nodes.pttlink.org
dig 2000.nodes.pttlink.org
dig txt 2000.nodes.pttlink.org

Nodes must be registered with register.pttlink.org to provide IP address information.

Nodes must be reporting to stats.pttlink.org to provide status information.