Skip to content

Commit

Permalink
Deploy to GitHub pages
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Jun 1, 2024
0 parents commit d4de355
Show file tree
Hide file tree
Showing 14 changed files with 5,848 additions and 0 deletions.
127 changes: 127 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.11.2">
<meta name="crystal_docs.project_version" content="0.3.0">
<meta name="crystal_docs.project_name" content="ipapi-crystal">



<link href="css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/doc.js"></script>

<meta name="repository-name" content="ipapi-crystal">
<title>ipapi-crystal 0.3.0</title>
<script type="text/javascript">
CrystalDocs.base_path = "";
</script>
</head>
<body>

<svg class="hidden">
<symbol id="octicon-link" viewBox="0 0 16 16">
<path fill="currentColor" fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path>
</symbol>
</svg>
<input type="checkbox" id="sidebar-btn">
<label for="sidebar-btn" id="sidebar-btn-label">
<svg class="open" xmlns="http://www.w3.org/2000/svg" height="2em" width="2em" viewBox="0 0 512 512"><title>Open Sidebar</title><path fill="currentColor" d="M80 96v64h352V96H80zm0 112v64h352v-64H80zm0 112v64h352v-64H80z"></path></svg>
<svg class="close" xmlns="http://www.w3.org/2000/svg" width="2em" height="2em" viewBox="0 0 512 512"><title>Close Sidebar</title><path fill="currentColor" d="m118.6 73.4-45.2 45.2L210.7 256 73.4 393.4l45.2 45.2L256 301.3l137.4 137.3 45.2-45.2L301.3 256l137.3-137.4-45.2-45.2L256 210.7Z"></path></svg>
</label>
<div class="sidebar">
<div class="sidebar-header">
<div class="search-box">
<input type="search" class="search-input" placeholder="Search..." spellcheck="false" aria-label="Search">
</div>

<div class="project-summary">
<h1 class="project-name">
<a href="index.html">
ipapi-crystal
</a>
</h1>

<span class="project-version">
0.3.0
</span>
</div>
</div>

<div class="search-results hidden">
<ul class="search-list"></ul>
</div>

<div class="types-list">
<ul>

<li class="parent " data-id="ipapi-crystal/Ipapi" data-name="ipapi">
<a href="Ipapi.html">Ipapi</a>

<ul>

<li class=" " data-id="ipapi-crystal/Ipapi/AuthorizationFailedException" data-name="ipapi::authorizationfailedexception">
<a href="Ipapi/AuthorizationFailedException.html">AuthorizationFailedException</a>

</li>

<li class=" " data-id="ipapi-crystal/Ipapi/Client" data-name="ipapi::client">
<a href="Ipapi/Client.html">Client</a>

</li>

<li class=" " data-id="ipapi-crystal/Ipapi/Error" data-name="ipapi::error">
<a href="Ipapi/Error.html">Error</a>

</li>

<li class=" " data-id="ipapi-crystal/Ipapi/ErrorResponse" data-name="ipapi::errorresponse">
<a href="Ipapi/ErrorResponse.html">ErrorResponse</a>

</li>

<li class=" " data-id="ipapi-crystal/Ipapi/Location" data-name="ipapi::location">
<a href="Ipapi/Location.html">Location</a>

</li>

<li class=" " data-id="ipapi-crystal/Ipapi/PageNotFoundException" data-name="ipapi::pagenotfoundexception">
<a href="Ipapi/PageNotFoundException.html">PageNotFoundException</a>

</li>

<li class=" " data-id="ipapi-crystal/Ipapi/RateLimitedException" data-name="ipapi::ratelimitedexception">
<a href="Ipapi/RateLimitedException.html">RateLimitedException</a>

</li>

</ul>


</li>

</ul>

</div>
</div>


<div class="main-content">
<h1 class="type-name">
404 Not Found
</h1>

<p>
This page is unavailable in this version of the API docs.
</p>

<p>
You can use the sidebar to search for your page, or try a different
Crystal version.
</p>

</div>
</body>
</html>
222 changes: 222 additions & 0 deletions Ipapi.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,222 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.11.2">
<meta name="crystal_docs.project_version" content="0.3.0">
<meta name="crystal_docs.project_name" content="ipapi-crystal">



<link href="css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/doc.js"></script>

<meta name="repository-name" content="ipapi-crystal">
<title>Ipapi - ipapi-crystal 0.3.0</title>
<script type="text/javascript">
CrystalDocs.base_path = "";
</script>
</head>
<body>

<svg class="hidden">
<symbol id="octicon-link" viewBox="0 0 16 16">
<path fill="currentColor" fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path>
</symbol>
</svg>
<input type="checkbox" id="sidebar-btn">
<label for="sidebar-btn" id="sidebar-btn-label">
<svg class="open" xmlns="http://www.w3.org/2000/svg" height="2em" width="2em" viewBox="0 0 512 512"><title>Open Sidebar</title><path fill="currentColor" d="M80 96v64h352V96H80zm0 112v64h352v-64H80zm0 112v64h352v-64H80z"></path></svg>
<svg class="close" xmlns="http://www.w3.org/2000/svg" width="2em" height="2em" viewBox="0 0 512 512"><title>Close Sidebar</title><path fill="currentColor" d="m118.6 73.4-45.2 45.2L210.7 256 73.4 393.4l45.2 45.2L256 301.3l137.4 137.3 45.2-45.2L301.3 256l137.3-137.4-45.2-45.2L256 210.7Z"></path></svg>
</label>
<div class="sidebar">
<div class="sidebar-header">
<div class="search-box">
<input type="search" class="search-input" placeholder="Search..." spellcheck="false" aria-label="Search">
</div>

<div class="project-summary">
<h1 class="project-name">
<a href="index.html">
ipapi-crystal
</a>
</h1>

<span class="project-version">
0.3.0
</span>
</div>
</div>

<div class="search-results hidden">
<ul class="search-list"></ul>
</div>

<div class="types-list">
<ul>

<li class="parent open current" data-id="ipapi-crystal/Ipapi" data-name="ipapi">
<a href="Ipapi.html">Ipapi</a>

<ul>

<li class=" " data-id="ipapi-crystal/Ipapi/AuthorizationFailedException" data-name="ipapi::authorizationfailedexception">
<a href="Ipapi/AuthorizationFailedException.html">AuthorizationFailedException</a>

</li>

<li class=" " data-id="ipapi-crystal/Ipapi/Client" data-name="ipapi::client">
<a href="Ipapi/Client.html">Client</a>

</li>

<li class=" " data-id="ipapi-crystal/Ipapi/Error" data-name="ipapi::error">
<a href="Ipapi/Error.html">Error</a>

</li>

<li class=" " data-id="ipapi-crystal/Ipapi/ErrorResponse" data-name="ipapi::errorresponse">
<a href="Ipapi/ErrorResponse.html">ErrorResponse</a>

</li>

<li class=" " data-id="ipapi-crystal/Ipapi/Location" data-name="ipapi::location">
<a href="Ipapi/Location.html">Location</a>

</li>

<li class=" " data-id="ipapi-crystal/Ipapi/PageNotFoundException" data-name="ipapi::pagenotfoundexception">
<a href="Ipapi/PageNotFoundException.html">PageNotFoundException</a>

</li>

<li class=" " data-id="ipapi-crystal/Ipapi/RateLimitedException" data-name="ipapi::ratelimitedexception">
<a href="Ipapi/RateLimitedException.html">RateLimitedException</a>

</li>

</ul>


</li>

</ul>

</div>
</div>


<div class="main-content">
<h1 class="type-name">

<span class="kind">module</span> Ipapi

</h1>





<h2>
<a id="overview" class="anchor" href="#overview">
<svg class="octicon-link" aria-hidden="true">
<use href="#octicon-link"/>
</svg>
</a>
Overview
</h2>

<p>Crystal bindings for https://ipapi.co (IP Address Location &amp; Geolocation API)</p>
<p>API Docs : https://ipapi.co/api/</p>














<h2>
<a id="defined-in" class="anchor" href="#defined-in">
<svg class="octicon-link" aria-hidden="true">
<use href="#octicon-link"/>
</svg>
</a>
Defined in:
</h2>


ipapi.cr

<br/>





<h2>
<a id="constant-summary" class="anchor" href="#constant-summary">
<svg class="octicon-link" aria-hidden="true">
<use href="#octicon-link"/>
</svg>
</a>
Constant Summary
</h2>

<dl>

<dt class="entry-const" id="API_URL">
<strong>API_URL</strong> = <code><span class="s">&quot;https://ipapi.co/&quot;</span></code>
</dt>


<dt class="entry-const" id="FIELDS">
<strong>FIELDS</strong> = <code>{<span class="s">&quot;ip&quot;</span> <span class="o">=&gt;</span> <span class="s">&quot;public (external) IP address (same as URL `ip`)&quot;</span>, <span class="s">&quot;city&quot;</span> <span class="o">=&gt;</span> <span class="s">&quot;city name&quot;</span>, <span class="s">&quot;region&quot;</span> <span class="o">=&gt;</span> <span class="s">&quot;region name (administrative division)&quot;</span>, <span class="s">&quot;region_code&quot;</span> <span class="o">=&gt;</span> <span class="s">&quot;region code&quot;</span>, <span class="s">&quot;country&quot;</span> <span class="o">=&gt;</span> <span class="s">&quot;country code (2 letter, ISO 3166-1 alpha-2)&quot;</span>, <span class="s">&quot;country_code&quot;</span> <span class="o">=&gt;</span> <span class="s">&quot;country code (2 letter, ISO 3166-1 alpha-2)&quot;</span>, <span class="s">&quot;country_code_iso3&quot;</span> <span class="o">=&gt;</span> <span class="s">&quot;country code (3 letter, ISO 3166-1 alpha-3)&quot;</span>, <span class="s">&quot;country_name&quot;</span> <span class="o">=&gt;</span> <span class="s">&quot;short country name&quot;</span>, <span class="s">&quot;country_capital&quot;</span> <span class="o">=&gt;</span> <span class="s">&quot;capital of the country&quot;</span>, <span class="s">&quot;country_tld&quot;</span> <span class="o">=&gt;</span> <span class="s">&quot;country specific TLD (top-level domain)&quot;</span>, <span class="s">&quot;country_area&quot;</span> <span class="o">=&gt;</span> <span class="s">&quot;area of the country (in sq km)&quot;</span>, <span class="s">&quot;country_population&quot;</span> <span class="o">=&gt;</span> <span class="s">&quot;population of the country&quot;</span>, <span class="s">&quot;continent_code&quot;</span> <span class="o">=&gt;</span> <span class="s">&quot;country code (2 letter, ISO 3166-1 alpha-2)&quot;</span>, <span class="s">&quot;in_eu&quot;</span> <span class="o">=&gt;</span> <span class="s">&quot;whether IP address belongs to a country that is a member of the European Union (EU)&quot;</span>, <span class="s">&quot;postal&quot;</span> <span class="o">=&gt;</span> <span class="s">&quot;postal code / zip code&quot;</span>, <span class="s">&quot;latitude&quot;</span> <span class="o">=&gt;</span> <span class="s">&quot;latitude&quot;</span>, <span class="s">&quot;longitude&quot;</span> <span class="o">=&gt;</span> <span class="s">&quot;longitude&quot;</span>, <span class="s">&quot;latlong&quot;</span> <span class="o">=&gt;</span> <span class="s">&quot;comma separated latitude and longitude&quot;</span>, <span class="s">&quot;timezone&quot;</span> <span class="o">=&gt;</span> <span class="s">&quot;timezone (IANA format i.e. “Area/Location”)&quot;</span>, <span class="s">&quot;utc_offset&quot;</span> <span class="o">=&gt;</span> <span class="s">&quot;UTC offset (with daylight saving time) as `+HHMM` or `-HHMM` (`HH` is hours, `MM` is minutes)&quot;</span>, <span class="s">&quot;country_calling_code&quot;</span> <span class="o">=&gt;</span> <span class="s">&quot;country calling code (dial in code, comma separated)&quot;</span>, <span class="s">&quot;currency&quot;</span> <span class="o">=&gt;</span> <span class="s">&quot;currency code (ISO 4217)&quot;</span>, <span class="s">&quot;currency_name&quot;</span> <span class="o">=&gt;</span> <span class="s">&quot;currency name&quot;</span>, <span class="s">&quot;languages&quot;</span> <span class="o">=&gt;</span> <span class="s">&quot;languages spoken (comma separated 2 or 3 letter ISO 639 code with optional hyphen separated country suffix)&quot;</span>, <span class="s">&quot;asn&quot;</span> <span class="o">=&gt;</span> <span class="s">&quot;autonomous system number&quot;</span>, <span class="s">&quot;org&quot;</span> <span class="o">=&gt;</span> <span class="s">&quot;organization name&quot;</span>}</code>
</dt>

<dd class="entry-const-doc">
<p>https://ipapi.co/api/#specific-location-field</p>
</dd>


<dt class="entry-const" id="VERSION">
<strong>VERSION</strong> = <code><span class="o">{{</span> (<span class="s">`shards version /__w/ipapi-crystal/ipapi-crystal/src`</span>).chomp.stringify }}</code>
</dt>


</dl>











<div class="methods-inherited">

</div>









</div>

</body>
</html>
Loading

0 comments on commit d4de355

Please sign in to comment.