[PDB-tech] CLI client for access to PDB data?
Hi all, In the past, PeeringDB offered a textual interface to the PDB data through finger/whois. Multiple people (from as many companies) have approach me that they miss that approach and argued that the internet is more then a collection of websites. Most seem to depend having access to the contact information (which we do not expose without authentication) - but they also don't want to run a local mirror of the database: they want it lightweight and easy. My question: has anyone started work on a CLI based client which interacts with the hosted API on peeringdb.com/api, has no or very few dependencies, and authenticates itself? The only relevant lookup key is the AS number. Kind regards, Job
On 18 March 2016 at 09:50, Job Snijders <job@instituut.net> wrote:
My question: has anyone started work on a CLI based client which interacts with the hosted API on peeringdb.com/api, has no or very few dependencies, and authenticates itself? The only relevant lookup key is the AS number.
I wrote an internal tool, yes. It's just bash and jq -- but obviously the "jq" part is a non-standard dependency. If no-one else steps forward, I'm happy to help develop something without external dependencies.
On Fri, Mar 18, 2016 at 12:16:08PM +0000, Matthew Walster wrote:
On 18 March 2016 at 09:50, Job Snijders <job@instituut.net> wrote:
My question: has anyone started work on a CLI based client which interacts with the hosted API on peeringdb.com/api, has no or very few dependencies, and authenticates itself? The only relevant lookup key is the AS number.
I wrote an internal tool, yes. It's just bash and jq -- but obviously the "jq" part is a non-standard dependency.
If no-one else steps forward, I'm happy to help develop something without external dependencies.
My aim is a tool which is very easy to install for end-users and for instance only depends on standard python 2.7 libs. Just like finger/whois were maintenance-free easy CLI tools to pull data out of PDB Kind regards, Job
* Job Snijders <job@instituut.net> [160318 13:21 +0100]:
On Fri, Mar 18, 2016 at 12:16:08PM +0000, Matthew Walster wrote:
On 18 March 2016 at 09:50, Job Snijders <job@instituut.net> wrote:
My question: has anyone started work on a CLI based client which interacts with the hosted API on peeringdb.com/api, has no or very few dependencies, and authenticates itself? The only relevant lookup key is the AS number.
I wrote an internal tool, yes. It's just bash and jq -- but obviously the "jq" part is a non-standard dependency.
If no-one else steps forward, I'm happy to help develop something without external dependencies.
My aim is a tool which is very easy to install for end-users and for instance only depends on standard python 2.7 libs. Just like finger/whois were maintenance-free easy CLI tools to pull data out of PDB The python cli is mostly like that, if you don't install the sync.
That said, I expected to have the whois server back up by now, still hope to by end of the weekend.
participants (3)
-
Job Snijders -
Matt Griswold -
Matthew Walster