[arin-tech-discuss] How to extract specific information from RDAP

Andy Newton andy at arin.net
Mon Feb 12 21:10:17 EST 2018


Hi Martin,


I have pushed 1.4.1 of the NicInfo gem which I believes fixes the --json and --jv features.

Please let me know if you have any further issues or questions.

Thanks for your input.

-andy




?

________________________________
From: Martin Arlitt <martin.arlitt at gmail.com>
Sent: Monday, February 12, 2018 5:58 PM
To: Andy Newton
Cc: arin-tech-discuss at arin.net
Subject: Re: [arin-tech-discuss] How to extract specific information from RDAP

Hi Andy

Thanks for the detailed reply. I look forward to hearing from you when you have an update on either topic.

Thanks
Martin

On Mon, Feb 12, 2018 at 1:27 PM Andy Newton <andy at arin.net<mailto:andy at arin.net>> wrote:

Hi Martin,


It would appear that the --json and --jv options have a bug where they output in Ruby form and not JSON.

I put a bug in the issue tracker to note this: https://github.com/arineng/nicinfo/issues/32

The fix is probably simple, and I'll dig into it as soon as I am able.

With regard to a delimited file with a set of fields, I am currently in the process of adding new features that might accomplish what you are after. However, it has required refactoring of a great deal of the code and the progress is a bit slow. I'll keep you apprised of the progress.

Thanks
Andy Newton,
Chief Engineer, ARIN






________________________________
From: arin-tech-discuss <arin-tech-discuss-bounces at arin.net<mailto:arin-tech-discuss-bounces at arin.net>> on behalf of Martin Arlitt <martin.arlitt at gmail.com<mailto:martin.arlitt at gmail.com>>
Sent: Monday, February 12, 2018 9:40 AM
To: arin-tech-discuss at arin.net<mailto:arin-tech-discuss at arin.net>
Subject: [arin-tech-discuss] How to extract specific information from RDAP

Hi

I would like to extract some specific information about IP address allocations (e.g., startAddress, endAddress, handle, organization name, organization contact, last update date) in a systematic way. If I use nicinfo manually, I usually see the information I want. When I try to retrieve the same information ifrom nicinfo's JSON format or via nicinfo's  --jv options, I'm running into a variety of problems. I expect I'm doing something wrong. If anyone could offer any tips on how to a) determine the most common fields in RDAP records for IP address range allocations (including the corresponding organization information)  and b) how to most efficiently produce a delimited file of selected fields from a set of RDAP queries I would really appreciate it.

Thanks
Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.arin.net/pipermail/arin-tech-discuss/attachments/20180213/c960499b/attachment.html>


More information about the arin-tech-discuss mailing list