-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit d4de355
Showing
14 changed files
with
5,848 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 & 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">"https://ipapi.co/"</span></code> | ||
</dt> | ||
|
||
|
||
<dt class="entry-const" id="FIELDS"> | ||
<strong>FIELDS</strong> = <code>{<span class="s">"ip"</span> <span class="o">=></span> <span class="s">"public (external) IP address (same as URL `ip`)"</span>, <span class="s">"city"</span> <span class="o">=></span> <span class="s">"city name"</span>, <span class="s">"region"</span> <span class="o">=></span> <span class="s">"region name (administrative division)"</span>, <span class="s">"region_code"</span> <span class="o">=></span> <span class="s">"region code"</span>, <span class="s">"country"</span> <span class="o">=></span> <span class="s">"country code (2 letter, ISO 3166-1 alpha-2)"</span>, <span class="s">"country_code"</span> <span class="o">=></span> <span class="s">"country code (2 letter, ISO 3166-1 alpha-2)"</span>, <span class="s">"country_code_iso3"</span> <span class="o">=></span> <span class="s">"country code (3 letter, ISO 3166-1 alpha-3)"</span>, <span class="s">"country_name"</span> <span class="o">=></span> <span class="s">"short country name"</span>, <span class="s">"country_capital"</span> <span class="o">=></span> <span class="s">"capital of the country"</span>, <span class="s">"country_tld"</span> <span class="o">=></span> <span class="s">"country specific TLD (top-level domain)"</span>, <span class="s">"country_area"</span> <span class="o">=></span> <span class="s">"area of the country (in sq km)"</span>, <span class="s">"country_population"</span> <span class="o">=></span> <span class="s">"population of the country"</span>, <span class="s">"continent_code"</span> <span class="o">=></span> <span class="s">"country code (2 letter, ISO 3166-1 alpha-2)"</span>, <span class="s">"in_eu"</span> <span class="o">=></span> <span class="s">"whether IP address belongs to a country that is a member of the European Union (EU)"</span>, <span class="s">"postal"</span> <span class="o">=></span> <span class="s">"postal code / zip code"</span>, <span class="s">"latitude"</span> <span class="o">=></span> <span class="s">"latitude"</span>, <span class="s">"longitude"</span> <span class="o">=></span> <span class="s">"longitude"</span>, <span class="s">"latlong"</span> <span class="o">=></span> <span class="s">"comma separated latitude and longitude"</span>, <span class="s">"timezone"</span> <span class="o">=></span> <span class="s">"timezone (IANA format i.e. “Area/Location”)"</span>, <span class="s">"utc_offset"</span> <span class="o">=></span> <span class="s">"UTC offset (with daylight saving time) as `+HHMM` or `-HHMM` (`HH` is hours, `MM` is minutes)"</span>, <span class="s">"country_calling_code"</span> <span class="o">=></span> <span class="s">"country calling code (dial in code, comma separated)"</span>, <span class="s">"currency"</span> <span class="o">=></span> <span class="s">"currency code (ISO 4217)"</span>, <span class="s">"currency_name"</span> <span class="o">=></span> <span class="s">"currency name"</span>, <span class="s">"languages"</span> <span class="o">=></span> <span class="s">"languages spoken (comma separated 2 or 3 letter ISO 639 code with optional hyphen separated country suffix)"</span>, <span class="s">"asn"</span> <span class="o">=></span> <span class="s">"autonomous system number"</span>, <span class="s">"org"</span> <span class="o">=></span> <span class="s">"organization name"</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> |
Oops, something went wrong.