<div dir="ltr">did not understand where to specify the country?<br></div><div class="gmail_extra"><br><div class="gmail_quote">2018-03-05 14:46 GMT+03:00 Janos Zsako <span dir="ltr"><<a href="mailto:zsako@iszt.hu" target="_blank">zsako@iszt.hu</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear Sergey,<span class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
William, I'd like to see the same information given here: <a href="https://www.ripe.net/participate/internet-governance/internet-technical-community/the-rir-system/list-of-country-codes-and-rirs" rel="noreferrer" target="_blank">https://www.ripe.net/participa<wbr>te/internet-governance/<wbr>internet-technical-community/<wbr>the-rir-system/list-of-<wbr>country-codes-and-rirs</a>, but in a format one can parse.<br>
</blockquote>
<br></span>
Well, you _can_ parse the page easily, if you want. If you look at the source,<br>
you will find a table with all rows like this:<br>
<br>
<tr><br>
<td class="cc-grey">AFGHANISTAN</t<wbr>d><br>
<td class="cc-grey">AF</td><br>
<td class="cc-grey">AFG</td><br>
<td class="cc-grey">APNIC</td><br>
</tr><br>
<br>
It is pretty easy to write a small script (e.g. in awk) to put the data in<br>
your preferred format.<br>
<br>
Of course, the question remains whether the _content_ of the page is the one<br>
you were looking for.<br>
<br>
Another caveat is that the RIPE NCC may change the format of the page and<br>
then you may have to rewrite the script...<br>
<br>
I hope this helps.<br>
<br>
Best regards,<br>
Janos<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
On 03/05/2018 02:03 PM, <a href="mailto:w@william.co.il" target="_blank">w@william.co.il</a> wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
Ho do you define "corresponding"?<br>
Eg. A LOT of LIRs are incorporated in UK but do not use any space there, or even have any business there.<br>
I am not even incorporated in Europe, yet use all my space there.<br>
<br>
<br>
-- <br>
William<br>
<br>
<br>
On Mon, Mar 5, 2018 at 10:29, Sergey S. <<a href="mailto:gforgx@fotontel.ru" target="_blank">gforgx@fotontel.ru</a>> wrote:<br>
<br>
    Hi!<br>
<br>
    RIPE NCC publishes the list of countries and corresponding RIRs here:<br>
    <a href="https://www.ripe.net/participate/internet-governance/internet-technical-community/the-rir-system/list-of-country-codes-and-rirs" rel="noreferrer" target="_blank">https://www.ripe.net/participa<wbr>te/internet-governance/<wbr>internet-technical-community/<wbr>the-rir-system/list-of-<wbr>country-codes-and-rirs</a>.<br>
<br>
    Unfortunately, it's an HTML page and not a plain text/CSV/JSON/XML (or<br>
    any other format one can parse automatically). Does IANA (or any other<br>
    body) publish it this way? Actually, what would be the proper way to map<br>
    a country (or country code) to the respective RIR?<br>
<br>
    Thank you!<br>
<br>
    ______________________________<wbr>_________________<br>
    members-discuss mailing list<br></span>
    <a href="mailto:members-discuss@ripe.net" target="_blank">members-discuss@ripe.net</a> <mailto:<a href="mailto:members-discuss@ripe.net" target="_blank">members-discuss@ripe.n<wbr>et</a>><span class=""><br>
    <a href="https://lists.ripe.net/mailman/listinfo/members-discuss" rel="noreferrer" target="_blank">https://lists.ripe.net/mailman<wbr>/listinfo/members-discuss</a><br>
    Unsubscribe: <a href="https://lists.ripe.net/mailman/options/members-discuss/william%40william.si" rel="noreferrer" target="_blank">https://lists.ripe.net/mailman<wbr>/options/members-discuss/<wbr>william%40william.si</a><br>
<br>
</span></blockquote><span class="">
<br>
<br>
<br>
______________________________<wbr>_________________<br>
members-discuss mailing list<br>
<a href="mailto:members-discuss@ripe.net" target="_blank">members-discuss@ripe.net</a><br>
<a href="https://lists.ripe.net/mailman/listinfo/members-discuss" rel="noreferrer" target="_blank">https://lists.ripe.net/mailman<wbr>/listinfo/members-discuss</a><br></span>
Unsubscribe: <a href="https://lists.ripe.net/mailman/options/members-discuss/zsako%40iszt.hu" rel="noreferrer" target="_blank">https://lists.ripe.net/mailman<wbr>/options/members-discuss/<wbr>zsako%40iszt.hu</a><br>
<br>
</blockquote><span class="">
<br>
______________________________<wbr>_________________<br>
members-discuss mailing list<br>
<a href="mailto:members-discuss@ripe.net" target="_blank">members-discuss@ripe.net</a><br>
<a href="https://lists.ripe.net/mailman/listinfo/members-discuss" rel="noreferrer" target="_blank">https://lists.ripe.net/mailman<wbr>/listinfo/members-discuss</a><br></span>
Unsubscribe: <a href="https://lists.ripe.net/mailman/options/members-discuss/s.plakhotin%40gmail.com" rel="noreferrer" target="_blank">https://lists.ripe.net/mailman<wbr>/options/members-discuss/s.<wbr>plakhotin%40gmail.com</a><br>
</blockquote></div><br></div>