<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">And I thought of a few more:<div class=""><br class=""></div><div class="">Not sure what you would want to call this - something to pull the latest peers at an exchange with a date as a and public/private as parameters.  For example, you could pull the latest peers at an exchange, or group of exchanges in the last two weeks (or day, or month, or whatever) OR pull only the new private peers at an exchange added in the last week.</div><div class=""><br class=""></div><div class="">Probably have some other ideas that I’ll just keep adding.</div><div class=""><br class=""></div><div class="">-Anna<br class=""><div class=""><div><div><br class=""></div><br class=""><blockquote type="cite" class=""><div class="">On Jul 23, 2015, at 9:14 PM, Andy Linton <<a href="mailto:asjl@nsrc.org" class="">asjl@nsrc.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Yes please!<div class=""><br class=""></div><div class=""><br class=""></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Wed, Jul 22, 2015 at 10:25 AM, Anna Claiborne <span dir="ltr" class=""><<a href="mailto:anna.claiborne@gmail.com" target="_blank" class="">anna.claiborne@gmail.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello<br class="">
<br class="">
The new API, while nicely put together, is missing some easy to use end points for common tasks.  When the mysqldump file is finally deprecated, collecting this information would require getting all the data through multiple API calls and sorting/counting programmatically, rather than just a simple mysql query.  For ease of adoption, I’d like to suggest adding the following end points:<br class="">
<br class="">
countPeers - The count of peers at an exchange<br class="">
exchangePeers - All peers at a particular exchange.  A flag to include all their IP information would be great.<br class="">
peerExchanges - All exchanges a peer participates in.  Again, flag to include IP info.<br class="">
<br class="">
I’m sure there are more, but these are easy ones.<br class="">
<br class="">
-Anna<br class="">
_______________________________________________<br class="">
Pdb-tech mailing list<br class="">
<a href="mailto:Pdb-tech@lists.peeringdb.com" class="">Pdb-tech@lists.peeringdb.com</a><br class="">
<a href="http://lists.peeringdb.com/cgi-bin/mailman/listinfo/pdb-tech" rel="noreferrer" target="_blank" class="">http://lists.peeringdb.com/cgi-bin/mailman/listinfo/pdb-tech</a><br class="">
</blockquote></div><br class=""></div>
</div></blockquote></div><br class=""></div></div></body></html>