Incentive voting report will show you an XML format list with information on which of your voters successfully voted.
report1 will flag each vote you fetch as "already-fetched" and will never be re-fetched through the report1 script again. (ONLY report1 will never re-fetch the same results again.)
report2 will fetch all successfully voting ip-addresses the last 30 days with a limit of 1000 votes per page.
ONLY report2 can filter the results you want to fetch, you can combine the different filters as you wish!
Just add the filters to the end of the url.
Example: report2?siteid=YOUSITEIDNUMBER&pass=YOURPASSWORD&date=2020-01-01&pingusername=xxx
- &newest=1 This will fetch votes ordered by most recent first.
- &page=X Change X to a page number to fetch next page of votes (if you have over 1000 results).
- &pingusername=X Change X to a specific pingusername and you will fetch only votes from that specific user(Case sensitive).
- &ip=X Change X to a specific ip-address and you will fetch only votes from that specific ip-address.
- &date=X Change X to a specific date (must be "Y-m-d" format, example: &date=2020-01-01).
Replace "YOUSITEIDNUMBER" with your gtop100 account site-id number and "YOURPASSWORD" with your gtop100 account password.
You can also change from report1 to report2 if you want to filter search results.
Below is an example code using PHP:
<?php
$xml = simplexml_load_file(
"https://gtop100.com/home/report1?siteid=ID&pass=PASSWORD"
);
if ($xml->errorcode == 0) {
$cnt = count($xml->entries->entry);
for ($i = 0; $i < $cnt; $i++) {
print($xml->entries->entry[$i]->uniqueid);
print(" - ");
print($xml->entries->entry[$i]->ip);
print(" - ");
print($xml->entries->entry[$i]->time);
print(" - ");
print($xml->entries->entry[$i]->pingusername);
print("<br>");
}
} else {
print($xml->errormessage);
}
print("<br>");
?>